diff --git a/package-lock.json b/package-lock.json index 8a66352ca73..aea8d6a3adf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2210,9 +2210,9 @@ } }, "node_modules/@typespec/http-client-csharp": { - "version": "0.1.9-alpha.20241016.4", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20241016.4.tgz", - "integrity": "sha512-X3XQV64zUWh6TnwLNyuBrn1PYtJQ+DPDlhyop0uVvIqRjrkEpdOfBP2IKZnge8uN0Z3ym4umzmM2DmhlOPwcgg==", + "version": "0.1.9-alpha.20241104.2", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20241104.2.tgz", + "integrity": "sha512-gG5EMqI0Oufu2VIgKkFjzxd8RXSgyPtQ4tPNpbIiDtwzDgjrHJPer+EOJMBOlhP9H9o4WX0SdeTIlNYhePhJmw==", "dev": true, "license": "MIT", "dependencies": { @@ -7778,7 +7778,7 @@ "license": "MIT", "dependencies": { "@autorest/csharp": "3.0.0-beta.20240625.4", - "@typespec/http-client-csharp": "0.1.9-alpha.20241016.4", + "@typespec/http-client-csharp": "0.1.9-alpha.20241104.2", "json-serialize-refs": "0.1.0-0" }, "devDependencies": { @@ -8093,7 +8093,7 @@ "@types/prettier": "^2.6.3", "@typespec/compiler": "0.61.2", "@typespec/http": "0.61.0", - "@typespec/http-client-csharp": "0.1.9-alpha.20241016.4", + "@typespec/http-client-csharp": "0.1.9-alpha.20241104.2", "@typespec/json-schema": "0.61.0", "@typespec/library-linter": "0.61.0", "@typespec/openapi": "0.61.0", @@ -9285,9 +9285,9 @@ "requires": {} }, "@typespec/http-client-csharp": { - "version": "0.1.9-alpha.20241016.4", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20241016.4.tgz", - "integrity": "sha512-X3XQV64zUWh6TnwLNyuBrn1PYtJQ+DPDlhyop0uVvIqRjrkEpdOfBP2IKZnge8uN0Z3ym4umzmM2DmhlOPwcgg==", + "version": "0.1.9-alpha.20241104.2", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20241104.2.tgz", + "integrity": "sha512-gG5EMqI0Oufu2VIgKkFjzxd8RXSgyPtQ4tPNpbIiDtwzDgjrHJPer+EOJMBOlhP9H9o4WX0SdeTIlNYhePhJmw==", "dev": true, "requires": { "json-serialize-refs": "0.1.0-0" diff --git a/samples/AnomalyDetector/tspCodeModel.json b/samples/AnomalyDetector/tspCodeModel.json index 8ebfccf7bbf..98ec4375aee 100644 --- a/samples/AnomalyDetector/tspCodeModel.json +++ b/samples/AnomalyDetector/tspCodeModel.json @@ -3571,63 +3571,14 @@ "Parameters": [ { "$id": "364", - "Name": "Endpoint", - "NameInRequest": "Endpoint", - "Description": "Supported Cognitive Services endpoints (protocol and hostname, for example:\nhttps://westus2.api.cognitive.microsoft.com).", - "Type": { - "$id": "365", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "366", - "Name": "ApiVersion", - "NameInRequest": "ApiVersion", - "Description": "Api Version", - "Type": { - "$ref": "104" - }, - "Location": "Uri", - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "367", - "Type": { - "$id": "368", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "v1.1" - } - }, - { - "$id": "369", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "370", + "$id": "365", "kind": "constant", "valueType": { - "$id": "371", + "$id": "366", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3647,14 +3598,14 @@ "SkipUrlEncoding": false }, { - "$id": "372", + "$id": "367", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "373", + "$id": "368", "kind": "constant", "valueType": { - "$id": "374", + "$id": "369", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3674,7 +3625,7 @@ "SkipUrlEncoding": false }, { - "$id": "375", + "$id": "370", "Name": "options", "NameInRequest": "options", "Description": "Method of univariate anomaly detection.", @@ -3694,7 +3645,7 @@ ], "Responses": [ { - "$id": "376", + "$id": "371", "StatusCodes": [ 200 ], @@ -3723,56 +3674,56 @@ "Decorators": [], "Examples": [ { - "$id": "377", + "$id": "372", "kind": "http", "name": "Univariate detect entire series", "description": "Univariate detect entire series", "filePath": "v1.1/EntireDetect.json", "parameters": [ { - "$id": "378", + "$id": "373", "parameter": { - "$ref": "369" + "$ref": "364" }, "value": { - "$id": "379", + "$id": "374", "kind": "string", "type": { - "$ref": "370" + "$ref": "365" }, "value": "application/json" } }, { - "$id": "380", + "$id": "375", "parameter": { - "$ref": "375" + "$ref": "370" }, "value": { - "$id": "381", + "$id": "376", "kind": "model", "type": { "$ref": "261" }, "value": { - "$id": "382", + "$id": "377", "series": { - "$id": "383", + "$id": "378", "kind": "array", "type": { "$ref": "263" }, "value": [ { - "$id": "384", + "$id": "379", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "385", + "$id": "380", "timestamp": { - "$id": "386", + "$id": "381", "kind": "string", "type": { "$ref": "266" @@ -3780,7 +3731,7 @@ "value": "1972-01-01T00:00:00Z" }, "value": { - "$id": "387", + "$id": "382", "kind": "number", "type": { "$ref": "269" @@ -3790,15 +3741,15 @@ } }, { - "$id": "388", + "$id": "383", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "389", + "$id": "384", "timestamp": { - "$id": "390", + "$id": "385", "kind": "string", "type": { "$ref": "266" @@ -3806,7 +3757,7 @@ "value": "1972-02-01T00:00:00Z" }, "value": { - "$id": "391", + "$id": "386", "kind": "number", "type": { "$ref": "269" @@ -3816,15 +3767,15 @@ } }, { - "$id": "392", + "$id": "387", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "393", + "$id": "388", "timestamp": { - "$id": "394", + "$id": "389", "kind": "string", "type": { "$ref": "266" @@ -3832,7 +3783,7 @@ "value": "1972-03-01T00:00:00Z" }, "value": { - "$id": "395", + "$id": "390", "kind": "number", "type": { "$ref": "269" @@ -3842,15 +3793,15 @@ } }, { - "$id": "396", + "$id": "391", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "397", + "$id": "392", "timestamp": { - "$id": "398", + "$id": "393", "kind": "string", "type": { "$ref": "266" @@ -3858,7 +3809,7 @@ "value": "1972-04-01T00:00:00Z" }, "value": { - "$id": "399", + "$id": "394", "kind": "number", "type": { "$ref": "269" @@ -3868,15 +3819,15 @@ } }, { - "$id": "400", + "$id": "395", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "401", + "$id": "396", "timestamp": { - "$id": "402", + "$id": "397", "kind": "string", "type": { "$ref": "266" @@ -3884,7 +3835,7 @@ "value": "1972-05-01T00:00:00Z" }, "value": { - "$id": "403", + "$id": "398", "kind": "number", "type": { "$ref": "269" @@ -3894,15 +3845,15 @@ } }, { - "$id": "404", + "$id": "399", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "405", + "$id": "400", "timestamp": { - "$id": "406", + "$id": "401", "kind": "string", "type": { "$ref": "266" @@ -3910,7 +3861,7 @@ "value": "1972-06-01T00:00:00Z" }, "value": { - "$id": "407", + "$id": "402", "kind": "number", "type": { "$ref": "269" @@ -3920,15 +3871,15 @@ } }, { - "$id": "408", + "$id": "403", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "409", + "$id": "404", "timestamp": { - "$id": "410", + "$id": "405", "kind": "string", "type": { "$ref": "266" @@ -3936,7 +3887,7 @@ "value": "1972-07-01T00:00:00Z" }, "value": { - "$id": "411", + "$id": "406", "kind": "number", "type": { "$ref": "269" @@ -3946,15 +3897,15 @@ } }, { - "$id": "412", + "$id": "407", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "413", + "$id": "408", "timestamp": { - "$id": "414", + "$id": "409", "kind": "string", "type": { "$ref": "266" @@ -3962,7 +3913,7 @@ "value": "1972-08-01T00:00:00Z" }, "value": { - "$id": "415", + "$id": "410", "kind": "number", "type": { "$ref": "269" @@ -3972,15 +3923,15 @@ } }, { - "$id": "416", + "$id": "411", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "417", + "$id": "412", "timestamp": { - "$id": "418", + "$id": "413", "kind": "string", "type": { "$ref": "266" @@ -3988,7 +3939,7 @@ "value": "1972-09-01T00:00:00Z" }, "value": { - "$id": "419", + "$id": "414", "kind": "number", "type": { "$ref": "269" @@ -3998,15 +3949,15 @@ } }, { - "$id": "420", + "$id": "415", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "421", + "$id": "416", "timestamp": { - "$id": "422", + "$id": "417", "kind": "string", "type": { "$ref": "266" @@ -4014,7 +3965,7 @@ "value": "1972-10-01T00:00:00Z" }, "value": { - "$id": "423", + "$id": "418", "kind": "number", "type": { "$ref": "269" @@ -4024,15 +3975,15 @@ } }, { - "$id": "424", + "$id": "419", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "425", + "$id": "420", "timestamp": { - "$id": "426", + "$id": "421", "kind": "string", "type": { "$ref": "266" @@ -4040,7 +3991,7 @@ "value": "1972-11-01T00:00:00Z" }, "value": { - "$id": "427", + "$id": "422", "kind": "number", "type": { "$ref": "269" @@ -4050,15 +4001,15 @@ } }, { - "$id": "428", + "$id": "423", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "429", + "$id": "424", "timestamp": { - "$id": "430", + "$id": "425", "kind": "string", "type": { "$ref": "266" @@ -4066,7 +4017,7 @@ "value": "1972-12-01T00:00:00Z" }, "value": { - "$id": "431", + "$id": "426", "kind": "number", "type": { "$ref": "269" @@ -4076,15 +4027,15 @@ } }, { - "$id": "432", + "$id": "427", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "433", + "$id": "428", "timestamp": { - "$id": "434", + "$id": "429", "kind": "string", "type": { "$ref": "266" @@ -4092,7 +4043,7 @@ "value": "1973-01-01T00:00:00Z" }, "value": { - "$id": "435", + "$id": "430", "kind": "number", "type": { "$ref": "269" @@ -4102,15 +4053,15 @@ } }, { - "$id": "436", + "$id": "431", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "437", + "$id": "432", "timestamp": { - "$id": "438", + "$id": "433", "kind": "string", "type": { "$ref": "266" @@ -4118,7 +4069,7 @@ "value": "1973-02-01T00:00:00Z" }, "value": { - "$id": "439", + "$id": "434", "kind": "number", "type": { "$ref": "269" @@ -4128,15 +4079,15 @@ } }, { - "$id": "440", + "$id": "435", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "441", + "$id": "436", "timestamp": { - "$id": "442", + "$id": "437", "kind": "string", "type": { "$ref": "266" @@ -4144,7 +4095,7 @@ "value": "1973-03-01T00:00:00Z" }, "value": { - "$id": "443", + "$id": "438", "kind": "number", "type": { "$ref": "269" @@ -4154,15 +4105,15 @@ } }, { - "$id": "444", + "$id": "439", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "445", + "$id": "440", "timestamp": { - "$id": "446", + "$id": "441", "kind": "string", "type": { "$ref": "266" @@ -4170,7 +4121,7 @@ "value": "1973-04-01T00:00:00Z" }, "value": { - "$id": "447", + "$id": "442", "kind": "number", "type": { "$ref": "269" @@ -4180,15 +4131,15 @@ } }, { - "$id": "448", + "$id": "443", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "449", + "$id": "444", "timestamp": { - "$id": "450", + "$id": "445", "kind": "string", "type": { "$ref": "266" @@ -4196,7 +4147,7 @@ "value": "1973-05-01T00:00:00Z" }, "value": { - "$id": "451", + "$id": "446", "kind": "number", "type": { "$ref": "269" @@ -4206,15 +4157,15 @@ } }, { - "$id": "452", + "$id": "447", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "453", + "$id": "448", "timestamp": { - "$id": "454", + "$id": "449", "kind": "string", "type": { "$ref": "266" @@ -4222,7 +4173,7 @@ "value": "1973-06-01T00:00:00Z" }, "value": { - "$id": "455", + "$id": "450", "kind": "number", "type": { "$ref": "269" @@ -4232,15 +4183,15 @@ } }, { - "$id": "456", + "$id": "451", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "457", + "$id": "452", "timestamp": { - "$id": "458", + "$id": "453", "kind": "string", "type": { "$ref": "266" @@ -4248,7 +4199,7 @@ "value": "1973-07-01T00:00:00Z" }, "value": { - "$id": "459", + "$id": "454", "kind": "number", "type": { "$ref": "269" @@ -4258,15 +4209,15 @@ } }, { - "$id": "460", + "$id": "455", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "461", + "$id": "456", "timestamp": { - "$id": "462", + "$id": "457", "kind": "string", "type": { "$ref": "266" @@ -4274,7 +4225,7 @@ "value": "1973-08-01T00:00:00Z" }, "value": { - "$id": "463", + "$id": "458", "kind": "number", "type": { "$ref": "269" @@ -4284,15 +4235,15 @@ } }, { - "$id": "464", + "$id": "459", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "465", + "$id": "460", "timestamp": { - "$id": "466", + "$id": "461", "kind": "string", "type": { "$ref": "266" @@ -4300,7 +4251,7 @@ "value": "1973-09-01T00:00:00Z" }, "value": { - "$id": "467", + "$id": "462", "kind": "number", "type": { "$ref": "269" @@ -4310,15 +4261,15 @@ } }, { - "$id": "468", + "$id": "463", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "469", + "$id": "464", "timestamp": { - "$id": "470", + "$id": "465", "kind": "string", "type": { "$ref": "266" @@ -4326,7 +4277,7 @@ "value": "1973-10-01T00:00:00Z" }, "value": { - "$id": "471", + "$id": "466", "kind": "number", "type": { "$ref": "269" @@ -4336,15 +4287,15 @@ } }, { - "$id": "472", + "$id": "467", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "473", + "$id": "468", "timestamp": { - "$id": "474", + "$id": "469", "kind": "string", "type": { "$ref": "266" @@ -4352,7 +4303,7 @@ "value": "1973-11-01T00:00:00Z" }, "value": { - "$id": "475", + "$id": "470", "kind": "number", "type": { "$ref": "269" @@ -4362,15 +4313,15 @@ } }, { - "$id": "476", + "$id": "471", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "477", + "$id": "472", "timestamp": { - "$id": "478", + "$id": "473", "kind": "string", "type": { "$ref": "266" @@ -4378,7 +4329,7 @@ "value": "1973-12-01T00:00:00Z" }, "value": { - "$id": "479", + "$id": "474", "kind": "number", "type": { "$ref": "269" @@ -4388,15 +4339,15 @@ } }, { - "$id": "480", + "$id": "475", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "481", + "$id": "476", "timestamp": { - "$id": "482", + "$id": "477", "kind": "string", "type": { "$ref": "266" @@ -4404,7 +4355,7 @@ "value": "1974-01-01T00:00:00Z" }, "value": { - "$id": "483", + "$id": "478", "kind": "number", "type": { "$ref": "269" @@ -4414,15 +4365,15 @@ } }, { - "$id": "484", + "$id": "479", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "485", + "$id": "480", "timestamp": { - "$id": "486", + "$id": "481", "kind": "string", "type": { "$ref": "266" @@ -4430,7 +4381,7 @@ "value": "1974-02-01T00:00:00Z" }, "value": { - "$id": "487", + "$id": "482", "kind": "number", "type": { "$ref": "269" @@ -4440,15 +4391,15 @@ } }, { - "$id": "488", + "$id": "483", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "489", + "$id": "484", "timestamp": { - "$id": "490", + "$id": "485", "kind": "string", "type": { "$ref": "266" @@ -4456,7 +4407,7 @@ "value": "1974-03-01T00:00:00Z" }, "value": { - "$id": "491", + "$id": "486", "kind": "number", "type": { "$ref": "269" @@ -4466,15 +4417,15 @@ } }, { - "$id": "492", + "$id": "487", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "493", + "$id": "488", "timestamp": { - "$id": "494", + "$id": "489", "kind": "string", "type": { "$ref": "266" @@ -4482,7 +4433,7 @@ "value": "1974-04-01T00:00:00Z" }, "value": { - "$id": "495", + "$id": "490", "kind": "number", "type": { "$ref": "269" @@ -4492,15 +4443,15 @@ } }, { - "$id": "496", + "$id": "491", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "497", + "$id": "492", "timestamp": { - "$id": "498", + "$id": "493", "kind": "string", "type": { "$ref": "266" @@ -4508,7 +4459,7 @@ "value": "1974-05-01T00:00:00Z" }, "value": { - "$id": "499", + "$id": "494", "kind": "number", "type": { "$ref": "269" @@ -4518,15 +4469,15 @@ } }, { - "$id": "500", + "$id": "495", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "501", + "$id": "496", "timestamp": { - "$id": "502", + "$id": "497", "kind": "string", "type": { "$ref": "266" @@ -4534,7 +4485,7 @@ "value": "1974-06-01T00:00:00Z" }, "value": { - "$id": "503", + "$id": "498", "kind": "number", "type": { "$ref": "269" @@ -4544,15 +4495,15 @@ } }, { - "$id": "504", + "$id": "499", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "505", + "$id": "500", "timestamp": { - "$id": "506", + "$id": "501", "kind": "string", "type": { "$ref": "266" @@ -4560,7 +4511,7 @@ "value": "1974-07-01T00:00:00Z" }, "value": { - "$id": "507", + "$id": "502", "kind": "number", "type": { "$ref": "269" @@ -4570,15 +4521,15 @@ } }, { - "$id": "508", + "$id": "503", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "509", + "$id": "504", "timestamp": { - "$id": "510", + "$id": "505", "kind": "string", "type": { "$ref": "266" @@ -4586,7 +4537,7 @@ "value": "1974-08-01T00:00:00Z" }, "value": { - "$id": "511", + "$id": "506", "kind": "number", "type": { "$ref": "269" @@ -4596,15 +4547,15 @@ } }, { - "$id": "512", + "$id": "507", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "513", + "$id": "508", "timestamp": { - "$id": "514", + "$id": "509", "kind": "string", "type": { "$ref": "266" @@ -4612,7 +4563,7 @@ "value": "1974-09-01T00:00:00Z" }, "value": { - "$id": "515", + "$id": "510", "kind": "number", "type": { "$ref": "269" @@ -4622,15 +4573,15 @@ } }, { - "$id": "516", + "$id": "511", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "517", + "$id": "512", "timestamp": { - "$id": "518", + "$id": "513", "kind": "string", "type": { "$ref": "266" @@ -4638,7 +4589,7 @@ "value": "1974-10-01T00:00:00Z" }, "value": { - "$id": "519", + "$id": "514", "kind": "number", "type": { "$ref": "269" @@ -4648,15 +4599,15 @@ } }, { - "$id": "520", + "$id": "515", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "521", + "$id": "516", "timestamp": { - "$id": "522", + "$id": "517", "kind": "string", "type": { "$ref": "266" @@ -4664,7 +4615,7 @@ "value": "1974-11-01T00:00:00Z" }, "value": { - "$id": "523", + "$id": "518", "kind": "number", "type": { "$ref": "269" @@ -4674,15 +4625,15 @@ } }, { - "$id": "524", + "$id": "519", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "525", + "$id": "520", "timestamp": { - "$id": "526", + "$id": "521", "kind": "string", "type": { "$ref": "266" @@ -4690,7 +4641,7 @@ "value": "1974-12-01T00:00:00Z" }, "value": { - "$id": "527", + "$id": "522", "kind": "number", "type": { "$ref": "269" @@ -4700,15 +4651,15 @@ } }, { - "$id": "528", + "$id": "523", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "529", + "$id": "524", "timestamp": { - "$id": "530", + "$id": "525", "kind": "string", "type": { "$ref": "266" @@ -4716,7 +4667,7 @@ "value": "1975-01-01T00:00:00Z" }, "value": { - "$id": "531", + "$id": "526", "kind": "number", "type": { "$ref": "269" @@ -4726,15 +4677,15 @@ } }, { - "$id": "532", + "$id": "527", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "533", + "$id": "528", "timestamp": { - "$id": "534", + "$id": "529", "kind": "string", "type": { "$ref": "266" @@ -4742,7 +4693,7 @@ "value": "1975-02-01T00:00:00Z" }, "value": { - "$id": "535", + "$id": "530", "kind": "number", "type": { "$ref": "269" @@ -4752,15 +4703,15 @@ } }, { - "$id": "536", + "$id": "531", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "537", + "$id": "532", "timestamp": { - "$id": "538", + "$id": "533", "kind": "string", "type": { "$ref": "266" @@ -4768,7 +4719,7 @@ "value": "1975-03-01T00:00:00Z" }, "value": { - "$id": "539", + "$id": "534", "kind": "number", "type": { "$ref": "269" @@ -4778,15 +4729,15 @@ } }, { - "$id": "540", + "$id": "535", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "541", + "$id": "536", "timestamp": { - "$id": "542", + "$id": "537", "kind": "string", "type": { "$ref": "266" @@ -4794,7 +4745,7 @@ "value": "1975-04-01T00:00:00Z" }, "value": { - "$id": "543", + "$id": "538", "kind": "number", "type": { "$ref": "269" @@ -4804,15 +4755,15 @@ } }, { - "$id": "544", + "$id": "539", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "545", + "$id": "540", "timestamp": { - "$id": "546", + "$id": "541", "kind": "string", "type": { "$ref": "266" @@ -4820,7 +4771,7 @@ "value": "1975-05-01T00:00:00Z" }, "value": { - "$id": "547", + "$id": "542", "kind": "number", "type": { "$ref": "269" @@ -4830,15 +4781,15 @@ } }, { - "$id": "548", + "$id": "543", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "549", + "$id": "544", "timestamp": { - "$id": "550", + "$id": "545", "kind": "string", "type": { "$ref": "266" @@ -4846,7 +4797,7 @@ "value": "1975-06-01T00:00:00Z" }, "value": { - "$id": "551", + "$id": "546", "kind": "number", "type": { "$ref": "269" @@ -4856,15 +4807,15 @@ } }, { - "$id": "552", + "$id": "547", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "553", + "$id": "548", "timestamp": { - "$id": "554", + "$id": "549", "kind": "string", "type": { "$ref": "266" @@ -4872,7 +4823,7 @@ "value": "1975-07-01T00:00:00Z" }, "value": { - "$id": "555", + "$id": "550", "kind": "number", "type": { "$ref": "269" @@ -4882,15 +4833,15 @@ } }, { - "$id": "556", + "$id": "551", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "557", + "$id": "552", "timestamp": { - "$id": "558", + "$id": "553", "kind": "string", "type": { "$ref": "266" @@ -4898,7 +4849,7 @@ "value": "1975-08-01T00:00:00Z" }, "value": { - "$id": "559", + "$id": "554", "kind": "number", "type": { "$ref": "269" @@ -4908,15 +4859,15 @@ } }, { - "$id": "560", + "$id": "555", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "561", + "$id": "556", "timestamp": { - "$id": "562", + "$id": "557", "kind": "string", "type": { "$ref": "266" @@ -4924,7 +4875,7 @@ "value": "1975-09-01T00:00:00Z" }, "value": { - "$id": "563", + "$id": "558", "kind": "number", "type": { "$ref": "269" @@ -4934,15 +4885,15 @@ } }, { - "$id": "564", + "$id": "559", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "565", + "$id": "560", "timestamp": { - "$id": "566", + "$id": "561", "kind": "string", "type": { "$ref": "266" @@ -4950,7 +4901,7 @@ "value": "1975-10-01T00:00:00Z" }, "value": { - "$id": "567", + "$id": "562", "kind": "number", "type": { "$ref": "269" @@ -4960,15 +4911,15 @@ } }, { - "$id": "568", + "$id": "563", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "569", + "$id": "564", "timestamp": { - "$id": "570", + "$id": "565", "kind": "string", "type": { "$ref": "266" @@ -4976,7 +4927,7 @@ "value": "1975-11-01T00:00:00Z" }, "value": { - "$id": "571", + "$id": "566", "kind": "number", "type": { "$ref": "269" @@ -4986,15 +4937,15 @@ } }, { - "$id": "572", + "$id": "567", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "573", + "$id": "568", "timestamp": { - "$id": "574", + "$id": "569", "kind": "string", "type": { "$ref": "266" @@ -5002,7 +4953,7 @@ "value": "1975-12-01T00:00:00Z" }, "value": { - "$id": "575", + "$id": "570", "kind": "number", "type": { "$ref": "269" @@ -5014,7 +4965,7 @@ ] }, "maxAnomalyRatio": { - "$id": "576", + "$id": "571", "kind": "number", "type": { "$ref": "276" @@ -5022,7 +4973,7 @@ "value": 0.25 }, "sensitivity": { - "$id": "577", + "$id": "572", "kind": "number", "type": { "$ref": "278" @@ -5030,7 +4981,7 @@ "value": 95 }, "granularity": { - "$id": "578", + "$id": "573", "kind": "string", "type": { "$ref": "46" @@ -5038,7 +4989,7 @@ "value": "monthly" }, "imputeMode": { - "$id": "579", + "$id": "574", "kind": "string", "type": { "$ref": "66" @@ -5051,26 +5002,66 @@ ], "responses": [ { - "$id": "580", + "$id": "575", "response": { - "$ref": "376" + "$ref": "371" }, "statusCode": 200, "bodyValue": { - "$id": "581", + "$id": "576", "kind": "model", "type": { "$ref": "282" }, "value": { - "$id": "582", + "$id": "577", "isNegativeAnomaly": { - "$id": "583", + "$id": "578", "kind": "array", "type": { "$ref": "298" }, "value": [ + { + "$id": "579", + "kind": "boolean", + "type": { + "$ref": "299" + }, + "value": false + }, + { + "$id": "580", + "kind": "boolean", + "type": { + "$ref": "299" + }, + "value": false + }, + { + "$id": "581", + "kind": "boolean", + "type": { + "$ref": "299" + }, + "value": false + }, + { + "$id": "582", + "kind": "boolean", + "type": { + "$ref": "299" + }, + "value": false + }, + { + "$id": "583", + "kind": "boolean", + "type": { + "$ref": "299" + }, + "value": false + }, { "$id": "584", "kind": "boolean", @@ -5414,58 +5405,18 @@ "$ref": "299" }, "value": false - }, - { - "$id": "627", - "kind": "boolean", - "type": { - "$ref": "299" - }, - "value": false - }, - { - "$id": "628", - "kind": "boolean", - "type": { - "$ref": "299" - }, - "value": false - }, - { - "$id": "629", - "kind": "boolean", - "type": { - "$ref": "299" - }, - "value": false - }, - { - "$id": "630", - "kind": "boolean", - "type": { - "$ref": "299" - }, - "value": false - }, - { - "$id": "631", - "kind": "boolean", - "type": { - "$ref": "299" - }, - "value": false } ] }, "expectedValues": { - "$id": "632", + "$id": "627", "kind": "array", "type": { "$ref": "286" }, "value": [ { - "$id": "633", + "$id": "628", "kind": "number", "type": { "$ref": "287" @@ -5473,7 +5424,7 @@ "value": 827.7940908243968 }, { - "$id": "634", + "$id": "629", "kind": "number", "type": { "$ref": "287" @@ -5481,7 +5432,7 @@ "value": 798.9133774671927 }, { - "$id": "635", + "$id": "630", "kind": "number", "type": { "$ref": "287" @@ -5489,7 +5440,7 @@ "value": 888.6058431807189 }, { - "$id": "636", + "$id": "631", "kind": "number", "type": { "$ref": "287" @@ -5497,7 +5448,7 @@ "value": 900.5606407986661 }, { - "$id": "637", + "$id": "632", "kind": "number", "type": { "$ref": "287" @@ -5505,7 +5456,7 @@ "value": 962.8389426378304 }, { - "$id": "638", + "$id": "633", "kind": "number", "type": { "$ref": "287" @@ -5513,7 +5464,7 @@ "value": 933.2591606306954 }, { - "$id": "639", + "$id": "634", "kind": "number", "type": { "$ref": "287" @@ -5521,7 +5472,7 @@ "value": 891.0784104799666 }, { - "$id": "640", + "$id": "635", "kind": "number", "type": { "$ref": "287" @@ -5529,7 +5480,7 @@ "value": 856.1781601363697 }, { - "$id": "641", + "$id": "636", "kind": "number", "type": { "$ref": "287" @@ -5537,7 +5488,7 @@ "value": 809.8987227908941 }, { - "$id": "642", + "$id": "637", "kind": "number", "type": { "$ref": "287" @@ -5545,7 +5496,7 @@ "value": 807.375129007505 }, { - "$id": "643", + "$id": "638", "kind": "number", "type": { "$ref": "287" @@ -5553,7 +5504,7 @@ "value": 764.3196682448518 }, { - "$id": "644", + "$id": "639", "kind": "number", "type": { "$ref": "287" @@ -5561,7 +5512,7 @@ "value": 803.933498594564 }, { - "$id": "645", + "$id": "640", "kind": "number", "type": { "$ref": "287" @@ -5569,7 +5520,7 @@ "value": 823.5900620883058 }, { - "$id": "646", + "$id": "641", "kind": "number", "type": { "$ref": "287" @@ -5577,7 +5528,7 @@ "value": 794.0905641334288 }, { - "$id": "647", + "$id": "642", "kind": "number", "type": { "$ref": "287" @@ -5585,7 +5536,7 @@ "value": 883.164245249282 }, { - "$id": "648", + "$id": "643", "kind": "number", "type": { "$ref": "287" @@ -5593,7 +5544,7 @@ "value": 894.8419000690953 }, { - "$id": "649", + "$id": "644", "kind": "number", "type": { "$ref": "287" @@ -5601,7 +5552,7 @@ "value": 956.8430591101258 }, { - "$id": "650", + "$id": "645", "kind": "number", "type": { "$ref": "287" @@ -5609,7 +5560,7 @@ "value": 927.6285055190114 }, { - "$id": "651", + "$id": "646", "kind": "number", "type": { "$ref": "287" @@ -5617,7 +5568,7 @@ "value": 885.812983784303 }, { - "$id": "652", + "$id": "647", "kind": "number", "type": { "$ref": "287" @@ -5625,7 +5576,7 @@ "value": 851.6424797402517 }, { - "$id": "653", + "$id": "648", "kind": "number", "type": { "$ref": "287" @@ -5633,7 +5584,7 @@ "value": 806.0927886943216 }, { - "$id": "654", + "$id": "649", "kind": "number", "type": { "$ref": "287" @@ -5641,7 +5592,7 @@ "value": 804.6826815312029 }, { - "$id": "655", + "$id": "650", "kind": "number", "type": { "$ref": "287" @@ -5649,7 +5600,7 @@ "value": 762.74070738882 }, { - "$id": "656", + "$id": "651", "kind": "number", "type": { "$ref": "287" @@ -5657,7 +5608,7 @@ "value": 804.0251702513732 }, { - "$id": "657", + "$id": "652", "kind": "number", "type": { "$ref": "287" @@ -5665,7 +5616,7 @@ "value": 825.3523662579559 }, { - "$id": "658", + "$id": "653", "kind": "number", "type": { "$ref": "287" @@ -5673,7 +5624,7 @@ "value": 798.0404188724976 }, { - "$id": "659", + "$id": "654", "kind": "number", "type": { "$ref": "287" @@ -5681,7 +5632,7 @@ "value": 889.3016505577698 }, { - "$id": "660", + "$id": "655", "kind": "number", "type": { "$ref": "287" @@ -5689,7 +5640,7 @@ "value": 902.4226124345937 }, { - "$id": "661", + "$id": "656", "kind": "number", "type": { "$ref": "287" @@ -5697,7 +5648,7 @@ "value": 965.867078532635 }, { - "$id": "662", + "$id": "657", "kind": "number", "type": { "$ref": "287" @@ -5705,7 +5656,7 @@ "value": 937.3200495736695 }, { - "$id": "663", + "$id": "658", "kind": "number", "type": { "$ref": "287" @@ -5713,7 +5664,7 @@ "value": 896.1720524711102 }, { - "$id": "664", + "$id": "659", "kind": "number", "type": { "$ref": "287" @@ -5721,7 +5672,7 @@ "value": 862.0087368413656 }, { - "$id": "665", + "$id": "660", "kind": "number", "type": { "$ref": "287" @@ -5729,7 +5680,7 @@ "value": 816.4662342097423 }, { - "$id": "666", + "$id": "661", "kind": "number", "type": { "$ref": "287" @@ -5737,7 +5688,7 @@ "value": 814.4297745524709 }, { - "$id": "667", + "$id": "662", "kind": "number", "type": { "$ref": "287" @@ -5745,7 +5696,7 @@ "value": 771.8614479159354 }, { - "$id": "668", + "$id": "663", "kind": "number", "type": { "$ref": "287" @@ -5753,7 +5704,7 @@ "value": 811.859271346729 }, { - "$id": "669", + "$id": "664", "kind": "number", "type": { "$ref": "287" @@ -5761,7 +5712,7 @@ "value": 831.8998279215521 }, { - "$id": "670", + "$id": "665", "kind": "number", "type": { "$ref": "287" @@ -5769,7 +5720,7 @@ "value": 802.947544797165 }, { - "$id": "671", + "$id": "666", "kind": "number", "type": { "$ref": "287" @@ -5777,7 +5728,7 @@ "value": 892.5684407435083 }, { - "$id": "672", + "$id": "667", "kind": "number", "type": { "$ref": "287" @@ -5785,7 +5736,7 @@ "value": 904.5488214533809 }, { - "$id": "673", + "$id": "668", "kind": "number", "type": { "$ref": "287" @@ -5793,7 +5744,7 @@ "value": 966.8527063844707 }, { - "$id": "674", + "$id": "669", "kind": "number", "type": { "$ref": "287" @@ -5801,7 +5752,7 @@ "value": 937.3168391003043 }, { - "$id": "675", + "$id": "670", "kind": "number", "type": { "$ref": "287" @@ -5809,7 +5760,7 @@ "value": 895.180003672544 }, { - "$id": "676", + "$id": "671", "kind": "number", "type": { "$ref": "287" @@ -5817,7 +5768,7 @@ "value": 860.3649596356635 }, { - "$id": "677", + "$id": "672", "kind": "number", "type": { "$ref": "287" @@ -5825,7 +5776,7 @@ "value": 814.1707285969043 }, { - "$id": "678", + "$id": "673", "kind": "number", "type": { "$ref": "287" @@ -5833,7 +5784,7 @@ "value": 811.9054862686213 }, { - "$id": "679", + "$id": "674", "kind": "number", "type": { "$ref": "287" @@ -5841,7 +5792,7 @@ "value": 769.1083769610742 }, { - "$id": "680", + "$id": "675", "kind": "number", "type": { "$ref": "287" @@ -5851,12 +5802,52 @@ ] }, "isPositiveAnomaly": { - "$id": "681", + "$id": "676", "kind": "array", "type": { "$ref": "301" }, "value": [ + { + "$id": "677", + "kind": "boolean", + "type": { + "$ref": "302" + }, + "value": false + }, + { + "$id": "678", + "kind": "boolean", + "type": { + "$ref": "302" + }, + "value": false + }, + { + "$id": "679", + "kind": "boolean", + "type": { + "$ref": "302" + }, + "value": false + }, + { + "$id": "680", + "kind": "boolean", + "type": { + "$ref": "302" + }, + "value": false + }, + { + "$id": "681", + "kind": "boolean", + "type": { + "$ref": "302" + }, + "value": false + }, { "$id": "682", "kind": "boolean", @@ -6023,7 +6014,7 @@ "type": { "$ref": "302" }, - "value": false + "value": true }, { "$id": "703", @@ -6063,7 +6054,7 @@ "type": { "$ref": "302" }, - "value": true + "value": false }, { "$id": "708", @@ -6200,58 +6191,18 @@ "$ref": "302" }, "value": false - }, - { - "$id": "725", - "kind": "boolean", - "type": { - "$ref": "302" - }, - "value": false - }, - { - "$id": "726", - "kind": "boolean", - "type": { - "$ref": "302" - }, - "value": false - }, - { - "$id": "727", - "kind": "boolean", - "type": { - "$ref": "302" - }, - "value": false - }, - { - "$id": "728", - "kind": "boolean", - "type": { - "$ref": "302" - }, - "value": false - }, - { - "$id": "729", - "kind": "boolean", - "type": { - "$ref": "302" - }, - "value": false } ] }, "lowerMargins": { - "$id": "730", + "$id": "725", "kind": "array", "type": { "$ref": "292" }, "value": [ { - "$id": "731", + "$id": "726", "kind": "number", "type": { "$ref": "293" @@ -6259,7 +6210,7 @@ "value": 41.389704541219835 }, { - "$id": "732", + "$id": "727", "kind": "number", "type": { "$ref": "293" @@ -6267,7 +6218,7 @@ "value": 39.94566887335964 }, { - "$id": "733", + "$id": "728", "kind": "number", "type": { "$ref": "293" @@ -6275,7 +6226,7 @@ "value": 44.43029215903594 }, { - "$id": "734", + "$id": "729", "kind": "number", "type": { "$ref": "293" @@ -6283,7 +6234,7 @@ "value": 45.02803203993331 }, { - "$id": "735", + "$id": "730", "kind": "number", "type": { "$ref": "293" @@ -6291,7 +6242,7 @@ "value": 48.14194713189152 }, { - "$id": "736", + "$id": "731", "kind": "number", "type": { "$ref": "293" @@ -6299,7 +6250,7 @@ "value": 46.66295803153477 }, { - "$id": "737", + "$id": "732", "kind": "number", "type": { "$ref": "293" @@ -6307,7 +6258,7 @@ "value": 44.55392052399833 }, { - "$id": "738", + "$id": "733", "kind": "number", "type": { "$ref": "293" @@ -6315,7 +6266,7 @@ "value": 42.808908006818484 }, { - "$id": "739", + "$id": "734", "kind": "number", "type": { "$ref": "293" @@ -6323,7 +6274,7 @@ "value": 40.494936139544706 }, { - "$id": "740", + "$id": "735", "kind": "number", "type": { "$ref": "293" @@ -6331,7 +6282,7 @@ "value": 40.36875645037525 }, { - "$id": "741", + "$id": "736", "kind": "number", "type": { "$ref": "293" @@ -6339,7 +6290,7 @@ "value": 38.215983412242586 }, { - "$id": "742", + "$id": "737", "kind": "number", "type": { "$ref": "293" @@ -6347,7 +6298,7 @@ "value": 40.196674929728196 }, { - "$id": "743", + "$id": "738", "kind": "number", "type": { "$ref": "293" @@ -6355,7 +6306,7 @@ "value": 41.17950310441529 }, { - "$id": "744", + "$id": "739", "kind": "number", "type": { "$ref": "293" @@ -6363,7 +6314,7 @@ "value": 39.70452820667144 }, { - "$id": "745", + "$id": "740", "kind": "number", "type": { "$ref": "293" @@ -6371,7 +6322,7 @@ "value": 44.1582122624641 }, { - "$id": "746", + "$id": "741", "kind": "number", "type": { "$ref": "293" @@ -6379,7 +6330,7 @@ "value": 44.74209500345477 }, { - "$id": "747", + "$id": "742", "kind": "number", "type": { "$ref": "293" @@ -6387,7 +6338,7 @@ "value": 47.84215295550629 }, { - "$id": "748", + "$id": "743", "kind": "number", "type": { "$ref": "293" @@ -6395,7 +6346,7 @@ "value": 46.38142527595057 }, { - "$id": "749", + "$id": "744", "kind": "number", "type": { "$ref": "293" @@ -6403,7 +6354,7 @@ "value": 44.290649189215145 }, { - "$id": "750", + "$id": "745", "kind": "number", "type": { "$ref": "293" @@ -6411,7 +6362,7 @@ "value": 42.58212398701258 }, { - "$id": "751", + "$id": "746", "kind": "number", "type": { "$ref": "293" @@ -6419,7 +6370,7 @@ "value": 40.30463943471608 }, { - "$id": "752", + "$id": "747", "kind": "number", "type": { "$ref": "293" @@ -6427,7 +6378,7 @@ "value": 40.234134076560146 }, { - "$id": "753", + "$id": "748", "kind": "number", "type": { "$ref": "293" @@ -6435,7 +6386,7 @@ "value": 38.137035369441 }, { - "$id": "754", + "$id": "749", "kind": "number", "type": { "$ref": "293" @@ -6443,7 +6394,7 @@ "value": 40.201258512568664 }, { - "$id": "755", + "$id": "750", "kind": "number", "type": { "$ref": "293" @@ -6451,7 +6402,7 @@ "value": 41.267618312897795 }, { - "$id": "756", + "$id": "751", "kind": "number", "type": { "$ref": "293" @@ -6459,7 +6410,7 @@ "value": 39.90202094362488 }, { - "$id": "757", + "$id": "752", "kind": "number", "type": { "$ref": "293" @@ -6467,7 +6418,7 @@ "value": 44.46508252788849 }, { - "$id": "758", + "$id": "753", "kind": "number", "type": { "$ref": "293" @@ -6475,7 +6426,7 @@ "value": 45.121130621729684 }, { - "$id": "759", + "$id": "754", "kind": "number", "type": { "$ref": "293" @@ -6483,7 +6434,7 @@ "value": 48.29335392663175 }, { - "$id": "760", + "$id": "755", "kind": "number", "type": { "$ref": "293" @@ -6491,7 +6442,7 @@ "value": 46.86600247868348 }, { - "$id": "761", + "$id": "756", "kind": "number", "type": { "$ref": "293" @@ -6499,7 +6450,7 @@ "value": 44.80860262355551 }, { - "$id": "762", + "$id": "757", "kind": "number", "type": { "$ref": "293" @@ -6507,7 +6458,7 @@ "value": 43.100436842068284 }, { - "$id": "763", + "$id": "758", "kind": "number", "type": { "$ref": "293" @@ -6515,7 +6466,7 @@ "value": 40.82331171048711 }, { - "$id": "764", + "$id": "759", "kind": "number", "type": { "$ref": "293" @@ -6523,7 +6474,7 @@ "value": 40.721488727623544 }, { - "$id": "765", + "$id": "760", "kind": "number", "type": { "$ref": "293" @@ -6531,7 +6482,7 @@ "value": 38.593072395796774 }, { - "$id": "766", + "$id": "761", "kind": "number", "type": { "$ref": "293" @@ -6539,7 +6490,7 @@ "value": 40.59296356733645 }, { - "$id": "767", + "$id": "762", "kind": "number", "type": { "$ref": "293" @@ -6547,7 +6498,7 @@ "value": 41.5949913960776 }, { - "$id": "768", + "$id": "763", "kind": "number", "type": { "$ref": "293" @@ -6555,7 +6506,7 @@ "value": 40.14737723985825 }, { - "$id": "769", + "$id": "764", "kind": "number", "type": { "$ref": "293" @@ -6563,7 +6514,7 @@ "value": 44.62842203717541 }, { - "$id": "770", + "$id": "765", "kind": "number", "type": { "$ref": "293" @@ -6571,7 +6522,7 @@ "value": 45.227441072669045 }, { - "$id": "771", + "$id": "766", "kind": "number", "type": { "$ref": "293" @@ -6579,7 +6530,7 @@ "value": 48.34263531922354 }, { - "$id": "772", + "$id": "767", "kind": "number", "type": { "$ref": "293" @@ -6587,7 +6538,7 @@ "value": 46.86584195501521 }, { - "$id": "773", + "$id": "768", "kind": "number", "type": { "$ref": "293" @@ -6595,7 +6546,7 @@ "value": 44.759000183627194 }, { - "$id": "774", + "$id": "769", "kind": "number", "type": { "$ref": "293" @@ -6603,7 +6554,7 @@ "value": 43.01824798178317 }, { - "$id": "775", + "$id": "770", "kind": "number", "type": { "$ref": "293" @@ -6611,7 +6562,7 @@ "value": 40.70853642984521 }, { - "$id": "776", + "$id": "771", "kind": "number", "type": { "$ref": "293" @@ -6619,7 +6570,7 @@ "value": 40.59527431343106 }, { - "$id": "777", + "$id": "772", "kind": "number", "type": { "$ref": "293" @@ -6627,7 +6578,7 @@ "value": 38.45541884805371 }, { - "$id": "778", + "$id": "773", "kind": "number", "type": { "$ref": "293" @@ -6637,7 +6588,7 @@ ] }, "period": { - "$id": "779", + "$id": "774", "kind": "number", "type": { "$ref": "284" @@ -6645,14 +6596,14 @@ "value": 12 }, "upperMargins": { - "$id": "780", + "$id": "775", "kind": "array", "type": { "$ref": "289" }, "value": [ { - "$id": "781", + "$id": "776", "kind": "number", "type": { "$ref": "290" @@ -6660,7 +6611,7 @@ "value": 41.389704541219835 }, { - "$id": "782", + "$id": "777", "kind": "number", "type": { "$ref": "290" @@ -6668,7 +6619,7 @@ "value": 39.94566887335964 }, { - "$id": "783", + "$id": "778", "kind": "number", "type": { "$ref": "290" @@ -6676,7 +6627,7 @@ "value": 44.43029215903594 }, { - "$id": "784", + "$id": "779", "kind": "number", "type": { "$ref": "290" @@ -6684,7 +6635,7 @@ "value": 45.02803203993331 }, { - "$id": "785", + "$id": "780", "kind": "number", "type": { "$ref": "290" @@ -6692,7 +6643,7 @@ "value": 48.14194713189152 }, { - "$id": "786", + "$id": "781", "kind": "number", "type": { "$ref": "290" @@ -6700,7 +6651,7 @@ "value": 46.66295803153477 }, { - "$id": "787", + "$id": "782", "kind": "number", "type": { "$ref": "290" @@ -6708,7 +6659,7 @@ "value": 44.55392052399833 }, { - "$id": "788", + "$id": "783", "kind": "number", "type": { "$ref": "290" @@ -6716,7 +6667,7 @@ "value": 42.808908006818484 }, { - "$id": "789", + "$id": "784", "kind": "number", "type": { "$ref": "290" @@ -6724,7 +6675,7 @@ "value": 40.494936139544706 }, { - "$id": "790", + "$id": "785", "kind": "number", "type": { "$ref": "290" @@ -6732,7 +6683,7 @@ "value": 40.36875645037525 }, { - "$id": "791", + "$id": "786", "kind": "number", "type": { "$ref": "290" @@ -6740,7 +6691,7 @@ "value": 38.215983412242586 }, { - "$id": "792", + "$id": "787", "kind": "number", "type": { "$ref": "290" @@ -6748,7 +6699,7 @@ "value": 40.196674929728196 }, { - "$id": "793", + "$id": "788", "kind": "number", "type": { "$ref": "290" @@ -6756,7 +6707,7 @@ "value": 41.17950310441529 }, { - "$id": "794", + "$id": "789", "kind": "number", "type": { "$ref": "290" @@ -6764,7 +6715,7 @@ "value": 39.70452820667144 }, { - "$id": "795", + "$id": "790", "kind": "number", "type": { "$ref": "290" @@ -6772,7 +6723,7 @@ "value": 44.1582122624641 }, { - "$id": "796", + "$id": "791", "kind": "number", "type": { "$ref": "290" @@ -6780,7 +6731,7 @@ "value": 44.74209500345477 }, { - "$id": "797", + "$id": "792", "kind": "number", "type": { "$ref": "290" @@ -6788,7 +6739,7 @@ "value": 47.84215295550629 }, { - "$id": "798", + "$id": "793", "kind": "number", "type": { "$ref": "290" @@ -6796,7 +6747,7 @@ "value": 46.38142527595057 }, { - "$id": "799", + "$id": "794", "kind": "number", "type": { "$ref": "290" @@ -6804,7 +6755,7 @@ "value": 44.290649189215145 }, { - "$id": "800", + "$id": "795", "kind": "number", "type": { "$ref": "290" @@ -6812,7 +6763,7 @@ "value": 42.58212398701258 }, { - "$id": "801", + "$id": "796", "kind": "number", "type": { "$ref": "290" @@ -6820,7 +6771,7 @@ "value": 40.30463943471608 }, { - "$id": "802", + "$id": "797", "kind": "number", "type": { "$ref": "290" @@ -6828,7 +6779,7 @@ "value": 40.234134076560146 }, { - "$id": "803", + "$id": "798", "kind": "number", "type": { "$ref": "290" @@ -6836,7 +6787,7 @@ "value": 38.137035369441 }, { - "$id": "804", + "$id": "799", "kind": "number", "type": { "$ref": "290" @@ -6844,7 +6795,7 @@ "value": 40.201258512568664 }, { - "$id": "805", + "$id": "800", "kind": "number", "type": { "$ref": "290" @@ -6852,7 +6803,7 @@ "value": 41.267618312897795 }, { - "$id": "806", + "$id": "801", "kind": "number", "type": { "$ref": "290" @@ -6860,7 +6811,7 @@ "value": 39.90202094362488 }, { - "$id": "807", + "$id": "802", "kind": "number", "type": { "$ref": "290" @@ -6868,7 +6819,7 @@ "value": 44.46508252788849 }, { - "$id": "808", + "$id": "803", "kind": "number", "type": { "$ref": "290" @@ -6876,7 +6827,7 @@ "value": 45.121130621729684 }, { - "$id": "809", + "$id": "804", "kind": "number", "type": { "$ref": "290" @@ -6884,7 +6835,7 @@ "value": 48.29335392663175 }, { - "$id": "810", + "$id": "805", "kind": "number", "type": { "$ref": "290" @@ -6892,7 +6843,7 @@ "value": 46.86600247868348 }, { - "$id": "811", + "$id": "806", "kind": "number", "type": { "$ref": "290" @@ -6900,7 +6851,7 @@ "value": 44.80860262355551 }, { - "$id": "812", + "$id": "807", "kind": "number", "type": { "$ref": "290" @@ -6908,7 +6859,7 @@ "value": 43.100436842068284 }, { - "$id": "813", + "$id": "808", "kind": "number", "type": { "$ref": "290" @@ -6916,7 +6867,7 @@ "value": 40.82331171048711 }, { - "$id": "814", + "$id": "809", "kind": "number", "type": { "$ref": "290" @@ -6924,7 +6875,7 @@ "value": 40.721488727623544 }, { - "$id": "815", + "$id": "810", "kind": "number", "type": { "$ref": "290" @@ -6932,7 +6883,7 @@ "value": 38.593072395796774 }, { - "$id": "816", + "$id": "811", "kind": "number", "type": { "$ref": "290" @@ -6940,7 +6891,7 @@ "value": 40.59296356733645 }, { - "$id": "817", + "$id": "812", "kind": "number", "type": { "$ref": "290" @@ -6948,7 +6899,7 @@ "value": 41.5949913960776 }, { - "$id": "818", + "$id": "813", "kind": "number", "type": { "$ref": "290" @@ -6956,7 +6907,7 @@ "value": 40.14737723985825 }, { - "$id": "819", + "$id": "814", "kind": "number", "type": { "$ref": "290" @@ -6964,7 +6915,7 @@ "value": 44.62842203717541 }, { - "$id": "820", + "$id": "815", "kind": "number", "type": { "$ref": "290" @@ -6972,7 +6923,7 @@ "value": 45.227441072669045 }, { - "$id": "821", + "$id": "816", "kind": "number", "type": { "$ref": "290" @@ -6980,7 +6931,7 @@ "value": 48.34263531922354 }, { - "$id": "822", + "$id": "817", "kind": "number", "type": { "$ref": "290" @@ -6988,7 +6939,7 @@ "value": 46.86584195501521 }, { - "$id": "823", + "$id": "818", "kind": "number", "type": { "$ref": "290" @@ -6996,7 +6947,7 @@ "value": 44.759000183627194 }, { - "$id": "824", + "$id": "819", "kind": "number", "type": { "$ref": "290" @@ -7004,7 +6955,7 @@ "value": 43.01824798178317 }, { - "$id": "825", + "$id": "820", "kind": "number", "type": { "$ref": "290" @@ -7012,7 +6963,7 @@ "value": 40.70853642984521 }, { - "$id": "826", + "$id": "821", "kind": "number", "type": { "$ref": "290" @@ -7020,7 +6971,7 @@ "value": 40.59527431343106 }, { - "$id": "827", + "$id": "822", "kind": "number", "type": { "$ref": "290" @@ -7028,7 +6979,7 @@ "value": 38.45541884805371 }, { - "$id": "828", + "$id": "823", "kind": "number", "type": { "$ref": "290" @@ -7038,12 +6989,52 @@ ] }, "isAnomaly": { - "$id": "829", + "$id": "824", "kind": "array", "type": { "$ref": "295" }, "value": [ + { + "$id": "825", + "kind": "boolean", + "type": { + "$ref": "296" + }, + "value": false + }, + { + "$id": "826", + "kind": "boolean", + "type": { + "$ref": "296" + }, + "value": false + }, + { + "$id": "827", + "kind": "boolean", + "type": { + "$ref": "296" + }, + "value": false + }, + { + "$id": "828", + "kind": "boolean", + "type": { + "$ref": "296" + }, + "value": false + }, + { + "$id": "829", + "kind": "boolean", + "type": { + "$ref": "296" + }, + "value": false + }, { "$id": "830", "kind": "boolean", @@ -7210,7 +7201,7 @@ "type": { "$ref": "296" }, - "value": false + "value": true }, { "$id": "851", @@ -7250,7 +7241,7 @@ "type": { "$ref": "296" }, - "value": true + "value": false }, { "$id": "856", @@ -7387,56 +7378,56 @@ "$ref": "296" }, "value": false - }, - { - "$id": "873", - "kind": "boolean", - "type": { - "$ref": "296" - }, - "value": false - }, + } + ] + }, + "severity": { + "$id": "873", + "kind": "array", + "type": { + "$ref": "304" + }, + "value": [ { "$id": "874", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "296" + "$ref": "305" }, - "value": false + "value": 0 }, { "$id": "875", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "296" + "$ref": "305" }, - "value": false + "value": 0 }, { "$id": "876", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "296" + "$ref": "305" }, - "value": false + "value": 0 }, { "$id": "877", - "kind": "boolean", + "kind": "number", "type": { - "$ref": "296" + "$ref": "305" }, - "value": false - } - ] - }, - "severity": { - "$id": "878", - "kind": "array", - "type": { - "$ref": "304" - }, - "value": [ + "value": 0 + }, + { + "$id": "878", + "kind": "number", + "type": { + "$ref": "305" + }, + "value": 0 + }, { "$id": "879", "kind": "number", @@ -7603,7 +7594,7 @@ "type": { "$ref": "305" }, - "value": 0 + "value": 0.2906614447614368 }, { "$id": "900", @@ -7643,7 +7634,7 @@ "type": { "$ref": "305" }, - "value": 0.2906614447614368 + "value": 0 }, { "$id": "905", @@ -7780,46 +7771,6 @@ "$ref": "305" }, "value": 0 - }, - { - "$id": "922", - "kind": "number", - "type": { - "$ref": "305" - }, - "value": 0 - }, - { - "$id": "923", - "kind": "number", - "type": { - "$ref": "305" - }, - "value": 0 - }, - { - "$id": "924", - "kind": "number", - "type": { - "$ref": "305" - }, - "value": 0 - }, - { - "$id": "925", - "kind": "number", - "type": { - "$ref": "305" - }, - "value": 0 - }, - { - "$id": "926", - "kind": "number", - "type": { - "$ref": "305" - }, - "value": 0 } ] } @@ -7831,7 +7782,7 @@ ] }, { - "$id": "927", + "$id": "922", "Name": "DetectUnivariateLastPoint", "ResourceName": "Univariate", "Summary": "Detect anomaly status of the latest point in time series.", @@ -7839,21 +7790,15 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "364" - }, - { - "$ref": "366" - }, - { - "$id": "928", + "$id": "923", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "929", + "$id": "924", "kind": "constant", "valueType": { - "$id": "930", + "$id": "925", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7873,14 +7818,14 @@ "SkipUrlEncoding": false }, { - "$id": "931", + "$id": "926", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "932", + "$id": "927", "kind": "constant", "valueType": { - "$id": "933", + "$id": "928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7900,7 +7845,7 @@ "SkipUrlEncoding": false }, { - "$id": "934", + "$id": "929", "Name": "options", "NameInRequest": "options", "Description": "Method of univariate anomaly detection.", @@ -7920,7 +7865,7 @@ ], "Responses": [ { - "$id": "935", + "$id": "930", "StatusCodes": [ 200 ], @@ -7949,56 +7894,56 @@ "Decorators": [], "Examples": [ { - "$id": "936", + "$id": "931", "kind": "http", "name": "Detect univariate last point", "description": "Detect univariate last point", "filePath": "v1.1/LastDetect.json", "parameters": [ { - "$id": "937", + "$id": "932", "parameter": { - "$ref": "928" + "$ref": "923" }, "value": { - "$id": "938", + "$id": "933", "kind": "string", "type": { - "$ref": "929" + "$ref": "924" }, "value": "application/json" } }, { - "$id": "939", + "$id": "934", "parameter": { - "$ref": "934" + "$ref": "929" }, "value": { - "$id": "940", + "$id": "935", "kind": "model", "type": { "$ref": "261" }, "value": { - "$id": "941", + "$id": "936", "series": { - "$id": "942", + "$id": "937", "kind": "array", "type": { "$ref": "263" }, "value": [ { - "$id": "943", + "$id": "938", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "944", + "$id": "939", "timestamp": { - "$id": "945", + "$id": "940", "kind": "string", "type": { "$ref": "266" @@ -8006,7 +7951,7 @@ "value": "1972-01-01T00:00:00Z" }, "value": { - "$id": "946", + "$id": "941", "kind": "number", "type": { "$ref": "269" @@ -8016,15 +7961,15 @@ } }, { - "$id": "947", + "$id": "942", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "948", + "$id": "943", "timestamp": { - "$id": "949", + "$id": "944", "kind": "string", "type": { "$ref": "266" @@ -8032,7 +7977,7 @@ "value": "1972-02-01T00:00:00Z" }, "value": { - "$id": "950", + "$id": "945", "kind": "number", "type": { "$ref": "269" @@ -8042,15 +7987,15 @@ } }, { - "$id": "951", + "$id": "946", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "952", + "$id": "947", "timestamp": { - "$id": "953", + "$id": "948", "kind": "string", "type": { "$ref": "266" @@ -8058,7 +8003,7 @@ "value": "1972-03-01T00:00:00Z" }, "value": { - "$id": "954", + "$id": "949", "kind": "number", "type": { "$ref": "269" @@ -8068,15 +8013,15 @@ } }, { - "$id": "955", + "$id": "950", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "956", + "$id": "951", "timestamp": { - "$id": "957", + "$id": "952", "kind": "string", "type": { "$ref": "266" @@ -8084,7 +8029,7 @@ "value": "1972-04-01T00:00:00Z" }, "value": { - "$id": "958", + "$id": "953", "kind": "number", "type": { "$ref": "269" @@ -8094,15 +8039,15 @@ } }, { - "$id": "959", + "$id": "954", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "960", + "$id": "955", "timestamp": { - "$id": "961", + "$id": "956", "kind": "string", "type": { "$ref": "266" @@ -8110,7 +8055,7 @@ "value": "1972-05-01T00:00:00Z" }, "value": { - "$id": "962", + "$id": "957", "kind": "number", "type": { "$ref": "269" @@ -8120,15 +8065,15 @@ } }, { - "$id": "963", + "$id": "958", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "964", + "$id": "959", "timestamp": { - "$id": "965", + "$id": "960", "kind": "string", "type": { "$ref": "266" @@ -8136,7 +8081,7 @@ "value": "1972-06-01T00:00:00Z" }, "value": { - "$id": "966", + "$id": "961", "kind": "number", "type": { "$ref": "269" @@ -8146,15 +8091,15 @@ } }, { - "$id": "967", + "$id": "962", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "968", + "$id": "963", "timestamp": { - "$id": "969", + "$id": "964", "kind": "string", "type": { "$ref": "266" @@ -8162,7 +8107,7 @@ "value": "1972-07-01T00:00:00Z" }, "value": { - "$id": "970", + "$id": "965", "kind": "number", "type": { "$ref": "269" @@ -8172,15 +8117,15 @@ } }, { - "$id": "971", + "$id": "966", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "972", + "$id": "967", "timestamp": { - "$id": "973", + "$id": "968", "kind": "string", "type": { "$ref": "266" @@ -8188,7 +8133,7 @@ "value": "1972-08-01T00:00:00Z" }, "value": { - "$id": "974", + "$id": "969", "kind": "number", "type": { "$ref": "269" @@ -8198,15 +8143,15 @@ } }, { - "$id": "975", + "$id": "970", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "976", + "$id": "971", "timestamp": { - "$id": "977", + "$id": "972", "kind": "string", "type": { "$ref": "266" @@ -8214,7 +8159,7 @@ "value": "1972-09-01T00:00:00Z" }, "value": { - "$id": "978", + "$id": "973", "kind": "number", "type": { "$ref": "269" @@ -8224,15 +8169,15 @@ } }, { - "$id": "979", + "$id": "974", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "980", + "$id": "975", "timestamp": { - "$id": "981", + "$id": "976", "kind": "string", "type": { "$ref": "266" @@ -8240,7 +8185,7 @@ "value": "1972-10-01T00:00:00Z" }, "value": { - "$id": "982", + "$id": "977", "kind": "number", "type": { "$ref": "269" @@ -8250,15 +8195,15 @@ } }, { - "$id": "983", + "$id": "978", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "984", + "$id": "979", "timestamp": { - "$id": "985", + "$id": "980", "kind": "string", "type": { "$ref": "266" @@ -8266,7 +8211,7 @@ "value": "1972-11-01T00:00:00Z" }, "value": { - "$id": "986", + "$id": "981", "kind": "number", "type": { "$ref": "269" @@ -8276,15 +8221,15 @@ } }, { - "$id": "987", + "$id": "982", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "988", + "$id": "983", "timestamp": { - "$id": "989", + "$id": "984", "kind": "string", "type": { "$ref": "266" @@ -8292,7 +8237,7 @@ "value": "1972-12-01T00:00:00Z" }, "value": { - "$id": "990", + "$id": "985", "kind": "number", "type": { "$ref": "269" @@ -8302,15 +8247,15 @@ } }, { - "$id": "991", + "$id": "986", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "992", + "$id": "987", "timestamp": { - "$id": "993", + "$id": "988", "kind": "string", "type": { "$ref": "266" @@ -8318,7 +8263,7 @@ "value": "1973-01-01T00:00:00Z" }, "value": { - "$id": "994", + "$id": "989", "kind": "number", "type": { "$ref": "269" @@ -8328,15 +8273,15 @@ } }, { - "$id": "995", + "$id": "990", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "996", + "$id": "991", "timestamp": { - "$id": "997", + "$id": "992", "kind": "string", "type": { "$ref": "266" @@ -8344,7 +8289,7 @@ "value": "1973-02-01T00:00:00Z" }, "value": { - "$id": "998", + "$id": "993", "kind": "number", "type": { "$ref": "269" @@ -8354,15 +8299,15 @@ } }, { - "$id": "999", + "$id": "994", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1000", + "$id": "995", "timestamp": { - "$id": "1001", + "$id": "996", "kind": "string", "type": { "$ref": "266" @@ -8370,7 +8315,7 @@ "value": "1973-03-01T00:00:00Z" }, "value": { - "$id": "1002", + "$id": "997", "kind": "number", "type": { "$ref": "269" @@ -8380,15 +8325,15 @@ } }, { - "$id": "1003", + "$id": "998", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1004", + "$id": "999", "timestamp": { - "$id": "1005", + "$id": "1000", "kind": "string", "type": { "$ref": "266" @@ -8396,7 +8341,7 @@ "value": "1973-04-01T00:00:00Z" }, "value": { - "$id": "1006", + "$id": "1001", "kind": "number", "type": { "$ref": "269" @@ -8406,15 +8351,15 @@ } }, { - "$id": "1007", + "$id": "1002", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1008", + "$id": "1003", "timestamp": { - "$id": "1009", + "$id": "1004", "kind": "string", "type": { "$ref": "266" @@ -8422,7 +8367,7 @@ "value": "1973-05-01T00:00:00Z" }, "value": { - "$id": "1010", + "$id": "1005", "kind": "number", "type": { "$ref": "269" @@ -8432,15 +8377,15 @@ } }, { - "$id": "1011", + "$id": "1006", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1012", + "$id": "1007", "timestamp": { - "$id": "1013", + "$id": "1008", "kind": "string", "type": { "$ref": "266" @@ -8448,7 +8393,7 @@ "value": "1973-06-01T00:00:00Z" }, "value": { - "$id": "1014", + "$id": "1009", "kind": "number", "type": { "$ref": "269" @@ -8458,15 +8403,15 @@ } }, { - "$id": "1015", + "$id": "1010", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1016", + "$id": "1011", "timestamp": { - "$id": "1017", + "$id": "1012", "kind": "string", "type": { "$ref": "266" @@ -8474,7 +8419,7 @@ "value": "1973-07-01T00:00:00Z" }, "value": { - "$id": "1018", + "$id": "1013", "kind": "number", "type": { "$ref": "269" @@ -8484,15 +8429,15 @@ } }, { - "$id": "1019", + "$id": "1014", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1020", + "$id": "1015", "timestamp": { - "$id": "1021", + "$id": "1016", "kind": "string", "type": { "$ref": "266" @@ -8500,7 +8445,7 @@ "value": "1973-08-01T00:00:00Z" }, "value": { - "$id": "1022", + "$id": "1017", "kind": "number", "type": { "$ref": "269" @@ -8510,15 +8455,15 @@ } }, { - "$id": "1023", + "$id": "1018", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1024", + "$id": "1019", "timestamp": { - "$id": "1025", + "$id": "1020", "kind": "string", "type": { "$ref": "266" @@ -8526,7 +8471,7 @@ "value": "1973-09-01T00:00:00Z" }, "value": { - "$id": "1026", + "$id": "1021", "kind": "number", "type": { "$ref": "269" @@ -8536,15 +8481,15 @@ } }, { - "$id": "1027", + "$id": "1022", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1028", + "$id": "1023", "timestamp": { - "$id": "1029", + "$id": "1024", "kind": "string", "type": { "$ref": "266" @@ -8552,7 +8497,7 @@ "value": "1973-10-01T00:00:00Z" }, "value": { - "$id": "1030", + "$id": "1025", "kind": "number", "type": { "$ref": "269" @@ -8562,15 +8507,15 @@ } }, { - "$id": "1031", + "$id": "1026", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1032", + "$id": "1027", "timestamp": { - "$id": "1033", + "$id": "1028", "kind": "string", "type": { "$ref": "266" @@ -8578,7 +8523,7 @@ "value": "1973-11-01T00:00:00Z" }, "value": { - "$id": "1034", + "$id": "1029", "kind": "number", "type": { "$ref": "269" @@ -8588,15 +8533,15 @@ } }, { - "$id": "1035", + "$id": "1030", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1036", + "$id": "1031", "timestamp": { - "$id": "1037", + "$id": "1032", "kind": "string", "type": { "$ref": "266" @@ -8604,7 +8549,7 @@ "value": "1973-12-01T00:00:00Z" }, "value": { - "$id": "1038", + "$id": "1033", "kind": "number", "type": { "$ref": "269" @@ -8614,15 +8559,15 @@ } }, { - "$id": "1039", + "$id": "1034", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1040", + "$id": "1035", "timestamp": { - "$id": "1041", + "$id": "1036", "kind": "string", "type": { "$ref": "266" @@ -8630,7 +8575,7 @@ "value": "1974-01-01T00:00:00Z" }, "value": { - "$id": "1042", + "$id": "1037", "kind": "number", "type": { "$ref": "269" @@ -8640,15 +8585,15 @@ } }, { - "$id": "1043", + "$id": "1038", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1044", + "$id": "1039", "timestamp": { - "$id": "1045", + "$id": "1040", "kind": "string", "type": { "$ref": "266" @@ -8656,7 +8601,7 @@ "value": "1974-02-01T00:00:00Z" }, "value": { - "$id": "1046", + "$id": "1041", "kind": "number", "type": { "$ref": "269" @@ -8666,15 +8611,15 @@ } }, { - "$id": "1047", + "$id": "1042", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1048", + "$id": "1043", "timestamp": { - "$id": "1049", + "$id": "1044", "kind": "string", "type": { "$ref": "266" @@ -8682,7 +8627,7 @@ "value": "1974-03-01T00:00:00Z" }, "value": { - "$id": "1050", + "$id": "1045", "kind": "number", "type": { "$ref": "269" @@ -8692,15 +8637,15 @@ } }, { - "$id": "1051", + "$id": "1046", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1052", + "$id": "1047", "timestamp": { - "$id": "1053", + "$id": "1048", "kind": "string", "type": { "$ref": "266" @@ -8708,7 +8653,7 @@ "value": "1974-04-01T00:00:00Z" }, "value": { - "$id": "1054", + "$id": "1049", "kind": "number", "type": { "$ref": "269" @@ -8718,15 +8663,15 @@ } }, { - "$id": "1055", + "$id": "1050", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1056", + "$id": "1051", "timestamp": { - "$id": "1057", + "$id": "1052", "kind": "string", "type": { "$ref": "266" @@ -8734,7 +8679,7 @@ "value": "1974-05-01T00:00:00Z" }, "value": { - "$id": "1058", + "$id": "1053", "kind": "number", "type": { "$ref": "269" @@ -8744,15 +8689,15 @@ } }, { - "$id": "1059", + "$id": "1054", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1060", + "$id": "1055", "timestamp": { - "$id": "1061", + "$id": "1056", "kind": "string", "type": { "$ref": "266" @@ -8760,7 +8705,7 @@ "value": "1974-06-01T00:00:00Z" }, "value": { - "$id": "1062", + "$id": "1057", "kind": "number", "type": { "$ref": "269" @@ -8770,15 +8715,15 @@ } }, { - "$id": "1063", + "$id": "1058", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1064", + "$id": "1059", "timestamp": { - "$id": "1065", + "$id": "1060", "kind": "string", "type": { "$ref": "266" @@ -8786,7 +8731,7 @@ "value": "1974-07-01T00:00:00Z" }, "value": { - "$id": "1066", + "$id": "1061", "kind": "number", "type": { "$ref": "269" @@ -8796,15 +8741,15 @@ } }, { - "$id": "1067", + "$id": "1062", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1068", + "$id": "1063", "timestamp": { - "$id": "1069", + "$id": "1064", "kind": "string", "type": { "$ref": "266" @@ -8812,7 +8757,7 @@ "value": "1974-08-01T00:00:00Z" }, "value": { - "$id": "1070", + "$id": "1065", "kind": "number", "type": { "$ref": "269" @@ -8822,15 +8767,15 @@ } }, { - "$id": "1071", + "$id": "1066", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1072", + "$id": "1067", "timestamp": { - "$id": "1073", + "$id": "1068", "kind": "string", "type": { "$ref": "266" @@ -8838,7 +8783,7 @@ "value": "1974-09-01T00:00:00Z" }, "value": { - "$id": "1074", + "$id": "1069", "kind": "number", "type": { "$ref": "269" @@ -8848,15 +8793,15 @@ } }, { - "$id": "1075", + "$id": "1070", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1076", + "$id": "1071", "timestamp": { - "$id": "1077", + "$id": "1072", "kind": "string", "type": { "$ref": "266" @@ -8864,7 +8809,7 @@ "value": "1974-10-01T00:00:00Z" }, "value": { - "$id": "1078", + "$id": "1073", "kind": "number", "type": { "$ref": "269" @@ -8874,15 +8819,15 @@ } }, { - "$id": "1079", + "$id": "1074", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1080", + "$id": "1075", "timestamp": { - "$id": "1081", + "$id": "1076", "kind": "string", "type": { "$ref": "266" @@ -8890,7 +8835,7 @@ "value": "1974-11-01T00:00:00Z" }, "value": { - "$id": "1082", + "$id": "1077", "kind": "number", "type": { "$ref": "269" @@ -8900,15 +8845,15 @@ } }, { - "$id": "1083", + "$id": "1078", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1084", + "$id": "1079", "timestamp": { - "$id": "1085", + "$id": "1080", "kind": "string", "type": { "$ref": "266" @@ -8916,7 +8861,7 @@ "value": "1974-12-01T00:00:00Z" }, "value": { - "$id": "1086", + "$id": "1081", "kind": "number", "type": { "$ref": "269" @@ -8926,15 +8871,15 @@ } }, { - "$id": "1087", + "$id": "1082", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1088", + "$id": "1083", "timestamp": { - "$id": "1089", + "$id": "1084", "kind": "string", "type": { "$ref": "266" @@ -8942,7 +8887,7 @@ "value": "1975-01-01T00:00:00Z" }, "value": { - "$id": "1090", + "$id": "1085", "kind": "number", "type": { "$ref": "269" @@ -8952,15 +8897,15 @@ } }, { - "$id": "1091", + "$id": "1086", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1092", + "$id": "1087", "timestamp": { - "$id": "1093", + "$id": "1088", "kind": "string", "type": { "$ref": "266" @@ -8968,7 +8913,7 @@ "value": "1975-02-01T00:00:00Z" }, "value": { - "$id": "1094", + "$id": "1089", "kind": "number", "type": { "$ref": "269" @@ -8978,15 +8923,15 @@ } }, { - "$id": "1095", + "$id": "1090", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1096", + "$id": "1091", "timestamp": { - "$id": "1097", + "$id": "1092", "kind": "string", "type": { "$ref": "266" @@ -8994,7 +8939,7 @@ "value": "1975-03-01T00:00:00Z" }, "value": { - "$id": "1098", + "$id": "1093", "kind": "number", "type": { "$ref": "269" @@ -9004,15 +8949,15 @@ } }, { - "$id": "1099", + "$id": "1094", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1100", + "$id": "1095", "timestamp": { - "$id": "1101", + "$id": "1096", "kind": "string", "type": { "$ref": "266" @@ -9020,7 +8965,7 @@ "value": "1975-04-01T00:00:00Z" }, "value": { - "$id": "1102", + "$id": "1097", "kind": "number", "type": { "$ref": "269" @@ -9030,15 +8975,15 @@ } }, { - "$id": "1103", + "$id": "1098", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1104", + "$id": "1099", "timestamp": { - "$id": "1105", + "$id": "1100", "kind": "string", "type": { "$ref": "266" @@ -9046,7 +8991,7 @@ "value": "1975-05-01T00:00:00Z" }, "value": { - "$id": "1106", + "$id": "1101", "kind": "number", "type": { "$ref": "269" @@ -9056,15 +9001,15 @@ } }, { - "$id": "1107", + "$id": "1102", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1108", + "$id": "1103", "timestamp": { - "$id": "1109", + "$id": "1104", "kind": "string", "type": { "$ref": "266" @@ -9072,7 +9017,7 @@ "value": "1975-06-01T00:00:00Z" }, "value": { - "$id": "1110", + "$id": "1105", "kind": "number", "type": { "$ref": "269" @@ -9082,15 +9027,15 @@ } }, { - "$id": "1111", + "$id": "1106", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1112", + "$id": "1107", "timestamp": { - "$id": "1113", + "$id": "1108", "kind": "string", "type": { "$ref": "266" @@ -9098,7 +9043,7 @@ "value": "1975-07-01T00:00:00Z" }, "value": { - "$id": "1114", + "$id": "1109", "kind": "number", "type": { "$ref": "269" @@ -9108,15 +9053,15 @@ } }, { - "$id": "1115", + "$id": "1110", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1116", + "$id": "1111", "timestamp": { - "$id": "1117", + "$id": "1112", "kind": "string", "type": { "$ref": "266" @@ -9124,7 +9069,7 @@ "value": "1975-08-01T00:00:00Z" }, "value": { - "$id": "1118", + "$id": "1113", "kind": "number", "type": { "$ref": "269" @@ -9134,15 +9079,15 @@ } }, { - "$id": "1119", + "$id": "1114", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1120", + "$id": "1115", "timestamp": { - "$id": "1121", + "$id": "1116", "kind": "string", "type": { "$ref": "266" @@ -9150,7 +9095,7 @@ "value": "1975-09-01T00:00:00Z" }, "value": { - "$id": "1122", + "$id": "1117", "kind": "number", "type": { "$ref": "269" @@ -9160,15 +9105,15 @@ } }, { - "$id": "1123", + "$id": "1118", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1124", + "$id": "1119", "timestamp": { - "$id": "1125", + "$id": "1120", "kind": "string", "type": { "$ref": "266" @@ -9176,7 +9121,7 @@ "value": "1975-10-01T00:00:00Z" }, "value": { - "$id": "1126", + "$id": "1121", "kind": "number", "type": { "$ref": "269" @@ -9186,15 +9131,15 @@ } }, { - "$id": "1127", + "$id": "1122", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1128", + "$id": "1123", "timestamp": { - "$id": "1129", + "$id": "1124", "kind": "string", "type": { "$ref": "266" @@ -9202,7 +9147,7 @@ "value": "1975-11-01T00:00:00Z" }, "value": { - "$id": "1130", + "$id": "1125", "kind": "number", "type": { "$ref": "269" @@ -9212,15 +9157,15 @@ } }, { - "$id": "1131", + "$id": "1126", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1132", + "$id": "1127", "timestamp": { - "$id": "1133", + "$id": "1128", "kind": "string", "type": { "$ref": "266" @@ -9228,7 +9173,7 @@ "value": "1975-12-01T00:00:00Z" }, "value": { - "$id": "1134", + "$id": "1129", "kind": "number", "type": { "$ref": "269" @@ -9240,7 +9185,7 @@ ] }, "maxAnomalyRatio": { - "$id": "1135", + "$id": "1130", "kind": "number", "type": { "$ref": "276" @@ -9248,7 +9193,7 @@ "value": 0.25 }, "sensitivity": { - "$id": "1136", + "$id": "1131", "kind": "number", "type": { "$ref": "278" @@ -9256,7 +9201,7 @@ "value": 95 }, "granularity": { - "$id": "1137", + "$id": "1132", "kind": "string", "type": { "$ref": "46" @@ -9264,7 +9209,7 @@ "value": "monthly" }, "imputeMode": { - "$id": "1138", + "$id": "1133", "kind": "string", "type": { "$ref": "66" @@ -9272,7 +9217,7 @@ "value": "fixed" }, "imputeFixedValue": { - "$id": "1139", + "$id": "1134", "kind": "number", "type": { "$ref": "281" @@ -9285,21 +9230,21 @@ ], "responses": [ { - "$id": "1140", + "$id": "1135", "response": { - "$ref": "935" + "$ref": "930" }, "statusCode": 200, "bodyValue": { - "$id": "1141", + "$id": "1136", "kind": "model", "type": { "$ref": "310" }, "value": { - "$id": "1142", + "$id": "1137", "isAnomaly": { - "$id": "1143", + "$id": "1138", "kind": "boolean", "type": { "$ref": "322" @@ -9307,7 +9252,7 @@ "value": false }, "isPositiveAnomaly": { - "$id": "1144", + "$id": "1139", "kind": "boolean", "type": { "$ref": "326" @@ -9315,7 +9260,7 @@ "value": false }, "isNegativeAnomaly": { - "$id": "1145", + "$id": "1140", "kind": "boolean", "type": { "$ref": "324" @@ -9323,7 +9268,7 @@ "value": false }, "period": { - "$id": "1146", + "$id": "1141", "kind": "number", "type": { "$ref": "312" @@ -9331,7 +9276,7 @@ "value": 12 }, "expectedValue": { - "$id": "1147", + "$id": "1142", "kind": "number", "type": { "$ref": "316" @@ -9339,7 +9284,7 @@ "value": 809.2328084659704 }, "upperMargin": { - "$id": "1148", + "$id": "1143", "kind": "number", "type": { "$ref": "318" @@ -9347,7 +9292,7 @@ "value": 40.46164042329852 }, "lowerMargin": { - "$id": "1149", + "$id": "1144", "kind": "number", "type": { "$ref": "320" @@ -9355,7 +9300,7 @@ "value": 40.46164042329852 }, "suggestedWindow": { - "$id": "1150", + "$id": "1145", "kind": "number", "type": { "$ref": "314" @@ -9363,7 +9308,7 @@ "value": 49 }, "severity": { - "$id": "1151", + "$id": "1146", "kind": "number", "type": { "$ref": "328" @@ -9378,7 +9323,7 @@ ] }, { - "$id": "1152", + "$id": "1147", "Name": "DetectUnivariateChangePoint", "ResourceName": "Univariate", "Summary": "Detect change point for the entire series", @@ -9386,21 +9331,15 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "364" - }, - { - "$ref": "366" - }, - { - "$id": "1153", + "$id": "1148", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "1154", + "$id": "1149", "kind": "constant", "valueType": { - "$id": "1155", + "$id": "1150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9420,14 +9359,14 @@ "SkipUrlEncoding": false }, { - "$id": "1156", + "$id": "1151", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "1157", + "$id": "1152", "kind": "constant", "valueType": { - "$id": "1158", + "$id": "1153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9447,7 +9386,7 @@ "SkipUrlEncoding": false }, { - "$id": "1159", + "$id": "1154", "Name": "options", "NameInRequest": "options", "Description": "Method of univariate anomaly detection.", @@ -9467,7 +9406,7 @@ ], "Responses": [ { - "$id": "1160", + "$id": "1155", "StatusCodes": [ 200 ], @@ -9496,56 +9435,56 @@ "Decorators": [], "Examples": [ { - "$id": "1161", + "$id": "1156", "kind": "http", "name": "Univariate detection of a change point", "description": "Univariate detection of a change point", "filePath": "v1.1/ChangePointDetect.json", "parameters": [ { - "$id": "1162", + "$id": "1157", "parameter": { - "$ref": "1153" + "$ref": "1148" }, "value": { - "$id": "1163", + "$id": "1158", "kind": "string", "type": { - "$ref": "1154" + "$ref": "1149" }, "value": "application/json" } }, { - "$id": "1164", + "$id": "1159", "parameter": { - "$ref": "1159" + "$ref": "1154" }, "value": { - "$id": "1165", + "$id": "1160", "kind": "model", "type": { "$ref": "329" }, "value": { - "$id": "1166", + "$id": "1161", "series": { - "$id": "1167", + "$id": "1162", "kind": "array", "type": { "$ref": "331" }, "value": [ { - "$id": "1168", + "$id": "1163", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1169", + "$id": "1164", "timestamp": { - "$id": "1170", + "$id": "1165", "kind": "string", "type": { "$ref": "266" @@ -9553,7 +9492,7 @@ "value": "2017-01-01T06:45:00Z" }, "value": { - "$id": "1171", + "$id": "1166", "kind": "number", "type": { "$ref": "269" @@ -9563,15 +9502,15 @@ } }, { - "$id": "1172", + "$id": "1167", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1173", + "$id": "1168", "timestamp": { - "$id": "1174", + "$id": "1169", "kind": "string", "type": { "$ref": "266" @@ -9579,7 +9518,7 @@ "value": "2017-01-01T06:50:00Z" }, "value": { - "$id": "1175", + "$id": "1170", "kind": "number", "type": { "$ref": "269" @@ -9589,15 +9528,15 @@ } }, { - "$id": "1176", + "$id": "1171", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1177", + "$id": "1172", "timestamp": { - "$id": "1178", + "$id": "1173", "kind": "string", "type": { "$ref": "266" @@ -9605,7 +9544,7 @@ "value": "2017-01-01T06:55:00Z" }, "value": { - "$id": "1179", + "$id": "1174", "kind": "number", "type": { "$ref": "269" @@ -9615,15 +9554,15 @@ } }, { - "$id": "1180", + "$id": "1175", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1181", + "$id": "1176", "timestamp": { - "$id": "1182", + "$id": "1177", "kind": "string", "type": { "$ref": "266" @@ -9631,7 +9570,7 @@ "value": "2017-01-01T07:00:00Z" }, "value": { - "$id": "1183", + "$id": "1178", "kind": "number", "type": { "$ref": "269" @@ -9641,15 +9580,15 @@ } }, { - "$id": "1184", + "$id": "1179", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1185", + "$id": "1180", "timestamp": { - "$id": "1186", + "$id": "1181", "kind": "string", "type": { "$ref": "266" @@ -9657,7 +9596,7 @@ "value": "2017-01-01T07:05:00Z" }, "value": { - "$id": "1187", + "$id": "1182", "kind": "number", "type": { "$ref": "269" @@ -9667,15 +9606,15 @@ } }, { - "$id": "1188", + "$id": "1183", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1189", + "$id": "1184", "timestamp": { - "$id": "1190", + "$id": "1185", "kind": "string", "type": { "$ref": "266" @@ -9683,7 +9622,7 @@ "value": "2017-01-01T07:10:00Z" }, "value": { - "$id": "1191", + "$id": "1186", "kind": "number", "type": { "$ref": "269" @@ -9693,15 +9632,15 @@ } }, { - "$id": "1192", + "$id": "1187", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1193", + "$id": "1188", "timestamp": { - "$id": "1194", + "$id": "1189", "kind": "string", "type": { "$ref": "266" @@ -9709,7 +9648,7 @@ "value": "2017-01-01T07:15:00Z" }, "value": { - "$id": "1195", + "$id": "1190", "kind": "number", "type": { "$ref": "269" @@ -9719,15 +9658,15 @@ } }, { - "$id": "1196", + "$id": "1191", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1197", + "$id": "1192", "timestamp": { - "$id": "1198", + "$id": "1193", "kind": "string", "type": { "$ref": "266" @@ -9735,7 +9674,7 @@ "value": "2017-01-01T07:20:00Z" }, "value": { - "$id": "1199", + "$id": "1194", "kind": "number", "type": { "$ref": "269" @@ -9745,15 +9684,15 @@ } }, { - "$id": "1200", + "$id": "1195", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1201", + "$id": "1196", "timestamp": { - "$id": "1202", + "$id": "1197", "kind": "string", "type": { "$ref": "266" @@ -9761,7 +9700,7 @@ "value": "2017-01-01T07:25:00Z" }, "value": { - "$id": "1203", + "$id": "1198", "kind": "number", "type": { "$ref": "269" @@ -9771,15 +9710,15 @@ } }, { - "$id": "1204", + "$id": "1199", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1205", + "$id": "1200", "timestamp": { - "$id": "1206", + "$id": "1201", "kind": "string", "type": { "$ref": "266" @@ -9787,7 +9726,7 @@ "value": "2017-01-01T07:30:00Z" }, "value": { - "$id": "1207", + "$id": "1202", "kind": "number", "type": { "$ref": "269" @@ -9797,15 +9736,15 @@ } }, { - "$id": "1208", + "$id": "1203", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1209", + "$id": "1204", "timestamp": { - "$id": "1210", + "$id": "1205", "kind": "string", "type": { "$ref": "266" @@ -9813,7 +9752,7 @@ "value": "2017-01-01T07:35:00Z" }, "value": { - "$id": "1211", + "$id": "1206", "kind": "number", "type": { "$ref": "269" @@ -9823,15 +9762,15 @@ } }, { - "$id": "1212", + "$id": "1207", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1213", + "$id": "1208", "timestamp": { - "$id": "1214", + "$id": "1209", "kind": "string", "type": { "$ref": "266" @@ -9839,7 +9778,7 @@ "value": "2017-01-01T07:40:00Z" }, "value": { - "$id": "1215", + "$id": "1210", "kind": "number", "type": { "$ref": "269" @@ -9849,15 +9788,15 @@ } }, { - "$id": "1216", + "$id": "1211", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1217", + "$id": "1212", "timestamp": { - "$id": "1218", + "$id": "1213", "kind": "string", "type": { "$ref": "266" @@ -9865,7 +9804,7 @@ "value": "2017-01-01T07:45:00Z" }, "value": { - "$id": "1219", + "$id": "1214", "kind": "number", "type": { "$ref": "269" @@ -9875,15 +9814,15 @@ } }, { - "$id": "1220", + "$id": "1215", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1221", + "$id": "1216", "timestamp": { - "$id": "1222", + "$id": "1217", "kind": "string", "type": { "$ref": "266" @@ -9891,7 +9830,7 @@ "value": "2017-01-01T07:50:00Z" }, "value": { - "$id": "1223", + "$id": "1218", "kind": "number", "type": { "$ref": "269" @@ -9901,15 +9840,15 @@ } }, { - "$id": "1224", + "$id": "1219", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1225", + "$id": "1220", "timestamp": { - "$id": "1226", + "$id": "1221", "kind": "string", "type": { "$ref": "266" @@ -9917,7 +9856,7 @@ "value": "2017-01-01T07:55:00Z" }, "value": { - "$id": "1227", + "$id": "1222", "kind": "number", "type": { "$ref": "269" @@ -9927,15 +9866,15 @@ } }, { - "$id": "1228", + "$id": "1223", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1229", + "$id": "1224", "timestamp": { - "$id": "1230", + "$id": "1225", "kind": "string", "type": { "$ref": "266" @@ -9943,7 +9882,7 @@ "value": "2017-01-01T08:00:00Z" }, "value": { - "$id": "1231", + "$id": "1226", "kind": "number", "type": { "$ref": "269" @@ -9953,15 +9892,15 @@ } }, { - "$id": "1232", + "$id": "1227", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1233", + "$id": "1228", "timestamp": { - "$id": "1234", + "$id": "1229", "kind": "string", "type": { "$ref": "266" @@ -9969,7 +9908,7 @@ "value": "2017-01-01T08:05:00Z" }, "value": { - "$id": "1235", + "$id": "1230", "kind": "number", "type": { "$ref": "269" @@ -9979,15 +9918,15 @@ } }, { - "$id": "1236", + "$id": "1231", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1237", + "$id": "1232", "timestamp": { - "$id": "1238", + "$id": "1233", "kind": "string", "type": { "$ref": "266" @@ -9995,7 +9934,7 @@ "value": "2017-01-01T08:10:00Z" }, "value": { - "$id": "1239", + "$id": "1234", "kind": "number", "type": { "$ref": "269" @@ -10005,15 +9944,15 @@ } }, { - "$id": "1240", + "$id": "1235", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1241", + "$id": "1236", "timestamp": { - "$id": "1242", + "$id": "1237", "kind": "string", "type": { "$ref": "266" @@ -10021,7 +9960,7 @@ "value": "2017-01-01T08:15:00Z" }, "value": { - "$id": "1243", + "$id": "1238", "kind": "number", "type": { "$ref": "269" @@ -10031,15 +9970,15 @@ } }, { - "$id": "1244", + "$id": "1239", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1245", + "$id": "1240", "timestamp": { - "$id": "1246", + "$id": "1241", "kind": "string", "type": { "$ref": "266" @@ -10047,7 +9986,7 @@ "value": "2017-01-01T08:20:00Z" }, "value": { - "$id": "1247", + "$id": "1242", "kind": "number", "type": { "$ref": "269" @@ -10057,15 +9996,15 @@ } }, { - "$id": "1248", + "$id": "1243", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1249", + "$id": "1244", "timestamp": { - "$id": "1250", + "$id": "1245", "kind": "string", "type": { "$ref": "266" @@ -10073,7 +10012,7 @@ "value": "2017-01-01T08:25:00Z" }, "value": { - "$id": "1251", + "$id": "1246", "kind": "number", "type": { "$ref": "269" @@ -10083,15 +10022,15 @@ } }, { - "$id": "1252", + "$id": "1247", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1253", + "$id": "1248", "timestamp": { - "$id": "1254", + "$id": "1249", "kind": "string", "type": { "$ref": "266" @@ -10099,7 +10038,7 @@ "value": "2017-01-01T08:30:00Z" }, "value": { - "$id": "1255", + "$id": "1250", "kind": "number", "type": { "$ref": "269" @@ -10109,15 +10048,15 @@ } }, { - "$id": "1256", + "$id": "1251", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1257", + "$id": "1252", "timestamp": { - "$id": "1258", + "$id": "1253", "kind": "string", "type": { "$ref": "266" @@ -10125,7 +10064,7 @@ "value": "2017-01-01T08:35:00Z" }, "value": { - "$id": "1259", + "$id": "1254", "kind": "number", "type": { "$ref": "269" @@ -10135,15 +10074,15 @@ } }, { - "$id": "1260", + "$id": "1255", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1261", + "$id": "1256", "timestamp": { - "$id": "1262", + "$id": "1257", "kind": "string", "type": { "$ref": "266" @@ -10151,7 +10090,7 @@ "value": "2017-01-01T08:40:00Z" }, "value": { - "$id": "1263", + "$id": "1258", "kind": "number", "type": { "$ref": "269" @@ -10161,15 +10100,15 @@ } }, { - "$id": "1264", + "$id": "1259", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1265", + "$id": "1260", "timestamp": { - "$id": "1266", + "$id": "1261", "kind": "string", "type": { "$ref": "266" @@ -10177,7 +10116,7 @@ "value": "2017-01-01T08:45:00Z" }, "value": { - "$id": "1267", + "$id": "1262", "kind": "number", "type": { "$ref": "269" @@ -10187,15 +10126,15 @@ } }, { - "$id": "1268", + "$id": "1263", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1269", + "$id": "1264", "timestamp": { - "$id": "1270", + "$id": "1265", "kind": "string", "type": { "$ref": "266" @@ -10203,7 +10142,7 @@ "value": "2017-01-01T08:50:00Z" }, "value": { - "$id": "1271", + "$id": "1266", "kind": "number", "type": { "$ref": "269" @@ -10213,15 +10152,15 @@ } }, { - "$id": "1272", + "$id": "1267", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1273", + "$id": "1268", "timestamp": { - "$id": "1274", + "$id": "1269", "kind": "string", "type": { "$ref": "266" @@ -10229,7 +10168,7 @@ "value": "2017-01-01T08:55:00Z" }, "value": { - "$id": "1275", + "$id": "1270", "kind": "number", "type": { "$ref": "269" @@ -10239,15 +10178,15 @@ } }, { - "$id": "1276", + "$id": "1271", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1277", + "$id": "1272", "timestamp": { - "$id": "1278", + "$id": "1273", "kind": "string", "type": { "$ref": "266" @@ -10255,7 +10194,7 @@ "value": "2017-01-01T09:00:00Z" }, "value": { - "$id": "1279", + "$id": "1274", "kind": "number", "type": { "$ref": "269" @@ -10265,15 +10204,15 @@ } }, { - "$id": "1280", + "$id": "1275", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1281", + "$id": "1276", "timestamp": { - "$id": "1282", + "$id": "1277", "kind": "string", "type": { "$ref": "266" @@ -10281,7 +10220,7 @@ "value": "2017-01-01T09:05:00Z" }, "value": { - "$id": "1283", + "$id": "1278", "kind": "number", "type": { "$ref": "269" @@ -10291,15 +10230,15 @@ } }, { - "$id": "1284", + "$id": "1279", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1285", + "$id": "1280", "timestamp": { - "$id": "1286", + "$id": "1281", "kind": "string", "type": { "$ref": "266" @@ -10307,7 +10246,7 @@ "value": "2017-01-01T09:10:00Z" }, "value": { - "$id": "1287", + "$id": "1282", "kind": "number", "type": { "$ref": "269" @@ -10317,15 +10256,15 @@ } }, { - "$id": "1288", + "$id": "1283", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1289", + "$id": "1284", "timestamp": { - "$id": "1290", + "$id": "1285", "kind": "string", "type": { "$ref": "266" @@ -10333,7 +10272,7 @@ "value": "2017-01-01T09:15:00Z" }, "value": { - "$id": "1291", + "$id": "1286", "kind": "number", "type": { "$ref": "269" @@ -10343,15 +10282,15 @@ } }, { - "$id": "1292", + "$id": "1287", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1293", + "$id": "1288", "timestamp": { - "$id": "1294", + "$id": "1289", "kind": "string", "type": { "$ref": "266" @@ -10359,7 +10298,7 @@ "value": "2017-01-01T09:20:00Z" }, "value": { - "$id": "1295", + "$id": "1290", "kind": "number", "type": { "$ref": "269" @@ -10369,15 +10308,15 @@ } }, { - "$id": "1296", + "$id": "1291", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1297", + "$id": "1292", "timestamp": { - "$id": "1298", + "$id": "1293", "kind": "string", "type": { "$ref": "266" @@ -10385,7 +10324,7 @@ "value": "2017-01-01T09:25:00Z" }, "value": { - "$id": "1299", + "$id": "1294", "kind": "number", "type": { "$ref": "269" @@ -10395,15 +10334,15 @@ } }, { - "$id": "1300", + "$id": "1295", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1301", + "$id": "1296", "timestamp": { - "$id": "1302", + "$id": "1297", "kind": "string", "type": { "$ref": "266" @@ -10411,7 +10350,7 @@ "value": "2017-01-01T09:30:00Z" }, "value": { - "$id": "1303", + "$id": "1298", "kind": "number", "type": { "$ref": "269" @@ -10421,15 +10360,15 @@ } }, { - "$id": "1304", + "$id": "1299", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1305", + "$id": "1300", "timestamp": { - "$id": "1306", + "$id": "1301", "kind": "string", "type": { "$ref": "266" @@ -10437,7 +10376,7 @@ "value": "2017-01-01T09:35:00Z" }, "value": { - "$id": "1307", + "$id": "1302", "kind": "number", "type": { "$ref": "269" @@ -10447,15 +10386,15 @@ } }, { - "$id": "1308", + "$id": "1303", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1309", + "$id": "1304", "timestamp": { - "$id": "1310", + "$id": "1305", "kind": "string", "type": { "$ref": "266" @@ -10463,7 +10402,7 @@ "value": "2017-01-01T09:40:00Z" }, "value": { - "$id": "1311", + "$id": "1306", "kind": "number", "type": { "$ref": "269" @@ -10473,15 +10412,15 @@ } }, { - "$id": "1312", + "$id": "1307", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1313", + "$id": "1308", "timestamp": { - "$id": "1314", + "$id": "1309", "kind": "string", "type": { "$ref": "266" @@ -10489,7 +10428,7 @@ "value": "2017-01-01T09:45:00Z" }, "value": { - "$id": "1315", + "$id": "1310", "kind": "number", "type": { "$ref": "269" @@ -10499,15 +10438,15 @@ } }, { - "$id": "1316", + "$id": "1311", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1317", + "$id": "1312", "timestamp": { - "$id": "1318", + "$id": "1313", "kind": "string", "type": { "$ref": "266" @@ -10515,7 +10454,7 @@ "value": "2017-01-01T09:50:00Z" }, "value": { - "$id": "1319", + "$id": "1314", "kind": "number", "type": { "$ref": "269" @@ -10525,15 +10464,15 @@ } }, { - "$id": "1320", + "$id": "1315", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1321", + "$id": "1316", "timestamp": { - "$id": "1322", + "$id": "1317", "kind": "string", "type": { "$ref": "266" @@ -10541,7 +10480,7 @@ "value": "2017-01-01T09:55:00Z" }, "value": { - "$id": "1323", + "$id": "1318", "kind": "number", "type": { "$ref": "269" @@ -10551,15 +10490,15 @@ } }, { - "$id": "1324", + "$id": "1319", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1325", + "$id": "1320", "timestamp": { - "$id": "1326", + "$id": "1321", "kind": "string", "type": { "$ref": "266" @@ -10567,7 +10506,7 @@ "value": "2017-01-01T10:00:00Z" }, "value": { - "$id": "1327", + "$id": "1322", "kind": "number", "type": { "$ref": "269" @@ -10577,15 +10516,15 @@ } }, { - "$id": "1328", + "$id": "1323", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1329", + "$id": "1324", "timestamp": { - "$id": "1330", + "$id": "1325", "kind": "string", "type": { "$ref": "266" @@ -10593,7 +10532,7 @@ "value": "2017-01-01T10:05:00Z" }, "value": { - "$id": "1331", + "$id": "1326", "kind": "number", "type": { "$ref": "269" @@ -10603,15 +10542,15 @@ } }, { - "$id": "1332", + "$id": "1327", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1333", + "$id": "1328", "timestamp": { - "$id": "1334", + "$id": "1329", "kind": "string", "type": { "$ref": "266" @@ -10619,7 +10558,7 @@ "value": "2017-01-01T10:10:00Z" }, "value": { - "$id": "1335", + "$id": "1330", "kind": "number", "type": { "$ref": "269" @@ -10629,15 +10568,15 @@ } }, { - "$id": "1336", + "$id": "1331", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1337", + "$id": "1332", "timestamp": { - "$id": "1338", + "$id": "1333", "kind": "string", "type": { "$ref": "266" @@ -10645,7 +10584,7 @@ "value": "2017-01-01T10:15:00Z" }, "value": { - "$id": "1339", + "$id": "1334", "kind": "number", "type": { "$ref": "269" @@ -10655,15 +10594,15 @@ } }, { - "$id": "1340", + "$id": "1335", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1341", + "$id": "1336", "timestamp": { - "$id": "1342", + "$id": "1337", "kind": "string", "type": { "$ref": "266" @@ -10671,7 +10610,7 @@ "value": "2017-01-01T10:20:00Z" }, "value": { - "$id": "1343", + "$id": "1338", "kind": "number", "type": { "$ref": "269" @@ -10681,15 +10620,15 @@ } }, { - "$id": "1344", + "$id": "1339", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1345", + "$id": "1340", "timestamp": { - "$id": "1346", + "$id": "1341", "kind": "string", "type": { "$ref": "266" @@ -10697,7 +10636,7 @@ "value": "2017-01-01T10:25:00Z" }, "value": { - "$id": "1347", + "$id": "1342", "kind": "number", "type": { "$ref": "269" @@ -10707,15 +10646,15 @@ } }, { - "$id": "1348", + "$id": "1343", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1349", + "$id": "1344", "timestamp": { - "$id": "1350", + "$id": "1345", "kind": "string", "type": { "$ref": "266" @@ -10723,7 +10662,7 @@ "value": "2017-01-01T10:30:00Z" }, "value": { - "$id": "1351", + "$id": "1346", "kind": "number", "type": { "$ref": "269" @@ -10733,15 +10672,15 @@ } }, { - "$id": "1352", + "$id": "1347", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1353", + "$id": "1348", "timestamp": { - "$id": "1354", + "$id": "1349", "kind": "string", "type": { "$ref": "266" @@ -10749,7 +10688,7 @@ "value": "2017-01-01T10:35:00Z" }, "value": { - "$id": "1355", + "$id": "1350", "kind": "number", "type": { "$ref": "269" @@ -10759,15 +10698,15 @@ } }, { - "$id": "1356", + "$id": "1351", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1357", + "$id": "1352", "timestamp": { - "$id": "1358", + "$id": "1353", "kind": "string", "type": { "$ref": "266" @@ -10775,7 +10714,7 @@ "value": "2017-01-01T10:40:00Z" }, "value": { - "$id": "1359", + "$id": "1354", "kind": "number", "type": { "$ref": "269" @@ -10785,15 +10724,15 @@ } }, { - "$id": "1360", + "$id": "1355", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1361", + "$id": "1356", "timestamp": { - "$id": "1362", + "$id": "1357", "kind": "string", "type": { "$ref": "266" @@ -10801,7 +10740,7 @@ "value": "2017-01-01T10:45:00Z" }, "value": { - "$id": "1363", + "$id": "1358", "kind": "number", "type": { "$ref": "269" @@ -10811,15 +10750,15 @@ } }, { - "$id": "1364", + "$id": "1359", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1365", + "$id": "1360", "timestamp": { - "$id": "1366", + "$id": "1361", "kind": "string", "type": { "$ref": "266" @@ -10827,7 +10766,7 @@ "value": "2017-01-01T10:50:00Z" }, "value": { - "$id": "1367", + "$id": "1362", "kind": "number", "type": { "$ref": "269" @@ -10837,15 +10776,15 @@ } }, { - "$id": "1368", + "$id": "1363", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1369", + "$id": "1364", "timestamp": { - "$id": "1370", + "$id": "1365", "kind": "string", "type": { "$ref": "266" @@ -10853,7 +10792,7 @@ "value": "2017-01-01T10:55:00Z" }, "value": { - "$id": "1371", + "$id": "1366", "kind": "number", "type": { "$ref": "269" @@ -10863,15 +10802,15 @@ } }, { - "$id": "1372", + "$id": "1367", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1373", + "$id": "1368", "timestamp": { - "$id": "1374", + "$id": "1369", "kind": "string", "type": { "$ref": "266" @@ -10879,7 +10818,7 @@ "value": "2017-01-01T11:00:00Z" }, "value": { - "$id": "1375", + "$id": "1370", "kind": "number", "type": { "$ref": "269" @@ -10889,15 +10828,15 @@ } }, { - "$id": "1376", + "$id": "1371", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1377", + "$id": "1372", "timestamp": { - "$id": "1378", + "$id": "1373", "kind": "string", "type": { "$ref": "266" @@ -10905,7 +10844,7 @@ "value": "2017-01-01T11:05:00Z" }, "value": { - "$id": "1379", + "$id": "1374", "kind": "number", "type": { "$ref": "269" @@ -10915,15 +10854,15 @@ } }, { - "$id": "1380", + "$id": "1375", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1381", + "$id": "1376", "timestamp": { - "$id": "1382", + "$id": "1377", "kind": "string", "type": { "$ref": "266" @@ -10931,7 +10870,7 @@ "value": "2017-01-01T11:10:00Z" }, "value": { - "$id": "1383", + "$id": "1378", "kind": "number", "type": { "$ref": "269" @@ -10941,15 +10880,15 @@ } }, { - "$id": "1384", + "$id": "1379", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1385", + "$id": "1380", "timestamp": { - "$id": "1386", + "$id": "1381", "kind": "string", "type": { "$ref": "266" @@ -10957,7 +10896,7 @@ "value": "2017-01-01T11:15:00Z" }, "value": { - "$id": "1387", + "$id": "1382", "kind": "number", "type": { "$ref": "269" @@ -10967,15 +10906,15 @@ } }, { - "$id": "1388", + "$id": "1383", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1389", + "$id": "1384", "timestamp": { - "$id": "1390", + "$id": "1385", "kind": "string", "type": { "$ref": "266" @@ -10983,7 +10922,7 @@ "value": "2017-01-01T11:20:00Z" }, "value": { - "$id": "1391", + "$id": "1386", "kind": "number", "type": { "$ref": "269" @@ -10993,15 +10932,15 @@ } }, { - "$id": "1392", + "$id": "1387", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1393", + "$id": "1388", "timestamp": { - "$id": "1394", + "$id": "1389", "kind": "string", "type": { "$ref": "266" @@ -11009,7 +10948,7 @@ "value": "2017-01-01T11:25:00Z" }, "value": { - "$id": "1395", + "$id": "1390", "kind": "number", "type": { "$ref": "269" @@ -11019,15 +10958,15 @@ } }, { - "$id": "1396", + "$id": "1391", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1397", + "$id": "1392", "timestamp": { - "$id": "1398", + "$id": "1393", "kind": "string", "type": { "$ref": "266" @@ -11035,7 +10974,7 @@ "value": "2017-01-01T11:30:00Z" }, "value": { - "$id": "1399", + "$id": "1394", "kind": "number", "type": { "$ref": "269" @@ -11045,15 +10984,15 @@ } }, { - "$id": "1400", + "$id": "1395", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1401", + "$id": "1396", "timestamp": { - "$id": "1402", + "$id": "1397", "kind": "string", "type": { "$ref": "266" @@ -11061,7 +11000,7 @@ "value": "2017-01-01T11:35:00Z" }, "value": { - "$id": "1403", + "$id": "1398", "kind": "number", "type": { "$ref": "269" @@ -11071,15 +11010,15 @@ } }, { - "$id": "1404", + "$id": "1399", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1405", + "$id": "1400", "timestamp": { - "$id": "1406", + "$id": "1401", "kind": "string", "type": { "$ref": "266" @@ -11087,7 +11026,7 @@ "value": "2017-01-01T11:40:00Z" }, "value": { - "$id": "1407", + "$id": "1402", "kind": "number", "type": { "$ref": "269" @@ -11097,15 +11036,15 @@ } }, { - "$id": "1408", + "$id": "1403", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1409", + "$id": "1404", "timestamp": { - "$id": "1410", + "$id": "1405", "kind": "string", "type": { "$ref": "266" @@ -11113,7 +11052,7 @@ "value": "2017-01-01T11:45:00Z" }, "value": { - "$id": "1411", + "$id": "1406", "kind": "number", "type": { "$ref": "269" @@ -11123,15 +11062,15 @@ } }, { - "$id": "1412", + "$id": "1407", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1413", + "$id": "1408", "timestamp": { - "$id": "1414", + "$id": "1409", "kind": "string", "type": { "$ref": "266" @@ -11139,7 +11078,7 @@ "value": "2017-01-01T11:50:00Z" }, "value": { - "$id": "1415", + "$id": "1410", "kind": "number", "type": { "$ref": "269" @@ -11149,15 +11088,15 @@ } }, { - "$id": "1416", + "$id": "1411", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1417", + "$id": "1412", "timestamp": { - "$id": "1418", + "$id": "1413", "kind": "string", "type": { "$ref": "266" @@ -11165,7 +11104,7 @@ "value": "2017-01-01T11:55:00Z" }, "value": { - "$id": "1419", + "$id": "1414", "kind": "number", "type": { "$ref": "269" @@ -11175,15 +11114,15 @@ } }, { - "$id": "1420", + "$id": "1415", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1421", + "$id": "1416", "timestamp": { - "$id": "1422", + "$id": "1417", "kind": "string", "type": { "$ref": "266" @@ -11191,7 +11130,7 @@ "value": "2017-01-01T12:00:00Z" }, "value": { - "$id": "1423", + "$id": "1418", "kind": "number", "type": { "$ref": "269" @@ -11201,15 +11140,15 @@ } }, { - "$id": "1424", + "$id": "1419", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1425", + "$id": "1420", "timestamp": { - "$id": "1426", + "$id": "1421", "kind": "string", "type": { "$ref": "266" @@ -11217,7 +11156,7 @@ "value": "2017-01-01T12:05:00Z" }, "value": { - "$id": "1427", + "$id": "1422", "kind": "number", "type": { "$ref": "269" @@ -11227,15 +11166,15 @@ } }, { - "$id": "1428", + "$id": "1423", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1429", + "$id": "1424", "timestamp": { - "$id": "1430", + "$id": "1425", "kind": "string", "type": { "$ref": "266" @@ -11243,7 +11182,7 @@ "value": "2017-01-01T12:10:00Z" }, "value": { - "$id": "1431", + "$id": "1426", "kind": "number", "type": { "$ref": "269" @@ -11253,15 +11192,15 @@ } }, { - "$id": "1432", + "$id": "1427", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1433", + "$id": "1428", "timestamp": { - "$id": "1434", + "$id": "1429", "kind": "string", "type": { "$ref": "266" @@ -11269,7 +11208,7 @@ "value": "2017-01-01T12:15:00Z" }, "value": { - "$id": "1435", + "$id": "1430", "kind": "number", "type": { "$ref": "269" @@ -11279,15 +11218,15 @@ } }, { - "$id": "1436", + "$id": "1431", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1437", + "$id": "1432", "timestamp": { - "$id": "1438", + "$id": "1433", "kind": "string", "type": { "$ref": "266" @@ -11295,7 +11234,7 @@ "value": "2017-01-01T12:20:00Z" }, "value": { - "$id": "1439", + "$id": "1434", "kind": "number", "type": { "$ref": "269" @@ -11305,15 +11244,15 @@ } }, { - "$id": "1440", + "$id": "1435", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1441", + "$id": "1436", "timestamp": { - "$id": "1442", + "$id": "1437", "kind": "string", "type": { "$ref": "266" @@ -11321,7 +11260,7 @@ "value": "2017-01-01T12:25:00Z" }, "value": { - "$id": "1443", + "$id": "1438", "kind": "number", "type": { "$ref": "269" @@ -11331,15 +11270,15 @@ } }, { - "$id": "1444", + "$id": "1439", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1445", + "$id": "1440", "timestamp": { - "$id": "1446", + "$id": "1441", "kind": "string", "type": { "$ref": "266" @@ -11347,7 +11286,7 @@ "value": "2017-01-01T12:30:00Z" }, "value": { - "$id": "1447", + "$id": "1442", "kind": "number", "type": { "$ref": "269" @@ -11357,15 +11296,15 @@ } }, { - "$id": "1448", + "$id": "1443", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1449", + "$id": "1444", "timestamp": { - "$id": "1450", + "$id": "1445", "kind": "string", "type": { "$ref": "266" @@ -11373,7 +11312,7 @@ "value": "2017-01-01T12:35:00Z" }, "value": { - "$id": "1451", + "$id": "1446", "kind": "number", "type": { "$ref": "269" @@ -11383,15 +11322,15 @@ } }, { - "$id": "1452", + "$id": "1447", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1453", + "$id": "1448", "timestamp": { - "$id": "1454", + "$id": "1449", "kind": "string", "type": { "$ref": "266" @@ -11399,7 +11338,7 @@ "value": "2017-01-01T12:40:00Z" }, "value": { - "$id": "1455", + "$id": "1450", "kind": "number", "type": { "$ref": "269" @@ -11409,15 +11348,15 @@ } }, { - "$id": "1456", + "$id": "1451", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1457", + "$id": "1452", "timestamp": { - "$id": "1458", + "$id": "1453", "kind": "string", "type": { "$ref": "266" @@ -11425,7 +11364,7 @@ "value": "2017-01-01T12:45:00Z" }, "value": { - "$id": "1459", + "$id": "1454", "kind": "number", "type": { "$ref": "269" @@ -11435,15 +11374,15 @@ } }, { - "$id": "1460", + "$id": "1455", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1461", + "$id": "1456", "timestamp": { - "$id": "1462", + "$id": "1457", "kind": "string", "type": { "$ref": "266" @@ -11451,7 +11390,7 @@ "value": "2017-01-01T12:50:00Z" }, "value": { - "$id": "1463", + "$id": "1458", "kind": "number", "type": { "$ref": "269" @@ -11461,15 +11400,15 @@ } }, { - "$id": "1464", + "$id": "1459", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1465", + "$id": "1460", "timestamp": { - "$id": "1466", + "$id": "1461", "kind": "string", "type": { "$ref": "266" @@ -11477,7 +11416,7 @@ "value": "2017-01-01T12:55:00Z" }, "value": { - "$id": "1467", + "$id": "1462", "kind": "number", "type": { "$ref": "269" @@ -11487,15 +11426,15 @@ } }, { - "$id": "1468", + "$id": "1463", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1469", + "$id": "1464", "timestamp": { - "$id": "1470", + "$id": "1465", "kind": "string", "type": { "$ref": "266" @@ -11503,7 +11442,7 @@ "value": "2017-01-01T13:00:00Z" }, "value": { - "$id": "1471", + "$id": "1466", "kind": "number", "type": { "$ref": "269" @@ -11513,15 +11452,15 @@ } }, { - "$id": "1472", + "$id": "1467", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1473", + "$id": "1468", "timestamp": { - "$id": "1474", + "$id": "1469", "kind": "string", "type": { "$ref": "266" @@ -11529,7 +11468,7 @@ "value": "2017-01-01T13:05:00Z" }, "value": { - "$id": "1475", + "$id": "1470", "kind": "number", "type": { "$ref": "269" @@ -11539,15 +11478,15 @@ } }, { - "$id": "1476", + "$id": "1471", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1477", + "$id": "1472", "timestamp": { - "$id": "1478", + "$id": "1473", "kind": "string", "type": { "$ref": "266" @@ -11555,7 +11494,7 @@ "value": "2017-01-01T13:10:00Z" }, "value": { - "$id": "1479", + "$id": "1474", "kind": "number", "type": { "$ref": "269" @@ -11565,15 +11504,15 @@ } }, { - "$id": "1480", + "$id": "1475", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1481", + "$id": "1476", "timestamp": { - "$id": "1482", + "$id": "1477", "kind": "string", "type": { "$ref": "266" @@ -11581,7 +11520,7 @@ "value": "2017-01-01T13:15:00Z" }, "value": { - "$id": "1483", + "$id": "1478", "kind": "number", "type": { "$ref": "269" @@ -11591,15 +11530,15 @@ } }, { - "$id": "1484", + "$id": "1479", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1485", + "$id": "1480", "timestamp": { - "$id": "1486", + "$id": "1481", "kind": "string", "type": { "$ref": "266" @@ -11607,7 +11546,7 @@ "value": "2017-01-01T13:20:00Z" }, "value": { - "$id": "1487", + "$id": "1482", "kind": "number", "type": { "$ref": "269" @@ -11617,15 +11556,15 @@ } }, { - "$id": "1488", + "$id": "1483", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1489", + "$id": "1484", "timestamp": { - "$id": "1490", + "$id": "1485", "kind": "string", "type": { "$ref": "266" @@ -11633,7 +11572,7 @@ "value": "2017-01-01T13:25:00Z" }, "value": { - "$id": "1491", + "$id": "1486", "kind": "number", "type": { "$ref": "269" @@ -11643,15 +11582,15 @@ } }, { - "$id": "1492", + "$id": "1487", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1493", + "$id": "1488", "timestamp": { - "$id": "1494", + "$id": "1489", "kind": "string", "type": { "$ref": "266" @@ -11659,7 +11598,7 @@ "value": "2017-01-01T13:30:00Z" }, "value": { - "$id": "1495", + "$id": "1490", "kind": "number", "type": { "$ref": "269" @@ -11669,15 +11608,15 @@ } }, { - "$id": "1496", + "$id": "1491", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1497", + "$id": "1492", "timestamp": { - "$id": "1498", + "$id": "1493", "kind": "string", "type": { "$ref": "266" @@ -11685,7 +11624,7 @@ "value": "2017-01-01T13:35:00Z" }, "value": { - "$id": "1499", + "$id": "1494", "kind": "number", "type": { "$ref": "269" @@ -11695,15 +11634,15 @@ } }, { - "$id": "1500", + "$id": "1495", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1501", + "$id": "1496", "timestamp": { - "$id": "1502", + "$id": "1497", "kind": "string", "type": { "$ref": "266" @@ -11711,7 +11650,7 @@ "value": "2017-01-01T13:40:00Z" }, "value": { - "$id": "1503", + "$id": "1498", "kind": "number", "type": { "$ref": "269" @@ -11721,15 +11660,15 @@ } }, { - "$id": "1504", + "$id": "1499", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1505", + "$id": "1500", "timestamp": { - "$id": "1506", + "$id": "1501", "kind": "string", "type": { "$ref": "266" @@ -11737,7 +11676,7 @@ "value": "2017-01-01T13:45:00Z" }, "value": { - "$id": "1507", + "$id": "1502", "kind": "number", "type": { "$ref": "269" @@ -11747,15 +11686,15 @@ } }, { - "$id": "1508", + "$id": "1503", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1509", + "$id": "1504", "timestamp": { - "$id": "1510", + "$id": "1505", "kind": "string", "type": { "$ref": "266" @@ -11763,7 +11702,7 @@ "value": "2017-01-01T13:50:00Z" }, "value": { - "$id": "1511", + "$id": "1506", "kind": "number", "type": { "$ref": "269" @@ -11773,15 +11712,15 @@ } }, { - "$id": "1512", + "$id": "1507", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1513", + "$id": "1508", "timestamp": { - "$id": "1514", + "$id": "1509", "kind": "string", "type": { "$ref": "266" @@ -11789,7 +11728,7 @@ "value": "2017-01-01T13:55:00Z" }, "value": { - "$id": "1515", + "$id": "1510", "kind": "number", "type": { "$ref": "269" @@ -11799,15 +11738,15 @@ } }, { - "$id": "1516", + "$id": "1511", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1517", + "$id": "1512", "timestamp": { - "$id": "1518", + "$id": "1513", "kind": "string", "type": { "$ref": "266" @@ -11815,7 +11754,7 @@ "value": "2017-01-01T14:00:00Z" }, "value": { - "$id": "1519", + "$id": "1514", "kind": "number", "type": { "$ref": "269" @@ -11825,15 +11764,15 @@ } }, { - "$id": "1520", + "$id": "1515", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1521", + "$id": "1516", "timestamp": { - "$id": "1522", + "$id": "1517", "kind": "string", "type": { "$ref": "266" @@ -11841,7 +11780,7 @@ "value": "2017-01-01T14:05:00Z" }, "value": { - "$id": "1523", + "$id": "1518", "kind": "number", "type": { "$ref": "269" @@ -11851,15 +11790,15 @@ } }, { - "$id": "1524", + "$id": "1519", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1525", + "$id": "1520", "timestamp": { - "$id": "1526", + "$id": "1521", "kind": "string", "type": { "$ref": "266" @@ -11867,7 +11806,7 @@ "value": "2017-01-01T14:10:00Z" }, "value": { - "$id": "1527", + "$id": "1522", "kind": "number", "type": { "$ref": "269" @@ -11877,15 +11816,15 @@ } }, { - "$id": "1528", + "$id": "1523", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1529", + "$id": "1524", "timestamp": { - "$id": "1530", + "$id": "1525", "kind": "string", "type": { "$ref": "266" @@ -11893,7 +11832,7 @@ "value": "2017-01-01T14:15:00Z" }, "value": { - "$id": "1531", + "$id": "1526", "kind": "number", "type": { "$ref": "269" @@ -11903,15 +11842,15 @@ } }, { - "$id": "1532", + "$id": "1527", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1533", + "$id": "1528", "timestamp": { - "$id": "1534", + "$id": "1529", "kind": "string", "type": { "$ref": "266" @@ -11919,7 +11858,7 @@ "value": "2017-01-01T14:20:00Z" }, "value": { - "$id": "1535", + "$id": "1530", "kind": "number", "type": { "$ref": "269" @@ -11929,15 +11868,15 @@ } }, { - "$id": "1536", + "$id": "1531", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1537", + "$id": "1532", "timestamp": { - "$id": "1538", + "$id": "1533", "kind": "string", "type": { "$ref": "266" @@ -11945,7 +11884,7 @@ "value": "2017-01-01T14:25:00Z" }, "value": { - "$id": "1539", + "$id": "1534", "kind": "number", "type": { "$ref": "269" @@ -11955,15 +11894,15 @@ } }, { - "$id": "1540", + "$id": "1535", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1541", + "$id": "1536", "timestamp": { - "$id": "1542", + "$id": "1537", "kind": "string", "type": { "$ref": "266" @@ -11971,7 +11910,7 @@ "value": "2017-01-01T14:30:00Z" }, "value": { - "$id": "1543", + "$id": "1538", "kind": "number", "type": { "$ref": "269" @@ -11981,15 +11920,15 @@ } }, { - "$id": "1544", + "$id": "1539", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1545", + "$id": "1540", "timestamp": { - "$id": "1546", + "$id": "1541", "kind": "string", "type": { "$ref": "266" @@ -11997,7 +11936,7 @@ "value": "2017-01-01T14:35:00Z" }, "value": { - "$id": "1547", + "$id": "1542", "kind": "number", "type": { "$ref": "269" @@ -12007,15 +11946,15 @@ } }, { - "$id": "1548", + "$id": "1543", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1549", + "$id": "1544", "timestamp": { - "$id": "1550", + "$id": "1545", "kind": "string", "type": { "$ref": "266" @@ -12023,7 +11962,7 @@ "value": "2017-01-01T14:40:00Z" }, "value": { - "$id": "1551", + "$id": "1546", "kind": "number", "type": { "$ref": "269" @@ -12033,15 +11972,15 @@ } }, { - "$id": "1552", + "$id": "1547", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1553", + "$id": "1548", "timestamp": { - "$id": "1554", + "$id": "1549", "kind": "string", "type": { "$ref": "266" @@ -12049,7 +11988,7 @@ "value": "2017-01-01T14:45:00Z" }, "value": { - "$id": "1555", + "$id": "1550", "kind": "number", "type": { "$ref": "269" @@ -12059,15 +11998,15 @@ } }, { - "$id": "1556", + "$id": "1551", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1557", + "$id": "1552", "timestamp": { - "$id": "1558", + "$id": "1553", "kind": "string", "type": { "$ref": "266" @@ -12075,7 +12014,7 @@ "value": "2017-01-01T14:50:00Z" }, "value": { - "$id": "1559", + "$id": "1554", "kind": "number", "type": { "$ref": "269" @@ -12085,15 +12024,15 @@ } }, { - "$id": "1560", + "$id": "1555", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1561", + "$id": "1556", "timestamp": { - "$id": "1562", + "$id": "1557", "kind": "string", "type": { "$ref": "266" @@ -12101,7 +12040,7 @@ "value": "2017-01-01T14:55:00Z" }, "value": { - "$id": "1563", + "$id": "1558", "kind": "number", "type": { "$ref": "269" @@ -12111,15 +12050,15 @@ } }, { - "$id": "1564", + "$id": "1559", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1565", + "$id": "1560", "timestamp": { - "$id": "1566", + "$id": "1561", "kind": "string", "type": { "$ref": "266" @@ -12127,7 +12066,7 @@ "value": "2017-01-01T15:00:00Z" }, "value": { - "$id": "1567", + "$id": "1562", "kind": "number", "type": { "$ref": "269" @@ -12137,15 +12076,15 @@ } }, { - "$id": "1568", + "$id": "1563", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1569", + "$id": "1564", "timestamp": { - "$id": "1570", + "$id": "1565", "kind": "string", "type": { "$ref": "266" @@ -12153,7 +12092,7 @@ "value": "2017-01-01T15:05:00Z" }, "value": { - "$id": "1571", + "$id": "1566", "kind": "number", "type": { "$ref": "269" @@ -12163,15 +12102,15 @@ } }, { - "$id": "1572", + "$id": "1567", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1573", + "$id": "1568", "timestamp": { - "$id": "1574", + "$id": "1569", "kind": "string", "type": { "$ref": "266" @@ -12179,7 +12118,7 @@ "value": "2017-01-01T15:10:00Z" }, "value": { - "$id": "1575", + "$id": "1570", "kind": "number", "type": { "$ref": "269" @@ -12189,15 +12128,15 @@ } }, { - "$id": "1576", + "$id": "1571", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1577", + "$id": "1572", "timestamp": { - "$id": "1578", + "$id": "1573", "kind": "string", "type": { "$ref": "266" @@ -12205,7 +12144,7 @@ "value": "2017-01-01T15:15:00Z" }, "value": { - "$id": "1579", + "$id": "1574", "kind": "number", "type": { "$ref": "269" @@ -12215,15 +12154,15 @@ } }, { - "$id": "1580", + "$id": "1575", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1581", + "$id": "1576", "timestamp": { - "$id": "1582", + "$id": "1577", "kind": "string", "type": { "$ref": "266" @@ -12231,7 +12170,7 @@ "value": "2017-01-01T15:20:00Z" }, "value": { - "$id": "1583", + "$id": "1578", "kind": "number", "type": { "$ref": "269" @@ -12241,15 +12180,15 @@ } }, { - "$id": "1584", + "$id": "1579", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1585", + "$id": "1580", "timestamp": { - "$id": "1586", + "$id": "1581", "kind": "string", "type": { "$ref": "266" @@ -12257,7 +12196,7 @@ "value": "2017-01-01T15:25:00Z" }, "value": { - "$id": "1587", + "$id": "1582", "kind": "number", "type": { "$ref": "269" @@ -12267,15 +12206,15 @@ } }, { - "$id": "1588", + "$id": "1583", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1589", + "$id": "1584", "timestamp": { - "$id": "1590", + "$id": "1585", "kind": "string", "type": { "$ref": "266" @@ -12283,7 +12222,7 @@ "value": "2017-01-01T15:30:00Z" }, "value": { - "$id": "1591", + "$id": "1586", "kind": "number", "type": { "$ref": "269" @@ -12293,15 +12232,15 @@ } }, { - "$id": "1592", + "$id": "1587", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1593", + "$id": "1588", "timestamp": { - "$id": "1594", + "$id": "1589", "kind": "string", "type": { "$ref": "266" @@ -12309,7 +12248,7 @@ "value": "2017-01-01T15:35:00Z" }, "value": { - "$id": "1595", + "$id": "1590", "kind": "number", "type": { "$ref": "269" @@ -12319,15 +12258,15 @@ } }, { - "$id": "1596", + "$id": "1591", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1597", + "$id": "1592", "timestamp": { - "$id": "1598", + "$id": "1593", "kind": "string", "type": { "$ref": "266" @@ -12335,7 +12274,7 @@ "value": "2017-01-01T15:40:00Z" }, "value": { - "$id": "1599", + "$id": "1594", "kind": "number", "type": { "$ref": "269" @@ -12345,15 +12284,15 @@ } }, { - "$id": "1600", + "$id": "1595", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1601", + "$id": "1596", "timestamp": { - "$id": "1602", + "$id": "1597", "kind": "string", "type": { "$ref": "266" @@ -12361,7 +12300,7 @@ "value": "2017-01-01T15:45:00Z" }, "value": { - "$id": "1603", + "$id": "1598", "kind": "number", "type": { "$ref": "269" @@ -12371,15 +12310,15 @@ } }, { - "$id": "1604", + "$id": "1599", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1605", + "$id": "1600", "timestamp": { - "$id": "1606", + "$id": "1601", "kind": "string", "type": { "$ref": "266" @@ -12387,7 +12326,7 @@ "value": "2017-01-01T15:50:00Z" }, "value": { - "$id": "1607", + "$id": "1602", "kind": "number", "type": { "$ref": "269" @@ -12397,15 +12336,15 @@ } }, { - "$id": "1608", + "$id": "1603", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1609", + "$id": "1604", "timestamp": { - "$id": "1610", + "$id": "1605", "kind": "string", "type": { "$ref": "266" @@ -12413,7 +12352,7 @@ "value": "2017-01-01T15:55:00Z" }, "value": { - "$id": "1611", + "$id": "1606", "kind": "number", "type": { "$ref": "269" @@ -12423,15 +12362,15 @@ } }, { - "$id": "1612", + "$id": "1607", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1613", + "$id": "1608", "timestamp": { - "$id": "1614", + "$id": "1609", "kind": "string", "type": { "$ref": "266" @@ -12439,7 +12378,7 @@ "value": "2017-01-01T16:00:00Z" }, "value": { - "$id": "1615", + "$id": "1610", "kind": "number", "type": { "$ref": "269" @@ -12449,15 +12388,15 @@ } }, { - "$id": "1616", + "$id": "1611", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1617", + "$id": "1612", "timestamp": { - "$id": "1618", + "$id": "1613", "kind": "string", "type": { "$ref": "266" @@ -12465,7 +12404,7 @@ "value": "2017-01-01T16:05:00Z" }, "value": { - "$id": "1619", + "$id": "1614", "kind": "number", "type": { "$ref": "269" @@ -12475,15 +12414,15 @@ } }, { - "$id": "1620", + "$id": "1615", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1621", + "$id": "1616", "timestamp": { - "$id": "1622", + "$id": "1617", "kind": "string", "type": { "$ref": "266" @@ -12491,7 +12430,7 @@ "value": "2017-01-01T16:10:00Z" }, "value": { - "$id": "1623", + "$id": "1618", "kind": "number", "type": { "$ref": "269" @@ -12501,15 +12440,15 @@ } }, { - "$id": "1624", + "$id": "1619", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1625", + "$id": "1620", "timestamp": { - "$id": "1626", + "$id": "1621", "kind": "string", "type": { "$ref": "266" @@ -12517,7 +12456,7 @@ "value": "2017-01-01T16:15:00Z" }, "value": { - "$id": "1627", + "$id": "1622", "kind": "number", "type": { "$ref": "269" @@ -12527,15 +12466,15 @@ } }, { - "$id": "1628", + "$id": "1623", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1629", + "$id": "1624", "timestamp": { - "$id": "1630", + "$id": "1625", "kind": "string", "type": { "$ref": "266" @@ -12543,7 +12482,7 @@ "value": "2017-01-01T16:20:00Z" }, "value": { - "$id": "1631", + "$id": "1626", "kind": "number", "type": { "$ref": "269" @@ -12553,15 +12492,15 @@ } }, { - "$id": "1632", + "$id": "1627", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1633", + "$id": "1628", "timestamp": { - "$id": "1634", + "$id": "1629", "kind": "string", "type": { "$ref": "266" @@ -12569,7 +12508,7 @@ "value": "2017-01-01T16:25:00Z" }, "value": { - "$id": "1635", + "$id": "1630", "kind": "number", "type": { "$ref": "269" @@ -12579,15 +12518,15 @@ } }, { - "$id": "1636", + "$id": "1631", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1637", + "$id": "1632", "timestamp": { - "$id": "1638", + "$id": "1633", "kind": "string", "type": { "$ref": "266" @@ -12595,7 +12534,7 @@ "value": "2017-01-01T16:30:00Z" }, "value": { - "$id": "1639", + "$id": "1634", "kind": "number", "type": { "$ref": "269" @@ -12605,15 +12544,15 @@ } }, { - "$id": "1640", + "$id": "1635", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1641", + "$id": "1636", "timestamp": { - "$id": "1642", + "$id": "1637", "kind": "string", "type": { "$ref": "266" @@ -12621,7 +12560,7 @@ "value": "2017-01-01T16:35:00Z" }, "value": { - "$id": "1643", + "$id": "1638", "kind": "number", "type": { "$ref": "269" @@ -12631,15 +12570,15 @@ } }, { - "$id": "1644", + "$id": "1639", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1645", + "$id": "1640", "timestamp": { - "$id": "1646", + "$id": "1641", "kind": "string", "type": { "$ref": "266" @@ -12647,7 +12586,7 @@ "value": "2017-01-01T16:40:00Z" }, "value": { - "$id": "1647", + "$id": "1642", "kind": "number", "type": { "$ref": "269" @@ -12657,15 +12596,15 @@ } }, { - "$id": "1648", + "$id": "1643", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1649", + "$id": "1644", "timestamp": { - "$id": "1650", + "$id": "1645", "kind": "string", "type": { "$ref": "266" @@ -12673,7 +12612,7 @@ "value": "2017-01-01T16:45:00Z" }, "value": { - "$id": "1651", + "$id": "1646", "kind": "number", "type": { "$ref": "269" @@ -12683,15 +12622,15 @@ } }, { - "$id": "1652", + "$id": "1647", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1653", + "$id": "1648", "timestamp": { - "$id": "1654", + "$id": "1649", "kind": "string", "type": { "$ref": "266" @@ -12699,7 +12638,7 @@ "value": "2017-01-01T16:50:00Z" }, "value": { - "$id": "1655", + "$id": "1650", "kind": "number", "type": { "$ref": "269" @@ -12709,15 +12648,15 @@ } }, { - "$id": "1656", + "$id": "1651", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1657", + "$id": "1652", "timestamp": { - "$id": "1658", + "$id": "1653", "kind": "string", "type": { "$ref": "266" @@ -12725,7 +12664,7 @@ "value": "2017-01-01T16:55:00Z" }, "value": { - "$id": "1659", + "$id": "1654", "kind": "number", "type": { "$ref": "269" @@ -12735,15 +12674,15 @@ } }, { - "$id": "1660", + "$id": "1655", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1661", + "$id": "1656", "timestamp": { - "$id": "1662", + "$id": "1657", "kind": "string", "type": { "$ref": "266" @@ -12751,7 +12690,7 @@ "value": "2017-01-01T17:00:00Z" }, "value": { - "$id": "1663", + "$id": "1658", "kind": "number", "type": { "$ref": "269" @@ -12761,15 +12700,15 @@ } }, { - "$id": "1664", + "$id": "1659", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1665", + "$id": "1660", "timestamp": { - "$id": "1666", + "$id": "1661", "kind": "string", "type": { "$ref": "266" @@ -12777,7 +12716,7 @@ "value": "2017-01-01T17:05:00Z" }, "value": { - "$id": "1667", + "$id": "1662", "kind": "number", "type": { "$ref": "269" @@ -12787,15 +12726,15 @@ } }, { - "$id": "1668", + "$id": "1663", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1669", + "$id": "1664", "timestamp": { - "$id": "1670", + "$id": "1665", "kind": "string", "type": { "$ref": "266" @@ -12803,7 +12742,7 @@ "value": "2017-01-01T17:10:00Z" }, "value": { - "$id": "1671", + "$id": "1666", "kind": "number", "type": { "$ref": "269" @@ -12813,15 +12752,15 @@ } }, { - "$id": "1672", + "$id": "1667", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1673", + "$id": "1668", "timestamp": { - "$id": "1674", + "$id": "1669", "kind": "string", "type": { "$ref": "266" @@ -12829,7 +12768,7 @@ "value": "2017-01-01T17:15:00Z" }, "value": { - "$id": "1675", + "$id": "1670", "kind": "number", "type": { "$ref": "269" @@ -12839,15 +12778,15 @@ } }, { - "$id": "1676", + "$id": "1671", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1677", + "$id": "1672", "timestamp": { - "$id": "1678", + "$id": "1673", "kind": "string", "type": { "$ref": "266" @@ -12855,7 +12794,7 @@ "value": "2017-01-01T17:20:00Z" }, "value": { - "$id": "1679", + "$id": "1674", "kind": "number", "type": { "$ref": "269" @@ -12865,15 +12804,15 @@ } }, { - "$id": "1680", + "$id": "1675", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1681", + "$id": "1676", "timestamp": { - "$id": "1682", + "$id": "1677", "kind": "string", "type": { "$ref": "266" @@ -12881,7 +12820,7 @@ "value": "2017-01-01T17:25:00Z" }, "value": { - "$id": "1683", + "$id": "1678", "kind": "number", "type": { "$ref": "269" @@ -12891,15 +12830,15 @@ } }, { - "$id": "1684", + "$id": "1679", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1685", + "$id": "1680", "timestamp": { - "$id": "1686", + "$id": "1681", "kind": "string", "type": { "$ref": "266" @@ -12907,7 +12846,7 @@ "value": "2017-01-01T17:30:00Z" }, "value": { - "$id": "1687", + "$id": "1682", "kind": "number", "type": { "$ref": "269" @@ -12917,15 +12856,15 @@ } }, { - "$id": "1688", + "$id": "1683", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1689", + "$id": "1684", "timestamp": { - "$id": "1690", + "$id": "1685", "kind": "string", "type": { "$ref": "266" @@ -12933,7 +12872,7 @@ "value": "2017-01-01T17:35:00Z" }, "value": { - "$id": "1691", + "$id": "1686", "kind": "number", "type": { "$ref": "269" @@ -12943,15 +12882,15 @@ } }, { - "$id": "1692", + "$id": "1687", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1693", + "$id": "1688", "timestamp": { - "$id": "1694", + "$id": "1689", "kind": "string", "type": { "$ref": "266" @@ -12959,7 +12898,7 @@ "value": "2017-01-01T17:40:00Z" }, "value": { - "$id": "1695", + "$id": "1690", "kind": "number", "type": { "$ref": "269" @@ -12969,15 +12908,15 @@ } }, { - "$id": "1696", + "$id": "1691", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1697", + "$id": "1692", "timestamp": { - "$id": "1698", + "$id": "1693", "kind": "string", "type": { "$ref": "266" @@ -12985,7 +12924,7 @@ "value": "2017-01-01T17:45:00Z" }, "value": { - "$id": "1699", + "$id": "1694", "kind": "number", "type": { "$ref": "269" @@ -12995,15 +12934,15 @@ } }, { - "$id": "1700", + "$id": "1695", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1701", + "$id": "1696", "timestamp": { - "$id": "1702", + "$id": "1697", "kind": "string", "type": { "$ref": "266" @@ -13011,7 +12950,7 @@ "value": "2017-01-01T17:50:00Z" }, "value": { - "$id": "1703", + "$id": "1698", "kind": "number", "type": { "$ref": "269" @@ -13021,15 +12960,15 @@ } }, { - "$id": "1704", + "$id": "1699", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1705", + "$id": "1700", "timestamp": { - "$id": "1706", + "$id": "1701", "kind": "string", "type": { "$ref": "266" @@ -13037,7 +12976,7 @@ "value": "2017-01-01T17:55:00Z" }, "value": { - "$id": "1707", + "$id": "1702", "kind": "number", "type": { "$ref": "269" @@ -13047,15 +12986,15 @@ } }, { - "$id": "1708", + "$id": "1703", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1709", + "$id": "1704", "timestamp": { - "$id": "1710", + "$id": "1705", "kind": "string", "type": { "$ref": "266" @@ -13063,7 +13002,7 @@ "value": "2017-01-01T18:00:00Z" }, "value": { - "$id": "1711", + "$id": "1706", "kind": "number", "type": { "$ref": "269" @@ -13073,15 +13012,15 @@ } }, { - "$id": "1712", + "$id": "1707", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1713", + "$id": "1708", "timestamp": { - "$id": "1714", + "$id": "1709", "kind": "string", "type": { "$ref": "266" @@ -13089,7 +13028,7 @@ "value": "2017-01-01T18:05:00Z" }, "value": { - "$id": "1715", + "$id": "1710", "kind": "number", "type": { "$ref": "269" @@ -13099,15 +13038,15 @@ } }, { - "$id": "1716", + "$id": "1711", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1717", + "$id": "1712", "timestamp": { - "$id": "1718", + "$id": "1713", "kind": "string", "type": { "$ref": "266" @@ -13115,7 +13054,7 @@ "value": "2017-01-01T18:10:00Z" }, "value": { - "$id": "1719", + "$id": "1714", "kind": "number", "type": { "$ref": "269" @@ -13125,15 +13064,15 @@ } }, { - "$id": "1720", + "$id": "1715", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1721", + "$id": "1716", "timestamp": { - "$id": "1722", + "$id": "1717", "kind": "string", "type": { "$ref": "266" @@ -13141,7 +13080,7 @@ "value": "2017-01-01T18:15:00Z" }, "value": { - "$id": "1723", + "$id": "1718", "kind": "number", "type": { "$ref": "269" @@ -13151,15 +13090,15 @@ } }, { - "$id": "1724", + "$id": "1719", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1725", + "$id": "1720", "timestamp": { - "$id": "1726", + "$id": "1721", "kind": "string", "type": { "$ref": "266" @@ -13167,7 +13106,7 @@ "value": "2017-01-01T18:20:00Z" }, "value": { - "$id": "1727", + "$id": "1722", "kind": "number", "type": { "$ref": "269" @@ -13177,15 +13116,15 @@ } }, { - "$id": "1728", + "$id": "1723", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1729", + "$id": "1724", "timestamp": { - "$id": "1730", + "$id": "1725", "kind": "string", "type": { "$ref": "266" @@ -13193,7 +13132,7 @@ "value": "2017-01-01T18:25:00Z" }, "value": { - "$id": "1731", + "$id": "1726", "kind": "number", "type": { "$ref": "269" @@ -13203,15 +13142,15 @@ } }, { - "$id": "1732", + "$id": "1727", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1733", + "$id": "1728", "timestamp": { - "$id": "1734", + "$id": "1729", "kind": "string", "type": { "$ref": "266" @@ -13219,7 +13158,7 @@ "value": "2017-01-01T18:30:00Z" }, "value": { - "$id": "1735", + "$id": "1730", "kind": "number", "type": { "$ref": "269" @@ -13229,15 +13168,15 @@ } }, { - "$id": "1736", + "$id": "1731", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1737", + "$id": "1732", "timestamp": { - "$id": "1738", + "$id": "1733", "kind": "string", "type": { "$ref": "266" @@ -13245,7 +13184,7 @@ "value": "2017-01-01T18:35:00Z" }, "value": { - "$id": "1739", + "$id": "1734", "kind": "number", "type": { "$ref": "269" @@ -13255,15 +13194,15 @@ } }, { - "$id": "1740", + "$id": "1735", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1741", + "$id": "1736", "timestamp": { - "$id": "1742", + "$id": "1737", "kind": "string", "type": { "$ref": "266" @@ -13271,7 +13210,7 @@ "value": "2017-01-01T18:40:00Z" }, "value": { - "$id": "1743", + "$id": "1738", "kind": "number", "type": { "$ref": "269" @@ -13281,15 +13220,15 @@ } }, { - "$id": "1744", + "$id": "1739", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1745", + "$id": "1740", "timestamp": { - "$id": "1746", + "$id": "1741", "kind": "string", "type": { "$ref": "266" @@ -13297,7 +13236,7 @@ "value": "2017-01-01T18:45:00Z" }, "value": { - "$id": "1747", + "$id": "1742", "kind": "number", "type": { "$ref": "269" @@ -13307,15 +13246,15 @@ } }, { - "$id": "1748", + "$id": "1743", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1749", + "$id": "1744", "timestamp": { - "$id": "1750", + "$id": "1745", "kind": "string", "type": { "$ref": "266" @@ -13323,7 +13262,7 @@ "value": "2017-01-01T18:50:00Z" }, "value": { - "$id": "1751", + "$id": "1746", "kind": "number", "type": { "$ref": "269" @@ -13333,15 +13272,15 @@ } }, { - "$id": "1752", + "$id": "1747", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1753", + "$id": "1748", "timestamp": { - "$id": "1754", + "$id": "1749", "kind": "string", "type": { "$ref": "266" @@ -13349,7 +13288,7 @@ "value": "2017-01-01T18:55:00Z" }, "value": { - "$id": "1755", + "$id": "1750", "kind": "number", "type": { "$ref": "269" @@ -13359,15 +13298,15 @@ } }, { - "$id": "1756", + "$id": "1751", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1757", + "$id": "1752", "timestamp": { - "$id": "1758", + "$id": "1753", "kind": "string", "type": { "$ref": "266" @@ -13375,7 +13314,7 @@ "value": "2017-01-01T19:00:00Z" }, "value": { - "$id": "1759", + "$id": "1754", "kind": "number", "type": { "$ref": "269" @@ -13385,15 +13324,15 @@ } }, { - "$id": "1760", + "$id": "1755", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1761", + "$id": "1756", "timestamp": { - "$id": "1762", + "$id": "1757", "kind": "string", "type": { "$ref": "266" @@ -13401,7 +13340,7 @@ "value": "2017-01-01T19:05:00Z" }, "value": { - "$id": "1763", + "$id": "1758", "kind": "number", "type": { "$ref": "269" @@ -13411,15 +13350,15 @@ } }, { - "$id": "1764", + "$id": "1759", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1765", + "$id": "1760", "timestamp": { - "$id": "1766", + "$id": "1761", "kind": "string", "type": { "$ref": "266" @@ -13427,7 +13366,7 @@ "value": "2017-01-01T19:10:00Z" }, "value": { - "$id": "1767", + "$id": "1762", "kind": "number", "type": { "$ref": "269" @@ -13437,15 +13376,15 @@ } }, { - "$id": "1768", + "$id": "1763", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1769", + "$id": "1764", "timestamp": { - "$id": "1770", + "$id": "1765", "kind": "string", "type": { "$ref": "266" @@ -13453,7 +13392,7 @@ "value": "2017-01-01T19:15:00Z" }, "value": { - "$id": "1771", + "$id": "1766", "kind": "number", "type": { "$ref": "269" @@ -13463,15 +13402,15 @@ } }, { - "$id": "1772", + "$id": "1767", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1773", + "$id": "1768", "timestamp": { - "$id": "1774", + "$id": "1769", "kind": "string", "type": { "$ref": "266" @@ -13479,7 +13418,7 @@ "value": "2017-01-01T19:20:00Z" }, "value": { - "$id": "1775", + "$id": "1770", "kind": "number", "type": { "$ref": "269" @@ -13489,15 +13428,15 @@ } }, { - "$id": "1776", + "$id": "1771", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1777", + "$id": "1772", "timestamp": { - "$id": "1778", + "$id": "1773", "kind": "string", "type": { "$ref": "266" @@ -13505,7 +13444,7 @@ "value": "2017-01-01T19:25:00Z" }, "value": { - "$id": "1779", + "$id": "1774", "kind": "number", "type": { "$ref": "269" @@ -13515,15 +13454,15 @@ } }, { - "$id": "1780", + "$id": "1775", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1781", + "$id": "1776", "timestamp": { - "$id": "1782", + "$id": "1777", "kind": "string", "type": { "$ref": "266" @@ -13531,7 +13470,7 @@ "value": "2017-01-01T19:30:00Z" }, "value": { - "$id": "1783", + "$id": "1778", "kind": "number", "type": { "$ref": "269" @@ -13541,15 +13480,15 @@ } }, { - "$id": "1784", + "$id": "1779", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1785", + "$id": "1780", "timestamp": { - "$id": "1786", + "$id": "1781", "kind": "string", "type": { "$ref": "266" @@ -13557,7 +13496,7 @@ "value": "2017-01-01T19:35:00Z" }, "value": { - "$id": "1787", + "$id": "1782", "kind": "number", "type": { "$ref": "269" @@ -13567,15 +13506,15 @@ } }, { - "$id": "1788", + "$id": "1783", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1789", + "$id": "1784", "timestamp": { - "$id": "1790", + "$id": "1785", "kind": "string", "type": { "$ref": "266" @@ -13583,7 +13522,7 @@ "value": "2017-01-01T19:40:00Z" }, "value": { - "$id": "1791", + "$id": "1786", "kind": "number", "type": { "$ref": "269" @@ -13593,15 +13532,15 @@ } }, { - "$id": "1792", + "$id": "1787", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1793", + "$id": "1788", "timestamp": { - "$id": "1794", + "$id": "1789", "kind": "string", "type": { "$ref": "266" @@ -13609,7 +13548,7 @@ "value": "2017-01-01T19:45:00Z" }, "value": { - "$id": "1795", + "$id": "1790", "kind": "number", "type": { "$ref": "269" @@ -13619,15 +13558,15 @@ } }, { - "$id": "1796", + "$id": "1791", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1797", + "$id": "1792", "timestamp": { - "$id": "1798", + "$id": "1793", "kind": "string", "type": { "$ref": "266" @@ -13635,7 +13574,7 @@ "value": "2017-01-01T19:50:00Z" }, "value": { - "$id": "1799", + "$id": "1794", "kind": "number", "type": { "$ref": "269" @@ -13645,15 +13584,15 @@ } }, { - "$id": "1800", + "$id": "1795", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1801", + "$id": "1796", "timestamp": { - "$id": "1802", + "$id": "1797", "kind": "string", "type": { "$ref": "266" @@ -13661,7 +13600,7 @@ "value": "2017-01-01T19:55:00Z" }, "value": { - "$id": "1803", + "$id": "1798", "kind": "number", "type": { "$ref": "269" @@ -13671,15 +13610,15 @@ } }, { - "$id": "1804", + "$id": "1799", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1805", + "$id": "1800", "timestamp": { - "$id": "1806", + "$id": "1801", "kind": "string", "type": { "$ref": "266" @@ -13687,7 +13626,7 @@ "value": "2017-01-01T20:00:00Z" }, "value": { - "$id": "1807", + "$id": "1802", "kind": "number", "type": { "$ref": "269" @@ -13697,15 +13636,15 @@ } }, { - "$id": "1808", + "$id": "1803", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1809", + "$id": "1804", "timestamp": { - "$id": "1810", + "$id": "1805", "kind": "string", "type": { "$ref": "266" @@ -13713,7 +13652,7 @@ "value": "2017-01-01T20:05:00Z" }, "value": { - "$id": "1811", + "$id": "1806", "kind": "number", "type": { "$ref": "269" @@ -13723,15 +13662,15 @@ } }, { - "$id": "1812", + "$id": "1807", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1813", + "$id": "1808", "timestamp": { - "$id": "1814", + "$id": "1809", "kind": "string", "type": { "$ref": "266" @@ -13739,7 +13678,7 @@ "value": "2017-01-01T20:10:00Z" }, "value": { - "$id": "1815", + "$id": "1810", "kind": "number", "type": { "$ref": "269" @@ -13749,15 +13688,15 @@ } }, { - "$id": "1816", + "$id": "1811", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1817", + "$id": "1812", "timestamp": { - "$id": "1818", + "$id": "1813", "kind": "string", "type": { "$ref": "266" @@ -13765,7 +13704,7 @@ "value": "2017-01-01T20:15:00Z" }, "value": { - "$id": "1819", + "$id": "1814", "kind": "number", "type": { "$ref": "269" @@ -13775,15 +13714,15 @@ } }, { - "$id": "1820", + "$id": "1815", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1821", + "$id": "1816", "timestamp": { - "$id": "1822", + "$id": "1817", "kind": "string", "type": { "$ref": "266" @@ -13791,7 +13730,7 @@ "value": "2017-01-01T20:20:00Z" }, "value": { - "$id": "1823", + "$id": "1818", "kind": "number", "type": { "$ref": "269" @@ -13801,15 +13740,15 @@ } }, { - "$id": "1824", + "$id": "1819", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1825", + "$id": "1820", "timestamp": { - "$id": "1826", + "$id": "1821", "kind": "string", "type": { "$ref": "266" @@ -13817,7 +13756,7 @@ "value": "2017-01-01T20:25:00Z" }, "value": { - "$id": "1827", + "$id": "1822", "kind": "number", "type": { "$ref": "269" @@ -13827,15 +13766,15 @@ } }, { - "$id": "1828", + "$id": "1823", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1829", + "$id": "1824", "timestamp": { - "$id": "1830", + "$id": "1825", "kind": "string", "type": { "$ref": "266" @@ -13843,7 +13782,7 @@ "value": "2017-01-01T20:30:00Z" }, "value": { - "$id": "1831", + "$id": "1826", "kind": "number", "type": { "$ref": "269" @@ -13853,15 +13792,15 @@ } }, { - "$id": "1832", + "$id": "1827", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1833", + "$id": "1828", "timestamp": { - "$id": "1834", + "$id": "1829", "kind": "string", "type": { "$ref": "266" @@ -13869,7 +13808,7 @@ "value": "2017-01-01T20:35:00Z" }, "value": { - "$id": "1835", + "$id": "1830", "kind": "number", "type": { "$ref": "269" @@ -13879,15 +13818,15 @@ } }, { - "$id": "1836", + "$id": "1831", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1837", + "$id": "1832", "timestamp": { - "$id": "1838", + "$id": "1833", "kind": "string", "type": { "$ref": "266" @@ -13895,7 +13834,7 @@ "value": "2017-01-01T20:40:00Z" }, "value": { - "$id": "1839", + "$id": "1834", "kind": "number", "type": { "$ref": "269" @@ -13905,15 +13844,15 @@ } }, { - "$id": "1840", + "$id": "1835", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1841", + "$id": "1836", "timestamp": { - "$id": "1842", + "$id": "1837", "kind": "string", "type": { "$ref": "266" @@ -13921,7 +13860,7 @@ "value": "2017-01-01T20:45:00Z" }, "value": { - "$id": "1843", + "$id": "1838", "kind": "number", "type": { "$ref": "269" @@ -13931,15 +13870,15 @@ } }, { - "$id": "1844", + "$id": "1839", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1845", + "$id": "1840", "timestamp": { - "$id": "1846", + "$id": "1841", "kind": "string", "type": { "$ref": "266" @@ -13947,7 +13886,7 @@ "value": "2017-01-01T20:50:00Z" }, "value": { - "$id": "1847", + "$id": "1842", "kind": "number", "type": { "$ref": "269" @@ -13957,15 +13896,15 @@ } }, { - "$id": "1848", + "$id": "1843", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1849", + "$id": "1844", "timestamp": { - "$id": "1850", + "$id": "1845", "kind": "string", "type": { "$ref": "266" @@ -13973,7 +13912,7 @@ "value": "2017-01-01T20:55:00Z" }, "value": { - "$id": "1851", + "$id": "1846", "kind": "number", "type": { "$ref": "269" @@ -13983,15 +13922,15 @@ } }, { - "$id": "1852", + "$id": "1847", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1853", + "$id": "1848", "timestamp": { - "$id": "1854", + "$id": "1849", "kind": "string", "type": { "$ref": "266" @@ -13999,7 +13938,7 @@ "value": "2017-01-01T21:00:00Z" }, "value": { - "$id": "1855", + "$id": "1850", "kind": "number", "type": { "$ref": "269" @@ -14009,15 +13948,15 @@ } }, { - "$id": "1856", + "$id": "1851", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1857", + "$id": "1852", "timestamp": { - "$id": "1858", + "$id": "1853", "kind": "string", "type": { "$ref": "266" @@ -14025,7 +13964,7 @@ "value": "2017-01-01T21:05:00Z" }, "value": { - "$id": "1859", + "$id": "1854", "kind": "number", "type": { "$ref": "269" @@ -14035,15 +13974,15 @@ } }, { - "$id": "1860", + "$id": "1855", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1861", + "$id": "1856", "timestamp": { - "$id": "1862", + "$id": "1857", "kind": "string", "type": { "$ref": "266" @@ -14051,7 +13990,7 @@ "value": "2017-01-01T21:10:00Z" }, "value": { - "$id": "1863", + "$id": "1858", "kind": "number", "type": { "$ref": "269" @@ -14061,15 +14000,15 @@ } }, { - "$id": "1864", + "$id": "1859", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1865", + "$id": "1860", "timestamp": { - "$id": "1866", + "$id": "1861", "kind": "string", "type": { "$ref": "266" @@ -14077,7 +14016,7 @@ "value": "2017-01-01T21:15:00Z" }, "value": { - "$id": "1867", + "$id": "1862", "kind": "number", "type": { "$ref": "269" @@ -14087,15 +14026,15 @@ } }, { - "$id": "1868", + "$id": "1863", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1869", + "$id": "1864", "timestamp": { - "$id": "1870", + "$id": "1865", "kind": "string", "type": { "$ref": "266" @@ -14103,7 +14042,7 @@ "value": "2017-01-01T21:20:00Z" }, "value": { - "$id": "1871", + "$id": "1866", "kind": "number", "type": { "$ref": "269" @@ -14113,15 +14052,15 @@ } }, { - "$id": "1872", + "$id": "1867", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1873", + "$id": "1868", "timestamp": { - "$id": "1874", + "$id": "1869", "kind": "string", "type": { "$ref": "266" @@ -14129,7 +14068,7 @@ "value": "2017-01-01T21:25:00Z" }, "value": { - "$id": "1875", + "$id": "1870", "kind": "number", "type": { "$ref": "269" @@ -14139,15 +14078,15 @@ } }, { - "$id": "1876", + "$id": "1871", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1877", + "$id": "1872", "timestamp": { - "$id": "1878", + "$id": "1873", "kind": "string", "type": { "$ref": "266" @@ -14155,7 +14094,7 @@ "value": "2017-01-01T21:30:00Z" }, "value": { - "$id": "1879", + "$id": "1874", "kind": "number", "type": { "$ref": "269" @@ -14165,15 +14104,15 @@ } }, { - "$id": "1880", + "$id": "1875", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1881", + "$id": "1876", "timestamp": { - "$id": "1882", + "$id": "1877", "kind": "string", "type": { "$ref": "266" @@ -14181,7 +14120,7 @@ "value": "2017-01-01T21:35:00Z" }, "value": { - "$id": "1883", + "$id": "1878", "kind": "number", "type": { "$ref": "269" @@ -14191,15 +14130,15 @@ } }, { - "$id": "1884", + "$id": "1879", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1885", + "$id": "1880", "timestamp": { - "$id": "1886", + "$id": "1881", "kind": "string", "type": { "$ref": "266" @@ -14207,7 +14146,7 @@ "value": "2017-01-01T21:40:00Z" }, "value": { - "$id": "1887", + "$id": "1882", "kind": "number", "type": { "$ref": "269" @@ -14217,15 +14156,15 @@ } }, { - "$id": "1888", + "$id": "1883", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1889", + "$id": "1884", "timestamp": { - "$id": "1890", + "$id": "1885", "kind": "string", "type": { "$ref": "266" @@ -14233,7 +14172,7 @@ "value": "2017-01-01T21:45:00Z" }, "value": { - "$id": "1891", + "$id": "1886", "kind": "number", "type": { "$ref": "269" @@ -14243,15 +14182,15 @@ } }, { - "$id": "1892", + "$id": "1887", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1893", + "$id": "1888", "timestamp": { - "$id": "1894", + "$id": "1889", "kind": "string", "type": { "$ref": "266" @@ -14259,7 +14198,7 @@ "value": "2017-01-01T21:50:00Z" }, "value": { - "$id": "1895", + "$id": "1890", "kind": "number", "type": { "$ref": "269" @@ -14269,15 +14208,15 @@ } }, { - "$id": "1896", + "$id": "1891", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1897", + "$id": "1892", "timestamp": { - "$id": "1898", + "$id": "1893", "kind": "string", "type": { "$ref": "266" @@ -14285,7 +14224,7 @@ "value": "2017-01-01T21:55:00Z" }, "value": { - "$id": "1899", + "$id": "1894", "kind": "number", "type": { "$ref": "269" @@ -14295,15 +14234,15 @@ } }, { - "$id": "1900", + "$id": "1895", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1901", + "$id": "1896", "timestamp": { - "$id": "1902", + "$id": "1897", "kind": "string", "type": { "$ref": "266" @@ -14311,7 +14250,7 @@ "value": "2017-01-01T22:00:00Z" }, "value": { - "$id": "1903", + "$id": "1898", "kind": "number", "type": { "$ref": "269" @@ -14321,15 +14260,15 @@ } }, { - "$id": "1904", + "$id": "1899", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1905", + "$id": "1900", "timestamp": { - "$id": "1906", + "$id": "1901", "kind": "string", "type": { "$ref": "266" @@ -14337,7 +14276,7 @@ "value": "2017-01-01T22:05:00Z" }, "value": { - "$id": "1907", + "$id": "1902", "kind": "number", "type": { "$ref": "269" @@ -14347,15 +14286,15 @@ } }, { - "$id": "1908", + "$id": "1903", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1909", + "$id": "1904", "timestamp": { - "$id": "1910", + "$id": "1905", "kind": "string", "type": { "$ref": "266" @@ -14363,7 +14302,7 @@ "value": "2017-01-01T22:10:00Z" }, "value": { - "$id": "1911", + "$id": "1906", "kind": "number", "type": { "$ref": "269" @@ -14373,15 +14312,15 @@ } }, { - "$id": "1912", + "$id": "1907", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1913", + "$id": "1908", "timestamp": { - "$id": "1914", + "$id": "1909", "kind": "string", "type": { "$ref": "266" @@ -14389,7 +14328,7 @@ "value": "2017-01-01T22:15:00Z" }, "value": { - "$id": "1915", + "$id": "1910", "kind": "number", "type": { "$ref": "269" @@ -14399,15 +14338,15 @@ } }, { - "$id": "1916", + "$id": "1911", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1917", + "$id": "1912", "timestamp": { - "$id": "1918", + "$id": "1913", "kind": "string", "type": { "$ref": "266" @@ -14415,7 +14354,7 @@ "value": "2017-01-01T22:20:00Z" }, "value": { - "$id": "1919", + "$id": "1914", "kind": "number", "type": { "$ref": "269" @@ -14425,15 +14364,15 @@ } }, { - "$id": "1920", + "$id": "1915", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1921", + "$id": "1916", "timestamp": { - "$id": "1922", + "$id": "1917", "kind": "string", "type": { "$ref": "266" @@ -14441,7 +14380,7 @@ "value": "2017-01-01T22:25:00Z" }, "value": { - "$id": "1923", + "$id": "1918", "kind": "number", "type": { "$ref": "269" @@ -14451,15 +14390,15 @@ } }, { - "$id": "1924", + "$id": "1919", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1925", + "$id": "1920", "timestamp": { - "$id": "1926", + "$id": "1921", "kind": "string", "type": { "$ref": "266" @@ -14467,7 +14406,7 @@ "value": "2017-01-01T22:30:00Z" }, "value": { - "$id": "1927", + "$id": "1922", "kind": "number", "type": { "$ref": "269" @@ -14477,15 +14416,15 @@ } }, { - "$id": "1928", + "$id": "1923", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1929", + "$id": "1924", "timestamp": { - "$id": "1930", + "$id": "1925", "kind": "string", "type": { "$ref": "266" @@ -14493,7 +14432,7 @@ "value": "2017-01-01T22:35:00Z" }, "value": { - "$id": "1931", + "$id": "1926", "kind": "number", "type": { "$ref": "269" @@ -14503,15 +14442,15 @@ } }, { - "$id": "1932", + "$id": "1927", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1933", + "$id": "1928", "timestamp": { - "$id": "1934", + "$id": "1929", "kind": "string", "type": { "$ref": "266" @@ -14519,7 +14458,7 @@ "value": "2017-01-01T22:40:00Z" }, "value": { - "$id": "1935", + "$id": "1930", "kind": "number", "type": { "$ref": "269" @@ -14529,15 +14468,15 @@ } }, { - "$id": "1936", + "$id": "1931", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1937", + "$id": "1932", "timestamp": { - "$id": "1938", + "$id": "1933", "kind": "string", "type": { "$ref": "266" @@ -14545,7 +14484,7 @@ "value": "2017-01-01T22:45:00Z" }, "value": { - "$id": "1939", + "$id": "1934", "kind": "number", "type": { "$ref": "269" @@ -14555,15 +14494,15 @@ } }, { - "$id": "1940", + "$id": "1935", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1941", + "$id": "1936", "timestamp": { - "$id": "1942", + "$id": "1937", "kind": "string", "type": { "$ref": "266" @@ -14571,7 +14510,7 @@ "value": "2017-01-01T22:50:00Z" }, "value": { - "$id": "1943", + "$id": "1938", "kind": "number", "type": { "$ref": "269" @@ -14581,15 +14520,15 @@ } }, { - "$id": "1944", + "$id": "1939", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1945", + "$id": "1940", "timestamp": { - "$id": "1946", + "$id": "1941", "kind": "string", "type": { "$ref": "266" @@ -14597,7 +14536,7 @@ "value": "2017-01-01T22:55:00Z" }, "value": { - "$id": "1947", + "$id": "1942", "kind": "number", "type": { "$ref": "269" @@ -14607,15 +14546,15 @@ } }, { - "$id": "1948", + "$id": "1943", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1949", + "$id": "1944", "timestamp": { - "$id": "1950", + "$id": "1945", "kind": "string", "type": { "$ref": "266" @@ -14623,7 +14562,7 @@ "value": "2017-01-01T23:00:00Z" }, "value": { - "$id": "1951", + "$id": "1946", "kind": "number", "type": { "$ref": "269" @@ -14633,15 +14572,15 @@ } }, { - "$id": "1952", + "$id": "1947", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1953", + "$id": "1948", "timestamp": { - "$id": "1954", + "$id": "1949", "kind": "string", "type": { "$ref": "266" @@ -14649,7 +14588,7 @@ "value": "2017-01-01T23:05:00Z" }, "value": { - "$id": "1955", + "$id": "1950", "kind": "number", "type": { "$ref": "269" @@ -14659,15 +14598,15 @@ } }, { - "$id": "1956", + "$id": "1951", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1957", + "$id": "1952", "timestamp": { - "$id": "1958", + "$id": "1953", "kind": "string", "type": { "$ref": "266" @@ -14675,7 +14614,7 @@ "value": "2017-01-01T23:10:00Z" }, "value": { - "$id": "1959", + "$id": "1954", "kind": "number", "type": { "$ref": "269" @@ -14685,15 +14624,15 @@ } }, { - "$id": "1960", + "$id": "1955", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1961", + "$id": "1956", "timestamp": { - "$id": "1962", + "$id": "1957", "kind": "string", "type": { "$ref": "266" @@ -14701,7 +14640,7 @@ "value": "2017-01-01T23:15:00Z" }, "value": { - "$id": "1963", + "$id": "1958", "kind": "number", "type": { "$ref": "269" @@ -14711,15 +14650,15 @@ } }, { - "$id": "1964", + "$id": "1959", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1965", + "$id": "1960", "timestamp": { - "$id": "1966", + "$id": "1961", "kind": "string", "type": { "$ref": "266" @@ -14727,7 +14666,7 @@ "value": "2017-01-01T23:20:00Z" }, "value": { - "$id": "1967", + "$id": "1962", "kind": "number", "type": { "$ref": "269" @@ -14737,15 +14676,15 @@ } }, { - "$id": "1968", + "$id": "1963", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1969", + "$id": "1964", "timestamp": { - "$id": "1970", + "$id": "1965", "kind": "string", "type": { "$ref": "266" @@ -14753,7 +14692,7 @@ "value": "2017-01-01T23:25:00Z" }, "value": { - "$id": "1971", + "$id": "1966", "kind": "number", "type": { "$ref": "269" @@ -14763,15 +14702,15 @@ } }, { - "$id": "1972", + "$id": "1967", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1973", + "$id": "1968", "timestamp": { - "$id": "1974", + "$id": "1969", "kind": "string", "type": { "$ref": "266" @@ -14779,7 +14718,7 @@ "value": "2017-01-01T23:30:00Z" }, "value": { - "$id": "1975", + "$id": "1970", "kind": "number", "type": { "$ref": "269" @@ -14789,15 +14728,15 @@ } }, { - "$id": "1976", + "$id": "1971", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1977", + "$id": "1972", "timestamp": { - "$id": "1978", + "$id": "1973", "kind": "string", "type": { "$ref": "266" @@ -14805,7 +14744,7 @@ "value": "2017-01-01T23:35:00Z" }, "value": { - "$id": "1979", + "$id": "1974", "kind": "number", "type": { "$ref": "269" @@ -14815,15 +14754,15 @@ } }, { - "$id": "1980", + "$id": "1975", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1981", + "$id": "1976", "timestamp": { - "$id": "1982", + "$id": "1977", "kind": "string", "type": { "$ref": "266" @@ -14831,7 +14770,7 @@ "value": "2017-01-01T23:40:00Z" }, "value": { - "$id": "1983", + "$id": "1978", "kind": "number", "type": { "$ref": "269" @@ -14841,15 +14780,15 @@ } }, { - "$id": "1984", + "$id": "1979", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1985", + "$id": "1980", "timestamp": { - "$id": "1986", + "$id": "1981", "kind": "string", "type": { "$ref": "266" @@ -14857,7 +14796,7 @@ "value": "2017-01-01T23:45:00Z" }, "value": { - "$id": "1987", + "$id": "1982", "kind": "number", "type": { "$ref": "269" @@ -14867,15 +14806,15 @@ } }, { - "$id": "1988", + "$id": "1983", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1989", + "$id": "1984", "timestamp": { - "$id": "1990", + "$id": "1985", "kind": "string", "type": { "$ref": "266" @@ -14883,7 +14822,7 @@ "value": "2017-01-01T23:50:00Z" }, "value": { - "$id": "1991", + "$id": "1986", "kind": "number", "type": { "$ref": "269" @@ -14893,15 +14832,15 @@ } }, { - "$id": "1992", + "$id": "1987", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1993", + "$id": "1988", "timestamp": { - "$id": "1994", + "$id": "1989", "kind": "string", "type": { "$ref": "266" @@ -14909,7 +14848,7 @@ "value": "2017-01-01T23:55:00Z" }, "value": { - "$id": "1995", + "$id": "1990", "kind": "number", "type": { "$ref": "269" @@ -14919,15 +14858,15 @@ } }, { - "$id": "1996", + "$id": "1991", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "1997", + "$id": "1992", "timestamp": { - "$id": "1998", + "$id": "1993", "kind": "string", "type": { "$ref": "266" @@ -14935,7 +14874,7 @@ "value": "2017-01-02T00:00:00Z" }, "value": { - "$id": "1999", + "$id": "1994", "kind": "number", "type": { "$ref": "269" @@ -14945,15 +14884,15 @@ } }, { - "$id": "2000", + "$id": "1995", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2001", + "$id": "1996", "timestamp": { - "$id": "2002", + "$id": "1997", "kind": "string", "type": { "$ref": "266" @@ -14961,7 +14900,7 @@ "value": "2017-01-02T00:05:00Z" }, "value": { - "$id": "2003", + "$id": "1998", "kind": "number", "type": { "$ref": "269" @@ -14971,15 +14910,15 @@ } }, { - "$id": "2004", + "$id": "1999", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2005", + "$id": "2000", "timestamp": { - "$id": "2006", + "$id": "2001", "kind": "string", "type": { "$ref": "266" @@ -14987,7 +14926,7 @@ "value": "2017-01-02T00:10:00Z" }, "value": { - "$id": "2007", + "$id": "2002", "kind": "number", "type": { "$ref": "269" @@ -14997,15 +14936,15 @@ } }, { - "$id": "2008", + "$id": "2003", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2009", + "$id": "2004", "timestamp": { - "$id": "2010", + "$id": "2005", "kind": "string", "type": { "$ref": "266" @@ -15013,7 +14952,7 @@ "value": "2017-01-02T00:15:00Z" }, "value": { - "$id": "2011", + "$id": "2006", "kind": "number", "type": { "$ref": "269" @@ -15023,15 +14962,15 @@ } }, { - "$id": "2012", + "$id": "2007", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2013", + "$id": "2008", "timestamp": { - "$id": "2014", + "$id": "2009", "kind": "string", "type": { "$ref": "266" @@ -15039,7 +14978,7 @@ "value": "2017-01-02T00:20:00Z" }, "value": { - "$id": "2015", + "$id": "2010", "kind": "number", "type": { "$ref": "269" @@ -15049,15 +14988,15 @@ } }, { - "$id": "2016", + "$id": "2011", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2017", + "$id": "2012", "timestamp": { - "$id": "2018", + "$id": "2013", "kind": "string", "type": { "$ref": "266" @@ -15065,7 +15004,7 @@ "value": "2017-01-02T00:25:00Z" }, "value": { - "$id": "2019", + "$id": "2014", "kind": "number", "type": { "$ref": "269" @@ -15075,15 +15014,15 @@ } }, { - "$id": "2020", + "$id": "2015", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2021", + "$id": "2016", "timestamp": { - "$id": "2022", + "$id": "2017", "kind": "string", "type": { "$ref": "266" @@ -15091,7 +15030,7 @@ "value": "2017-01-02T00:30:00Z" }, "value": { - "$id": "2023", + "$id": "2018", "kind": "number", "type": { "$ref": "269" @@ -15101,15 +15040,15 @@ } }, { - "$id": "2024", + "$id": "2019", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2025", + "$id": "2020", "timestamp": { - "$id": "2026", + "$id": "2021", "kind": "string", "type": { "$ref": "266" @@ -15117,7 +15056,7 @@ "value": "2017-01-02T00:35:00Z" }, "value": { - "$id": "2027", + "$id": "2022", "kind": "number", "type": { "$ref": "269" @@ -15127,15 +15066,15 @@ } }, { - "$id": "2028", + "$id": "2023", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2029", + "$id": "2024", "timestamp": { - "$id": "2030", + "$id": "2025", "kind": "string", "type": { "$ref": "266" @@ -15143,7 +15082,7 @@ "value": "2017-01-02T00:40:00Z" }, "value": { - "$id": "2031", + "$id": "2026", "kind": "number", "type": { "$ref": "269" @@ -15153,15 +15092,15 @@ } }, { - "$id": "2032", + "$id": "2027", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2033", + "$id": "2028", "timestamp": { - "$id": "2034", + "$id": "2029", "kind": "string", "type": { "$ref": "266" @@ -15169,7 +15108,7 @@ "value": "2017-01-02T00:45:00Z" }, "value": { - "$id": "2035", + "$id": "2030", "kind": "number", "type": { "$ref": "269" @@ -15179,15 +15118,15 @@ } }, { - "$id": "2036", + "$id": "2031", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2037", + "$id": "2032", "timestamp": { - "$id": "2038", + "$id": "2033", "kind": "string", "type": { "$ref": "266" @@ -15195,7 +15134,7 @@ "value": "2017-01-02T00:50:00Z" }, "value": { - "$id": "2039", + "$id": "2034", "kind": "number", "type": { "$ref": "269" @@ -15205,15 +15144,15 @@ } }, { - "$id": "2040", + "$id": "2035", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2041", + "$id": "2036", "timestamp": { - "$id": "2042", + "$id": "2037", "kind": "string", "type": { "$ref": "266" @@ -15221,7 +15160,7 @@ "value": "2017-01-02T00:55:00Z" }, "value": { - "$id": "2043", + "$id": "2038", "kind": "number", "type": { "$ref": "269" @@ -15231,15 +15170,15 @@ } }, { - "$id": "2044", + "$id": "2039", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2045", + "$id": "2040", "timestamp": { - "$id": "2046", + "$id": "2041", "kind": "string", "type": { "$ref": "266" @@ -15247,7 +15186,7 @@ "value": "2017-01-02T01:00:00Z" }, "value": { - "$id": "2047", + "$id": "2042", "kind": "number", "type": { "$ref": "269" @@ -15257,15 +15196,15 @@ } }, { - "$id": "2048", + "$id": "2043", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2049", + "$id": "2044", "timestamp": { - "$id": "2050", + "$id": "2045", "kind": "string", "type": { "$ref": "266" @@ -15273,7 +15212,7 @@ "value": "2017-01-02T01:05:00Z" }, "value": { - "$id": "2051", + "$id": "2046", "kind": "number", "type": { "$ref": "269" @@ -15283,15 +15222,15 @@ } }, { - "$id": "2052", + "$id": "2047", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2053", + "$id": "2048", "timestamp": { - "$id": "2054", + "$id": "2049", "kind": "string", "type": { "$ref": "266" @@ -15299,7 +15238,7 @@ "value": "2017-01-02T01:10:00Z" }, "value": { - "$id": "2055", + "$id": "2050", "kind": "number", "type": { "$ref": "269" @@ -15309,15 +15248,15 @@ } }, { - "$id": "2056", + "$id": "2051", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2057", + "$id": "2052", "timestamp": { - "$id": "2058", + "$id": "2053", "kind": "string", "type": { "$ref": "266" @@ -15325,7 +15264,7 @@ "value": "2017-01-02T01:15:00Z" }, "value": { - "$id": "2059", + "$id": "2054", "kind": "number", "type": { "$ref": "269" @@ -15335,15 +15274,15 @@ } }, { - "$id": "2060", + "$id": "2055", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2061", + "$id": "2056", "timestamp": { - "$id": "2062", + "$id": "2057", "kind": "string", "type": { "$ref": "266" @@ -15351,7 +15290,7 @@ "value": "2017-01-02T01:20:00Z" }, "value": { - "$id": "2063", + "$id": "2058", "kind": "number", "type": { "$ref": "269" @@ -15361,15 +15300,15 @@ } }, { - "$id": "2064", + "$id": "2059", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2065", + "$id": "2060", "timestamp": { - "$id": "2066", + "$id": "2061", "kind": "string", "type": { "$ref": "266" @@ -15377,7 +15316,7 @@ "value": "2017-01-02T01:25:00Z" }, "value": { - "$id": "2067", + "$id": "2062", "kind": "number", "type": { "$ref": "269" @@ -15387,15 +15326,15 @@ } }, { - "$id": "2068", + "$id": "2063", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2069", + "$id": "2064", "timestamp": { - "$id": "2070", + "$id": "2065", "kind": "string", "type": { "$ref": "266" @@ -15403,7 +15342,7 @@ "value": "2017-01-02T01:30:00Z" }, "value": { - "$id": "2071", + "$id": "2066", "kind": "number", "type": { "$ref": "269" @@ -15413,15 +15352,15 @@ } }, { - "$id": "2072", + "$id": "2067", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2073", + "$id": "2068", "timestamp": { - "$id": "2074", + "$id": "2069", "kind": "string", "type": { "$ref": "266" @@ -15429,7 +15368,7 @@ "value": "2017-01-02T01:35:00Z" }, "value": { - "$id": "2075", + "$id": "2070", "kind": "number", "type": { "$ref": "269" @@ -15439,15 +15378,15 @@ } }, { - "$id": "2076", + "$id": "2071", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2077", + "$id": "2072", "timestamp": { - "$id": "2078", + "$id": "2073", "kind": "string", "type": { "$ref": "266" @@ -15455,7 +15394,7 @@ "value": "2017-01-02T01:40:00Z" }, "value": { - "$id": "2079", + "$id": "2074", "kind": "number", "type": { "$ref": "269" @@ -15465,15 +15404,15 @@ } }, { - "$id": "2080", + "$id": "2075", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2081", + "$id": "2076", "timestamp": { - "$id": "2082", + "$id": "2077", "kind": "string", "type": { "$ref": "266" @@ -15481,7 +15420,7 @@ "value": "2017-01-02T01:45:00Z" }, "value": { - "$id": "2083", + "$id": "2078", "kind": "number", "type": { "$ref": "269" @@ -15491,15 +15430,15 @@ } }, { - "$id": "2084", + "$id": "2079", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2085", + "$id": "2080", "timestamp": { - "$id": "2086", + "$id": "2081", "kind": "string", "type": { "$ref": "266" @@ -15507,7 +15446,7 @@ "value": "2017-01-02T01:50:00Z" }, "value": { - "$id": "2087", + "$id": "2082", "kind": "number", "type": { "$ref": "269" @@ -15517,15 +15456,15 @@ } }, { - "$id": "2088", + "$id": "2083", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2089", + "$id": "2084", "timestamp": { - "$id": "2090", + "$id": "2085", "kind": "string", "type": { "$ref": "266" @@ -15533,7 +15472,7 @@ "value": "2017-01-02T01:55:00Z" }, "value": { - "$id": "2091", + "$id": "2086", "kind": "number", "type": { "$ref": "269" @@ -15543,15 +15482,15 @@ } }, { - "$id": "2092", + "$id": "2087", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2093", + "$id": "2088", "timestamp": { - "$id": "2094", + "$id": "2089", "kind": "string", "type": { "$ref": "266" @@ -15559,7 +15498,7 @@ "value": "2017-01-02T02:00:00Z" }, "value": { - "$id": "2095", + "$id": "2090", "kind": "number", "type": { "$ref": "269" @@ -15569,15 +15508,15 @@ } }, { - "$id": "2096", + "$id": "2091", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2097", + "$id": "2092", "timestamp": { - "$id": "2098", + "$id": "2093", "kind": "string", "type": { "$ref": "266" @@ -15585,7 +15524,7 @@ "value": "2017-01-02T02:05:00Z" }, "value": { - "$id": "2099", + "$id": "2094", "kind": "number", "type": { "$ref": "269" @@ -15595,15 +15534,15 @@ } }, { - "$id": "2100", + "$id": "2095", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2101", + "$id": "2096", "timestamp": { - "$id": "2102", + "$id": "2097", "kind": "string", "type": { "$ref": "266" @@ -15611,7 +15550,7 @@ "value": "2017-01-02T02:10:00Z" }, "value": { - "$id": "2103", + "$id": "2098", "kind": "number", "type": { "$ref": "269" @@ -15621,15 +15560,15 @@ } }, { - "$id": "2104", + "$id": "2099", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2105", + "$id": "2100", "timestamp": { - "$id": "2106", + "$id": "2101", "kind": "string", "type": { "$ref": "266" @@ -15637,7 +15576,7 @@ "value": "2017-01-02T02:15:00Z" }, "value": { - "$id": "2107", + "$id": "2102", "kind": "number", "type": { "$ref": "269" @@ -15647,15 +15586,15 @@ } }, { - "$id": "2108", + "$id": "2103", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2109", + "$id": "2104", "timestamp": { - "$id": "2110", + "$id": "2105", "kind": "string", "type": { "$ref": "266" @@ -15663,7 +15602,7 @@ "value": "2017-01-02T02:20:00Z" }, "value": { - "$id": "2111", + "$id": "2106", "kind": "number", "type": { "$ref": "269" @@ -15673,15 +15612,15 @@ } }, { - "$id": "2112", + "$id": "2107", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2113", + "$id": "2108", "timestamp": { - "$id": "2114", + "$id": "2109", "kind": "string", "type": { "$ref": "266" @@ -15689,7 +15628,7 @@ "value": "2017-01-02T02:25:00Z" }, "value": { - "$id": "2115", + "$id": "2110", "kind": "number", "type": { "$ref": "269" @@ -15699,15 +15638,15 @@ } }, { - "$id": "2116", + "$id": "2111", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2117", + "$id": "2112", "timestamp": { - "$id": "2118", + "$id": "2113", "kind": "string", "type": { "$ref": "266" @@ -15715,7 +15654,7 @@ "value": "2017-01-02T02:30:00Z" }, "value": { - "$id": "2119", + "$id": "2114", "kind": "number", "type": { "$ref": "269" @@ -15725,15 +15664,15 @@ } }, { - "$id": "2120", + "$id": "2115", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2121", + "$id": "2116", "timestamp": { - "$id": "2122", + "$id": "2117", "kind": "string", "type": { "$ref": "266" @@ -15741,7 +15680,7 @@ "value": "2017-01-02T02:35:00Z" }, "value": { - "$id": "2123", + "$id": "2118", "kind": "number", "type": { "$ref": "269" @@ -15751,15 +15690,15 @@ } }, { - "$id": "2124", + "$id": "2119", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2125", + "$id": "2120", "timestamp": { - "$id": "2126", + "$id": "2121", "kind": "string", "type": { "$ref": "266" @@ -15767,7 +15706,7 @@ "value": "2017-01-02T02:40:00Z" }, "value": { - "$id": "2127", + "$id": "2122", "kind": "number", "type": { "$ref": "269" @@ -15777,15 +15716,15 @@ } }, { - "$id": "2128", + "$id": "2123", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2129", + "$id": "2124", "timestamp": { - "$id": "2130", + "$id": "2125", "kind": "string", "type": { "$ref": "266" @@ -15793,7 +15732,7 @@ "value": "2017-01-02T02:45:00Z" }, "value": { - "$id": "2131", + "$id": "2126", "kind": "number", "type": { "$ref": "269" @@ -15803,15 +15742,15 @@ } }, { - "$id": "2132", + "$id": "2127", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2133", + "$id": "2128", "timestamp": { - "$id": "2134", + "$id": "2129", "kind": "string", "type": { "$ref": "266" @@ -15819,7 +15758,7 @@ "value": "2017-01-02T02:50:00Z" }, "value": { - "$id": "2135", + "$id": "2130", "kind": "number", "type": { "$ref": "269" @@ -15829,15 +15768,15 @@ } }, { - "$id": "2136", + "$id": "2131", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2137", + "$id": "2132", "timestamp": { - "$id": "2138", + "$id": "2133", "kind": "string", "type": { "$ref": "266" @@ -15845,7 +15784,7 @@ "value": "2017-01-02T02:55:00Z" }, "value": { - "$id": "2139", + "$id": "2134", "kind": "number", "type": { "$ref": "269" @@ -15855,15 +15794,15 @@ } }, { - "$id": "2140", + "$id": "2135", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2141", + "$id": "2136", "timestamp": { - "$id": "2142", + "$id": "2137", "kind": "string", "type": { "$ref": "266" @@ -15871,7 +15810,7 @@ "value": "2017-01-02T03:00:00Z" }, "value": { - "$id": "2143", + "$id": "2138", "kind": "number", "type": { "$ref": "269" @@ -15881,15 +15820,15 @@ } }, { - "$id": "2144", + "$id": "2139", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2145", + "$id": "2140", "timestamp": { - "$id": "2146", + "$id": "2141", "kind": "string", "type": { "$ref": "266" @@ -15897,7 +15836,7 @@ "value": "2017-01-02T03:05:00Z" }, "value": { - "$id": "2147", + "$id": "2142", "kind": "number", "type": { "$ref": "269" @@ -15907,15 +15846,15 @@ } }, { - "$id": "2148", + "$id": "2143", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2149", + "$id": "2144", "timestamp": { - "$id": "2150", + "$id": "2145", "kind": "string", "type": { "$ref": "266" @@ -15923,7 +15862,7 @@ "value": "2017-01-02T03:10:00Z" }, "value": { - "$id": "2151", + "$id": "2146", "kind": "number", "type": { "$ref": "269" @@ -15933,15 +15872,15 @@ } }, { - "$id": "2152", + "$id": "2147", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2153", + "$id": "2148", "timestamp": { - "$id": "2154", + "$id": "2149", "kind": "string", "type": { "$ref": "266" @@ -15949,7 +15888,7 @@ "value": "2017-01-02T03:15:00Z" }, "value": { - "$id": "2155", + "$id": "2150", "kind": "number", "type": { "$ref": "269" @@ -15959,15 +15898,15 @@ } }, { - "$id": "2156", + "$id": "2151", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2157", + "$id": "2152", "timestamp": { - "$id": "2158", + "$id": "2153", "kind": "string", "type": { "$ref": "266" @@ -15975,7 +15914,7 @@ "value": "2017-01-02T03:20:00Z" }, "value": { - "$id": "2159", + "$id": "2154", "kind": "number", "type": { "$ref": "269" @@ -15985,15 +15924,15 @@ } }, { - "$id": "2160", + "$id": "2155", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2161", + "$id": "2156", "timestamp": { - "$id": "2162", + "$id": "2157", "kind": "string", "type": { "$ref": "266" @@ -16001,7 +15940,7 @@ "value": "2017-01-02T03:25:00Z" }, "value": { - "$id": "2163", + "$id": "2158", "kind": "number", "type": { "$ref": "269" @@ -16011,15 +15950,15 @@ } }, { - "$id": "2164", + "$id": "2159", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2165", + "$id": "2160", "timestamp": { - "$id": "2166", + "$id": "2161", "kind": "string", "type": { "$ref": "266" @@ -16027,7 +15966,7 @@ "value": "2017-01-02T03:30:00Z" }, "value": { - "$id": "2167", + "$id": "2162", "kind": "number", "type": { "$ref": "269" @@ -16037,15 +15976,15 @@ } }, { - "$id": "2168", + "$id": "2163", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2169", + "$id": "2164", "timestamp": { - "$id": "2170", + "$id": "2165", "kind": "string", "type": { "$ref": "266" @@ -16053,7 +15992,7 @@ "value": "2017-01-02T03:35:00Z" }, "value": { - "$id": "2171", + "$id": "2166", "kind": "number", "type": { "$ref": "269" @@ -16063,15 +16002,15 @@ } }, { - "$id": "2172", + "$id": "2167", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2173", + "$id": "2168", "timestamp": { - "$id": "2174", + "$id": "2169", "kind": "string", "type": { "$ref": "266" @@ -16079,7 +16018,7 @@ "value": "2017-01-02T03:40:00Z" }, "value": { - "$id": "2175", + "$id": "2170", "kind": "number", "type": { "$ref": "269" @@ -16089,15 +16028,15 @@ } }, { - "$id": "2176", + "$id": "2171", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2177", + "$id": "2172", "timestamp": { - "$id": "2178", + "$id": "2173", "kind": "string", "type": { "$ref": "266" @@ -16105,7 +16044,7 @@ "value": "2017-01-02T03:45:00Z" }, "value": { - "$id": "2179", + "$id": "2174", "kind": "number", "type": { "$ref": "269" @@ -16115,15 +16054,15 @@ } }, { - "$id": "2180", + "$id": "2175", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2181", + "$id": "2176", "timestamp": { - "$id": "2182", + "$id": "2177", "kind": "string", "type": { "$ref": "266" @@ -16131,7 +16070,7 @@ "value": "2017-01-02T03:50:00Z" }, "value": { - "$id": "2183", + "$id": "2178", "kind": "number", "type": { "$ref": "269" @@ -16141,15 +16080,15 @@ } }, { - "$id": "2184", + "$id": "2179", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2185", + "$id": "2180", "timestamp": { - "$id": "2186", + "$id": "2181", "kind": "string", "type": { "$ref": "266" @@ -16157,7 +16096,7 @@ "value": "2017-01-02T03:55:00Z" }, "value": { - "$id": "2187", + "$id": "2182", "kind": "number", "type": { "$ref": "269" @@ -16167,15 +16106,15 @@ } }, { - "$id": "2188", + "$id": "2183", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2189", + "$id": "2184", "timestamp": { - "$id": "2190", + "$id": "2185", "kind": "string", "type": { "$ref": "266" @@ -16183,7 +16122,7 @@ "value": "2017-01-02T04:00:00Z" }, "value": { - "$id": "2191", + "$id": "2186", "kind": "number", "type": { "$ref": "269" @@ -16193,15 +16132,15 @@ } }, { - "$id": "2192", + "$id": "2187", "kind": "model", "type": { "$ref": "264" }, "value": { - "$id": "2193", + "$id": "2188", "timestamp": { - "$id": "2194", + "$id": "2189", "kind": "string", "type": { "$ref": "266" @@ -16209,7 +16148,7 @@ "value": "2017-01-02T04:05:00Z" }, "value": { - "$id": "2195", + "$id": "2190", "kind": "number", "type": { "$ref": "269" @@ -16221,7 +16160,7 @@ ] }, "granularity": { - "$id": "2196", + "$id": "2191", "kind": "string", "type": { "$ref": "46" @@ -16229,7 +16168,7 @@ "value": "minutely" }, "customInterval": { - "$id": "2197", + "$id": "2192", "kind": "number", "type": { "$ref": "334" @@ -16237,7 +16176,7 @@ "value": 5 }, "stableTrendWindow": { - "$id": "2198", + "$id": "2193", "kind": "number", "type": { "$ref": "338" @@ -16245,7 +16184,7 @@ "value": 10 }, "threshold": { - "$id": "2199", + "$id": "2194", "kind": "number", "type": { "$ref": "340" @@ -16253,7 +16192,7 @@ "value": 0.99 }, "period": { - "$id": "2200", + "$id": "2195", "kind": "number", "type": { "$ref": "336" @@ -16266,21 +16205,21 @@ ], "responses": [ { - "$id": "2201", + "$id": "2196", "response": { - "$ref": "1160" + "$ref": "1155" }, "statusCode": 200, "bodyValue": { - "$id": "2202", + "$id": "2197", "kind": "model", "type": { "$ref": "341" }, "value": { - "$id": "2203", + "$id": "2198", "period": { - "$id": "2204", + "$id": "2199", "kind": "number", "type": { "$ref": "343" @@ -16288,14 +16227,14 @@ "value": 0 }, "confidenceScores": { - "$id": "2205", + "$id": "2200", "kind": "array", "type": { "$ref": "348" }, "value": [ { - "$id": "2206", + "$id": "2201", "kind": "number", "type": { "$ref": "349" @@ -16303,7 +16242,7 @@ "value": 0.11841763735063232 }, { - "$id": "2207", + "$id": "2202", "kind": "number", "type": { "$ref": "349" @@ -16311,7 +16250,7 @@ "value": 0.014857199927548581 }, { - "$id": "2208", + "$id": "2203", "kind": "number", "type": { "$ref": "349" @@ -16319,7 +16258,7 @@ "value": 0.0887032374955278 }, { - "$id": "2209", + "$id": "2204", "kind": "number", "type": { "$ref": "349" @@ -16327,7 +16266,7 @@ "value": 0.07430314751946857 }, { - "$id": "2210", + "$id": "2205", "kind": "number", "type": { "$ref": "349" @@ -16335,7 +16274,7 @@ "value": 0.059903057543409355 }, { - "$id": "2211", + "$id": "2206", "kind": "number", "type": { "$ref": "349" @@ -16343,7 +16282,7 @@ "value": 0.04132288981790399 }, { - "$id": "2212", + "$id": "2207", "kind": "number", "type": { "$ref": "349" @@ -16351,7 +16290,7 @@ "value": 0.022742722092391268 }, { - "$id": "2213", + "$id": "2208", "kind": "number", "type": { "$ref": "349" @@ -16359,7 +16298,7 @@ "value": 0.0005683208474757854 }, { - "$id": "2214", + "$id": "2209", "kind": "number", "type": { "$ref": "349" @@ -16367,7 +16306,7 @@ "value": 0.0216060803974397 }, { - "$id": "2215", + "$id": "2210", "kind": "number", "type": { "$ref": "349" @@ -16375,7 +16314,7 @@ "value": 0.053248991089971616 }, { - "$id": "2216", + "$id": "2211", "kind": "number", "type": { "$ref": "349" @@ -16383,7 +16322,7 @@ "value": 0.08489190178249614 }, { - "$id": "2217", + "$id": "2212", "kind": "number", "type": { "$ref": "349" @@ -16391,7 +16330,7 @@ "value": 0.04322511558132514 }, { - "$id": "2218", + "$id": "2213", "kind": "number", "type": { "$ref": "349" @@ -16399,7 +16338,7 @@ "value": 0.085336620199234 }, { - "$id": "2219", + "$id": "2214", "kind": "number", "type": { "$ref": "349" @@ -16407,7 +16346,7 @@ "value": 0.05876047041512903 }, { - "$id": "2220", + "$id": "2215", "kind": "number", "type": { "$ref": "349" @@ -16415,7 +16354,7 @@ "value": 0.02673755265447302 }, { - "$id": "2221", + "$id": "2216", "kind": "number", "type": { "$ref": "349" @@ -16423,7 +16362,7 @@ "value": 0.005032027060762012 }, { - "$id": "2222", + "$id": "2217", "kind": "number", "type": { "$ref": "349" @@ -16431,7 +16370,7 @@ "value": 0.031323171543775764 }, { - "$id": "2223", + "$id": "2218", "kind": "number", "type": { "$ref": "349" @@ -16439,7 +16378,7 @@ "value": 0.06299774949197792 }, { - "$id": "2224", + "$id": "2219", "kind": "number", "type": { "$ref": "349" @@ -16447,7 +16386,7 @@ "value": 0.08944723025337244 }, { - "$id": "2225", + "$id": "2220", "kind": "number", "type": { "$ref": "349" @@ -16455,7 +16394,7 @@ "value": 0.11523169864554421 }, { - "$id": "2226", + "$id": "2221", "kind": "number", "type": { "$ref": "349" @@ -16463,7 +16402,7 @@ "value": 0.14288453512268834 }, { - "$id": "2227", + "$id": "2222", "kind": "number", "type": { "$ref": "349" @@ -16471,7 +16410,7 @@ "value": 0.001592562559717675 }, { - "$id": "2228", + "$id": "2223", "kind": "number", "type": { "$ref": "349" @@ -16479,7 +16418,7 @@ "value": 0.32637788222282893 }, { - "$id": "2229", + "$id": "2224", "kind": "number", "type": { "$ref": "349" @@ -16487,7 +16426,7 @@ "value": 0 }, { - "$id": "2230", + "$id": "2225", "kind": "number", "type": { "$ref": "349" @@ -16495,7 +16434,7 @@ "value": 7.37310752217245e-15 }, { - "$id": "2231", + "$id": "2226", "kind": "number", "type": { "$ref": "349" @@ -16503,7 +16442,7 @@ "value": 2.211932256651735e-14 }, { - "$id": "2232", + "$id": "2227", "kind": "number", "type": { "$ref": "349" @@ -16511,7 +16450,7 @@ "value": 1 }, { - "$id": "2233", + "$id": "2228", "kind": "number", "type": { "$ref": "349" @@ -16519,7 +16458,7 @@ "value": 0.015697015891758138 }, { - "$id": "2234", + "$id": "2229", "kind": "number", "type": { "$ref": "349" @@ -16527,7 +16466,7 @@ "value": 0.01242773215043403 }, { - "$id": "2235", + "$id": "2230", "kind": "number", "type": { "$ref": "349" @@ -16535,7 +16474,7 @@ "value": 0.016188579169534697 }, { - "$id": "2236", + "$id": "2231", "kind": "number", "type": { "$ref": "349" @@ -16543,7 +16482,7 @@ "value": 0.019537751864826272 }, { - "$id": "2237", + "$id": "2232", "kind": "number", "type": { "$ref": "349" @@ -16551,7 +16490,7 @@ "value": 0.022506917491993753 }, { - "$id": "2238", + "$id": "2233", "kind": "number", "type": { "$ref": "349" @@ -16559,7 +16498,7 @@ "value": 0.01885762668253081 }, { - "$id": "2239", + "$id": "2234", "kind": "number", "type": { "$ref": "349" @@ -16567,7 +16506,7 @@ "value": 0.016253355310429398 }, { - "$id": "2240", + "$id": "2235", "kind": "number", "type": { "$ref": "349" @@ -16575,7 +16514,7 @@ "value": 0.017227483829906676 }, { - "$id": "2241", + "$id": "2236", "kind": "number", "type": { "$ref": "349" @@ -16583,7 +16522,7 @@ "value": 0.023236706002118527 }, { - "$id": "2242", + "$id": "2237", "kind": "number", "type": { "$ref": "349" @@ -16591,7 +16530,7 @@ "value": 0.03906277743439327 }, { - "$id": "2243", + "$id": "2238", "kind": "number", "type": { "$ref": "349" @@ -16599,7 +16538,7 @@ "value": 0.0354134866249377 }, { - "$id": "2244", + "$id": "2239", "kind": "number", "type": { "$ref": "349" @@ -16607,7 +16546,7 @@ "value": 0.037084294769315296 }, { - "$id": "2245", + "$id": "2240", "kind": "number", "type": { "$ref": "349" @@ -16615,7 +16554,7 @@ "value": 0.038248426822850935 }, { - "$id": "2246", + "$id": "2241", "kind": "number", "type": { "$ref": "349" @@ -16623,7 +16562,7 @@ "value": 0.050274427573818385 }, { - "$id": "2247", + "$id": "2242", "kind": "number", "type": { "$ref": "349" @@ -16631,7 +16570,7 @@ "value": 0.046815140298421175 }, { - "$id": "2248", + "$id": "2243", "kind": "number", "type": { "$ref": "349" @@ -16639,7 +16578,7 @@ "value": 0.043292518511668716 }, { - "$id": "2249", + "$id": "2244", "kind": "number", "type": { "$ref": "349" @@ -16647,7 +16586,7 @@ "value": 0.041353259508804745 }, { - "$id": "2250", + "$id": "2245", "kind": "number", "type": { "$ref": "349" @@ -16655,7 +16594,7 @@ "value": 0.038242312045861385 }, { - "$id": "2251", + "$id": "2246", "kind": "number", "type": { "$ref": "349" @@ -16663,7 +16602,7 @@ "value": 0.0346880230034313 }, { - "$id": "2252", + "$id": "2247", "kind": "number", "type": { "$ref": "349" @@ -16671,7 +16610,7 @@ "value": 0.032717096744889713 }, { - "$id": "2253", + "$id": "2248", "kind": "number", "type": { "$ref": "349" @@ -16679,7 +16618,7 @@ "value": 0.033026212895129546 }, { - "$id": "2254", + "$id": "2249", "kind": "number", "type": { "$ref": "349" @@ -16687,7 +16626,7 @@ "value": 0.031055286636580585 }, { - "$id": "2255", + "$id": "2250", "kind": "number", "type": { "$ref": "349" @@ -16695,7 +16634,7 @@ "value": 0.0275326648498355 }, { - "$id": "2256", + "$id": "2251", "kind": "number", "type": { "$ref": "349" @@ -16703,7 +16642,7 @@ "value": 0.023883374040372555 }, { - "$id": "2257", + "$id": "2252", "kind": "number", "type": { "$ref": "349" @@ -16711,7 +16650,7 @@ "value": 0.021564107969369743 }, { - "$id": "2258", + "$id": "2253", "kind": "number", "type": { "$ref": "349" @@ -16719,7 +16658,7 @@ "value": 0.018706498551854727 }, { - "$id": "2259", + "$id": "2254", "kind": "number", "type": { "$ref": "349" @@ -16727,7 +16666,7 @@ "value": 0.01543721481052325 }, { - "$id": "2260", + "$id": "2255", "kind": "number", "type": { "$ref": "349" @@ -16735,7 +16674,7 @@ "value": 0.015176320358565887 }, { - "$id": "2261", + "$id": "2256", "kind": "number", "type": { "$ref": "349" @@ -16743,7 +16682,7 @@ "value": 0.011527029549110314 }, { - "$id": "2262", + "$id": "2257", "kind": "number", "type": { "$ref": "349" @@ -16751,7 +16690,7 @@ "value": 0.008004407762357859 }, { - "$id": "2263", + "$id": "2258", "kind": "number", "type": { "$ref": "349" @@ -16759,7 +16698,7 @@ "value": 0.004355116952902286 }, { - "$id": "2264", + "$id": "2259", "kind": "number", "type": { "$ref": "349" @@ -16767,7 +16706,7 @@ "value": 0.0007058261434393403 }, { - "$id": "2265", + "$id": "2260", "kind": "number", "type": { "$ref": "349" @@ -16775,7 +16714,7 @@ "value": 0.0030701336887340946 }, { - "$id": "2266", + "$id": "2261", "kind": "number", "type": { "$ref": "349" @@ -16783,7 +16722,7 @@ "value": 0.006592755475479178 }, { - "$id": "2267", + "$id": "2262", "kind": "number", "type": { "$ref": "349" @@ -16791,7 +16730,7 @@ "value": 0.010147044517909256 }, { - "$id": "2268", + "$id": "2263", "kind": "number", "type": { "$ref": "349" @@ -16799,7 +16738,7 @@ "value": 0.013701333560339335 }, { - "$id": "2269", + "$id": "2264", "kind": "number", "type": { "$ref": "349" @@ -16807,7 +16746,7 @@ "value": 0.016780613767597707 }, { - "$id": "2270", + "$id": "2265", "kind": "number", "type": { "$ref": "349" @@ -16815,7 +16754,7 @@ "value": 0.020366570065705403 }, { - "$id": "2271", + "$id": "2266", "kind": "number", "type": { "$ref": "349" @@ -16823,7 +16762,7 @@ "value": 0.024015860875168354 }, { - "$id": "2272", + "$id": "2267", "kind": "number", "type": { "$ref": "349" @@ -16831,7 +16770,7 @@ "value": 0.02757014991759106 }, { - "$id": "2273", + "$id": "2268", "kind": "number", "type": { "$ref": "349" @@ -16839,7 +16778,7 @@ "value": 0.03033275756808058 }, { - "$id": "2274", + "$id": "2269", "kind": "number", "type": { "$ref": "349" @@ -16847,7 +16786,7 @@ "value": 0.03068865378707081 }, { - "$id": "2275", + "$id": "2270", "kind": "number", "type": { "$ref": "349" @@ -16855,7 +16794,7 @@ "value": 0.03395793752839492 }, { - "$id": "2276", + "$id": "2271", "kind": "number", "type": { "$ref": "349" @@ -16863,7 +16802,7 @@ "value": 0.03760722833785786 }, { - "$id": "2277", + "$id": "2272", "kind": "number", "type": { "$ref": "349" @@ -16871,7 +16810,7 @@ "value": 0.04122485189164318 }, { - "$id": "2278", + "$id": "2273", "kind": "number", "type": { "$ref": "349" @@ -16879,7 +16818,7 @@ "value": 0.030433874112103007 }, { - "$id": "2279", + "$id": "2274", "kind": "number", "type": { "$ref": "349" @@ -16887,7 +16826,7 @@ "value": 0.032816474694461056 }, { - "$id": "2280", + "$id": "2275", "kind": "number", "type": { "$ref": "349" @@ -16895,7 +16834,7 @@ "value": 0.03602242392443729 }, { - "$id": "2281", + "$id": "2276", "kind": "number", "type": { "$ref": "349" @@ -16903,7 +16842,7 @@ "value": 0.03960838022253762 }, { - "$id": "2282", + "$id": "2277", "kind": "number", "type": { "$ref": "349" @@ -16911,7 +16850,7 @@ "value": 0.04268766042980336 }, { - "$id": "2283", + "$id": "2278", "kind": "number", "type": { "$ref": "349" @@ -16919,7 +16858,7 @@ "value": 0.04633695123926631 }, { - "$id": "2284", + "$id": "2279", "kind": "number", "type": { "$ref": "349" @@ -16927,7 +16866,7 @@ "value": 0.0346592903007527 }, { - "$id": "2285", + "$id": "2280", "kind": "number", "type": { "$ref": "349" @@ -16935,7 +16874,7 @@ "value": 0.010219725324164698 }, { - "$id": "2286", + "$id": "2281", "kind": "number", "type": { "$ref": "349" @@ -16943,7 +16882,7 @@ "value": 0.007218892441326965 }, { - "$id": "2287", + "$id": "2282", "kind": "number", "type": { "$ref": "349" @@ -16951,7 +16890,7 @@ "value": 0.006909776291079754 }, { - "$id": "2288", + "$id": "2283", "kind": "number", "type": { "$ref": "349" @@ -16959,7 +16898,7 @@ "value": 0.000049463551460760754 }, { - "$id": "2289", + "$id": "2284", "kind": "number", "type": { "$ref": "349" @@ -16967,7 +16906,7 @@ "value": 0.0016047901503119819 }, { - "$id": "2290", + "$id": "2285", "kind": "number", "type": { "$ref": "349" @@ -16975,7 +16914,7 @@ "value": 0.01042121060065547 }, { - "$id": "2291", + "$id": "2286", "kind": "number", "type": { "$ref": "349" @@ -16983,7 +16922,7 @@ "value": 0.009020294944303705 }, { - "$id": "2292", + "$id": "2287", "kind": "number", "type": { "$ref": "349" @@ -16991,7 +16930,7 @@ "value": 0.005371004134840759 }, { - "$id": "2293", + "$id": "2288", "kind": "number", "type": { "$ref": "349" @@ -16999,7 +16938,7 @@ "value": 0.0021650549048718984 }, { - "$id": "2294", + "$id": "2289", "kind": "number", "type": { "$ref": "349" @@ -17007,7 +16946,7 @@ "value": 0.010517653997227793 }, { - "$id": "2295", + "$id": "2290", "kind": "number", "type": { "$ref": "349" @@ -17015,7 +16954,7 @@ "value": 0.0075017083013172925 }, { - "$id": "2296", + "$id": "2291", "kind": "number", "type": { "$ref": "349" @@ -17023,7 +16962,7 @@ "value": 0.00385241749186172 }, { - "$id": "2297", + "$id": "2292", "kind": "number", "type": { "$ref": "349" @@ -17031,7 +16970,7 @@ "value": 0.0008681390516288423 }, { - "$id": "2298", + "$id": "2293", "kind": "number", "type": { "$ref": "349" @@ -17039,7 +16978,7 @@ "value": 0.019005920148370017 }, { - "$id": "2299", + "$id": "2294", "kind": "number", "type": { "$ref": "349" @@ -17047,7 +16986,7 @@ "value": 0.015388296594592068 }, { - "$id": "2300", + "$id": "2295", "kind": "number", "type": { "$ref": "349" @@ -17055,7 +16994,7 @@ "value": 0.12583612799160215 }, { - "$id": "2301", + "$id": "2296", "kind": "number", "type": { "$ref": "349" @@ -17063,7 +17002,7 @@ "value": 1 }, { - "$id": "2302", + "$id": "2297", "kind": "number", "type": { "$ref": "349" @@ -17071,7 +17010,7 @@ "value": 0.005055878353042495 }, { - "$id": "2303", + "$id": "2298", "kind": "number", "type": { "$ref": "349" @@ -17079,7 +17018,7 @@ "value": 0.007613932468790628 }, { - "$id": "2304", + "$id": "2299", "kind": "number", "type": { "$ref": "349" @@ -17087,7 +17026,7 @@ "value": 0.011913685646822731 }, { - "$id": "2305", + "$id": "2300", "kind": "number", "type": { "$ref": "349" @@ -17095,7 +17034,7 @@ "value": 0.0166567804043268 }, { - "$id": "2306", + "$id": "2301", "kind": "number", "type": { "$ref": "349" @@ -17103,7 +17042,7 @@ "value": 0.015351429327405014 }, { - "$id": "2307", + "$id": "2302", "kind": "number", "type": { "$ref": "349" @@ -17111,7 +17050,7 @@ "value": 0.034309821169245976 }, { - "$id": "2308", + "$id": "2303", "kind": "number", "type": { "$ref": "349" @@ -17119,7 +17058,7 @@ "value": 0.0292817211106433 }, { - "$id": "2309", + "$id": "2304", "kind": "number", "type": { "$ref": "349" @@ -17127,7 +17066,7 @@ "value": 0.02425362105202589 }, { - "$id": "2310", + "$id": "2305", "kind": "number", "type": { "$ref": "349" @@ -17135,7 +17074,7 @@ "value": 0.019225520993423218 }, { - "$id": "2311", + "$id": "2306", "kind": "number", "type": { "$ref": "349" @@ -17143,7 +17082,7 @@ "value": 0.01419742093482055 }, { - "$id": "2312", + "$id": "2307", "kind": "number", "type": { "$ref": "349" @@ -17151,7 +17090,7 @@ "value": 0.00916932087621788 }, { - "$id": "2313", + "$id": "2308", "kind": "number", "type": { "$ref": "349" @@ -17159,7 +17098,7 @@ "value": 0.004141220817600464 }, { - "$id": "2314", + "$id": "2309", "kind": "number", "type": { "$ref": "349" @@ -17167,7 +17106,7 @@ "value": 0.0008868792410022057 }, { - "$id": "2315", + "$id": "2310", "kind": "number", "type": { "$ref": "349" @@ -17175,7 +17114,7 @@ "value": 0.0059149792996048755 }, { - "$id": "2316", + "$id": "2311", "kind": "number", "type": { "$ref": "349" @@ -17183,7 +17122,7 @@ "value": 0.010943079358207547 }, { - "$id": "2317", + "$id": "2312", "kind": "number", "type": { "$ref": "349" @@ -17191,7 +17130,7 @@ "value": 0.015971179416810213 }, { - "$id": "2318", + "$id": "2313", "kind": "number", "type": { "$ref": "349" @@ -17199,7 +17138,7 @@ "value": 0.02099927947542763 }, { - "$id": "2319", + "$id": "2314", "kind": "number", "type": { "$ref": "349" @@ -17207,7 +17146,7 @@ "value": 1 }, { - "$id": "2320", + "$id": "2315", "kind": "number", "type": { "$ref": "349" @@ -17215,7 +17154,7 @@ "value": 0.11533376425564247 }, { - "$id": "2321", + "$id": "2316", "kind": "number", "type": { "$ref": "349" @@ -17223,7 +17162,7 @@ "value": 0.1207645081246342 }, { - "$id": "2322", + "$id": "2317", "kind": "number", "type": { "$ref": "349" @@ -17231,7 +17170,7 @@ "value": 0.025174230145423273 }, { - "$id": "2323", + "$id": "2318", "kind": "number", "type": { "$ref": "349" @@ -17239,7 +17178,7 @@ "value": 0.09422487163021387 }, { - "$id": "2324", + "$id": "2319", "kind": "number", "type": { "$ref": "349" @@ -17247,7 +17186,7 @@ "value": 0.08417070843230404 }, { - "$id": "2325", + "$id": "2320", "kind": "number", "type": { "$ref": "349" @@ -17255,7 +17194,7 @@ "value": 0.07411654523437947 }, { - "$id": "2326", + "$id": "2321", "kind": "number", "type": { "$ref": "349" @@ -17263,7 +17202,7 @@ "value": 0.06406238203646963 }, { - "$id": "2327", + "$id": "2322", "kind": "number", "type": { "$ref": "349" @@ -17271,7 +17210,7 @@ "value": 0.0540082188385598 }, { - "$id": "2328", + "$id": "2323", "kind": "number", "type": { "$ref": "349" @@ -17279,7 +17218,7 @@ "value": 0.04395405564064997 }, { - "$id": "2329", + "$id": "2324", "kind": "number", "type": { "$ref": "349" @@ -17287,7 +17226,7 @@ "value": 0.03500824639144218 }, { - "$id": "2330", + "$id": "2325", "kind": "number", "type": { "$ref": "349" @@ -17295,7 +17234,7 @@ "value": 0.024954083193532338 }, { - "$id": "2331", + "$id": "2326", "kind": "number", "type": { "$ref": "349" @@ -17303,7 +17242,7 @@ "value": 0.014899919995622513 }, { - "$id": "2332", + "$id": "2327", "kind": "number", "type": { "$ref": "349" @@ -17311,7 +17250,7 @@ "value": 0.004845756797712681 }, { - "$id": "2333", + "$id": "2328", "kind": "number", "type": { "$ref": "349" @@ -17319,7 +17258,7 @@ "value": 0.005208406400211895 }, { - "$id": "2334", + "$id": "2329", "kind": "number", "type": { "$ref": "349" @@ -17327,7 +17266,7 @@ "value": 0.015262569598121728 }, { - "$id": "2335", + "$id": "2330", "kind": "number", "type": { "$ref": "349" @@ -17335,7 +17274,7 @@ "value": 0.025316732796031558 }, { - "$id": "2336", + "$id": "2331", "kind": "number", "type": { "$ref": "349" @@ -17343,7 +17282,7 @@ "value": 0.03537089599394139 }, { - "$id": "2337", + "$id": "2332", "kind": "number", "type": { "$ref": "349" @@ -17351,7 +17290,7 @@ "value": 0.045425059191865964 }, { - "$id": "2338", + "$id": "2333", "kind": "number", "type": { "$ref": "349" @@ -17359,7 +17298,7 @@ "value": 0.05145748091871777 }, { - "$id": "2339", + "$id": "2334", "kind": "number", "type": { "$ref": "349" @@ -17367,7 +17306,7 @@ "value": 1 }, { - "$id": "2340", + "$id": "2335", "kind": "number", "type": { "$ref": "349" @@ -17375,7 +17314,7 @@ "value": 0.011663506282381296 }, { - "$id": "2341", + "$id": "2336", "kind": "number", "type": { "$ref": "349" @@ -17383,7 +17322,7 @@ "value": 0.0043856580970499884 }, { - "$id": "2342", + "$id": "2337", "kind": "number", "type": { "$ref": "349" @@ -17391,7 +17330,7 @@ "value": 0.002892190088273945 }, { - "$id": "2343", + "$id": "2338", "kind": "number", "type": { "$ref": "349" @@ -17399,7 +17338,7 @@ "value": 0.01017003827359788 }, { - "$id": "2344", + "$id": "2339", "kind": "number", "type": { "$ref": "349" @@ -17407,7 +17346,7 @@ "value": 0.01744788645892181 }, { - "$id": "2345", + "$id": "2340", "kind": "number", "type": { "$ref": "349" @@ -17415,7 +17354,7 @@ "value": 0.024725734644253115 }, { - "$id": "2346", + "$id": "2341", "kind": "number", "type": { "$ref": "349" @@ -17423,7 +17362,7 @@ "value": 0.03200358282957705 }, { - "$id": "2347", + "$id": "2342", "kind": "number", "type": { "$ref": "349" @@ -17431,7 +17370,7 @@ "value": 0.03928143101490098 }, { - "$id": "2348", + "$id": "2343", "kind": "number", "type": { "$ref": "349" @@ -17439,7 +17378,7 @@ "value": 0.046559279200224915 }, { - "$id": "2349", + "$id": "2344", "kind": "number", "type": { "$ref": "349" @@ -17447,7 +17386,7 @@ "value": 0.05383712738555622 }, { - "$id": "2350", + "$id": "2345", "kind": "number", "type": { "$ref": "349" @@ -17455,7 +17394,7 @@ "value": 0.060069956133518614 }, { - "$id": "2351", + "$id": "2346", "kind": "number", "type": { "$ref": "349" @@ -17463,7 +17402,7 @@ "value": 0.0450857235774741 }, { - "$id": "2352", + "$id": "2347", "kind": "number", "type": { "$ref": "349" @@ -17471,7 +17410,7 @@ "value": 0.050621872700536176 }, { - "$id": "2353", + "$id": "2348", "kind": "number", "type": { "$ref": "349" @@ -17479,7 +17418,7 @@ "value": 0.029050850963546225 }, { - "$id": "2354", + "$id": "2349", "kind": "number", "type": { "$ref": "349" @@ -17487,7 +17426,7 @@ "value": 0.045689493056171517 }, { - "$id": "2355", + "$id": "2350", "kind": "number", "type": { "$ref": "349" @@ -17495,7 +17434,7 @@ "value": 0.0385699811492357 }, { - "$id": "2356", + "$id": "2351", "kind": "number", "type": { "$ref": "349" @@ -17503,7 +17442,7 @@ "value": 0.03179880905474635 }, { - "$id": "2357", + "$id": "2352", "kind": "number", "type": { "$ref": "349" @@ -17511,7 +17450,7 @@ "value": 0.03082274474926925 }, { - "$id": "2358", + "$id": "2353", "kind": "number", "type": { "$ref": "349" @@ -17519,7 +17458,7 @@ "value": 0.03586345902254038 }, { - "$id": "2359", + "$id": "2354", "kind": "number", "type": { "$ref": "349" @@ -17527,7 +17466,7 @@ "value": 0.028585610837209074 }, { - "$id": "2360", + "$id": "2355", "kind": "number", "type": { "$ref": "349" @@ -17535,7 +17474,7 @@ "value": 0.021402764418918006 }, { - "$id": "2361", + "$id": "2356", "kind": "number", "type": { "$ref": "349" @@ -17543,7 +17482,7 @@ "value": 0.04705886213832124 }, { - "$id": "2362", + "$id": "2357", "kind": "number", "type": { "$ref": "349" @@ -17551,7 +17490,7 @@ "value": 0.049724532235770696 }, { - "$id": "2363", + "$id": "2358", "kind": "number", "type": { "$ref": "349" @@ -17559,7 +17498,7 @@ "value": 0.05957866937203304 }, { - "$id": "2364", + "$id": "2359", "kind": "number", "type": { "$ref": "349" @@ -17567,7 +17506,7 @@ "value": 0.052649160999162954 }, { - "$id": "2365", + "$id": "2360", "kind": "number", "type": { "$ref": "349" @@ -17575,7 +17514,7 @@ "value": 0.045371312813839014 }, { - "$id": "2366", + "$id": "2361", "kind": "number", "type": { "$ref": "349" @@ -17583,7 +17522,7 @@ "value": 0.03809346462851508 }, { - "$id": "2367", + "$id": "2362", "kind": "number", "type": { "$ref": "349" @@ -17591,7 +17530,7 @@ "value": 0.030815616443183775 }, { - "$id": "2368", + "$id": "2363", "kind": "number", "type": { "$ref": "349" @@ -17599,7 +17538,7 @@ "value": 0.023537768257859845 }, { - "$id": "2369", + "$id": "2364", "kind": "number", "type": { "$ref": "349" @@ -17607,7 +17546,7 @@ "value": 0.01945831289597576 }, { - "$id": "2370", + "$id": "2365", "kind": "number", "type": { "$ref": "349" @@ -17615,7 +17554,7 @@ "value": 0.012180464710644455 }, { - "$id": "2371", + "$id": "2366", "kind": "number", "type": { "$ref": "349" @@ -17623,7 +17562,7 @@ "value": 0.00490261652532052 }, { - "$id": "2372", + "$id": "2367", "kind": "number", "type": { "$ref": "349" @@ -17631,7 +17570,7 @@ "value": 0.002153560870260057 }, { - "$id": "2373", + "$id": "2368", "kind": "number", "type": { "$ref": "349" @@ -17639,7 +17578,7 @@ "value": 0.0033196287098028916 }, { - "$id": "2374", + "$id": "2369", "kind": "number", "type": { "$ref": "349" @@ -17647,7 +17586,7 @@ "value": 0.0029244412792105113 }, { - "$id": "2375", + "$id": "2370", "kind": "number", "type": { "$ref": "349" @@ -17655,7 +17594,7 @@ "value": 0.0043217396504358 }, { - "$id": "2376", + "$id": "2371", "kind": "number", "type": { "$ref": "349" @@ -17663,7 +17602,7 @@ "value": 0.010934575466529664 }, { - "$id": "2377", + "$id": "2372", "kind": "number", "type": { "$ref": "349" @@ -17671,7 +17610,7 @@ "value": 0.018117421884820732 }, { - "$id": "2378", + "$id": "2373", "kind": "number", "type": { "$ref": "349" @@ -17679,7 +17618,7 @@ "value": 0.02267188608187652 }, { - "$id": "2379", + "$id": "2374", "kind": "number", "type": { "$ref": "349" @@ -17687,7 +17626,7 @@ "value": 0.027321352045957807 }, { - "$id": "2380", + "$id": "2375", "kind": "number", "type": { "$ref": "349" @@ -17695,7 +17634,7 @@ "value": 0.03459920023128174 }, { - "$id": "2381", + "$id": "2376", "kind": "number", "type": { "$ref": "349" @@ -17703,7 +17642,7 @@ "value": 0.03563859904812146 }, { - "$id": "2382", + "$id": "2377", "kind": "number", "type": { "$ref": "349" @@ -17711,7 +17650,7 @@ "value": 0.02990120514994264 }, { - "$id": "2383", + "$id": "2378", "kind": "number", "type": { "$ref": "349" @@ -17719,7 +17658,7 @@ "value": 0.03607069938654979 }, { - "$id": "2384", + "$id": "2379", "kind": "number", "type": { "$ref": "349" @@ -17727,7 +17666,7 @@ "value": 0.017223061637835352 }, { - "$id": "2385", + "$id": "2380", "kind": "number", "type": { "$ref": "349" @@ -17735,7 +17674,7 @@ "value": 7.37310752217245e-15 }, { - "$id": "2386", + "$id": "2381", "kind": "number", "type": { "$ref": "349" @@ -17743,7 +17682,7 @@ "value": 1.47462150443449e-14 }, { - "$id": "2387", + "$id": "2382", "kind": "number", "type": { "$ref": "349" @@ -17751,7 +17690,7 @@ "value": 1 }, { - "$id": "2388", + "$id": "2383", "kind": "number", "type": { "$ref": "349" @@ -17759,7 +17698,7 @@ "value": 0.046440552438977135 }, { - "$id": "2389", + "$id": "2384", "kind": "number", "type": { "$ref": "349" @@ -17767,7 +17706,7 @@ "value": 0.012233652454378385 }, { - "$id": "2390", + "$id": "2385", "kind": "number", "type": { "$ref": "349" @@ -17775,7 +17714,7 @@ "value": 0.017033155644526038 }, { - "$id": "2391", + "$id": "2386", "kind": "number", "type": { "$ref": "349" @@ -17783,7 +17722,7 @@ "value": 0.05136672465183527 }, { - "$id": "2392", + "$id": "2387", "kind": "number", "type": { "$ref": "349" @@ -17791,7 +17730,7 @@ "value": 0.06970832954194527 }, { - "$id": "2393", + "$id": "2388", "kind": "number", "type": { "$ref": "349" @@ -17799,7 +17738,7 @@ "value": 0.09929181019761117 }, { - "$id": "2394", + "$id": "2389", "kind": "number", "type": { "$ref": "349" @@ -17807,7 +17746,7 @@ "value": 0.11281999222473732 }, { - "$id": "2395", + "$id": "2390", "kind": "number", "type": { "$ref": "349" @@ -17815,7 +17754,7 @@ "value": 0.11039622919405537 }, { - "$id": "2396", + "$id": "2391", "kind": "number", "type": { "$ref": "349" @@ -17823,7 +17762,7 @@ "value": 0.08125609011787617 }, { - "$id": "2397", + "$id": "2392", "kind": "number", "type": { "$ref": "349" @@ -17831,7 +17770,7 @@ "value": 0.05661270134791935 }, { - "$id": "2398", + "$id": "2393", "kind": "number", "type": { "$ref": "349" @@ -17839,7 +17778,7 @@ "value": 0.028264243663680723 }, { - "$id": "2399", + "$id": "2394", "kind": "number", "type": { "$ref": "349" @@ -17847,7 +17786,7 @@ "value": 0.005974323576610399 }, { - "$id": "2400", + "$id": "2395", "kind": "number", "type": { "$ref": "349" @@ -17855,7 +17794,7 @@ "value": 0.038471191754617544 }, { - "$id": "2401", + "$id": "2396", "kind": "number", "type": { "$ref": "349" @@ -17863,7 +17802,7 @@ "value": 0 }, { - "$id": "2402", + "$id": "2397", "kind": "number", "type": { "$ref": "349" @@ -17871,7 +17810,7 @@ "value": 0 }, { - "$id": "2403", + "$id": "2398", "kind": "number", "type": { "$ref": "349" @@ -17879,7 +17818,7 @@ "value": 0 }, { - "$id": "2404", + "$id": "2399", "kind": "number", "type": { "$ref": "349" @@ -17887,7 +17826,7 @@ "value": 0.020288532128574968 }, { - "$id": "2405", + "$id": "2400", "kind": "number", "type": { "$ref": "349" @@ -17895,7 +17834,7 @@ "value": 0.005041879493223223 }, { - "$id": "2406", + "$id": "2401", "kind": "number", "type": { "$ref": "349" @@ -17903,7 +17842,7 @@ "value": 0.009223088216122232 }, { - "$id": "2407", + "$id": "2402", "kind": "number", "type": { "$ref": "349" @@ -17911,7 +17850,7 @@ "value": 0.009332792637570532 }, { - "$id": "2408", + "$id": "2403", "kind": "number", "type": { "$ref": "349" @@ -17919,7 +17858,7 @@ "value": 0.024579445272937026 }, { - "$id": "2409", + "$id": "2404", "kind": "number", "type": { "$ref": "349" @@ -17927,7 +17866,7 @@ "value": 0.03289096891488949 }, { - "$id": "2410", + "$id": "2405", "kind": "number", "type": { "$ref": "349" @@ -17935,7 +17874,7 @@ "value": 0.050695883419617865 }, { - "$id": "2411", + "$id": "2406", "kind": "number", "type": { "$ref": "349" @@ -17943,7 +17882,7 @@ "value": 1 }, { - "$id": "2412", + "$id": "2407", "kind": "number", "type": { "$ref": "349" @@ -17951,7 +17890,7 @@ "value": 0.000748013913075547 }, { - "$id": "2413", + "$id": "2408", "kind": "number", "type": { "$ref": "349" @@ -17959,7 +17898,7 @@ "value": 0.002186373999917361 }, { - "$id": "2414", + "$id": "2409", "kind": "number", "type": { "$ref": "349" @@ -17967,7 +17906,7 @@ "value": 0.0009330173541465358 }, { - "$id": "2415", + "$id": "2410", "kind": "number", "type": { "$ref": "349" @@ -17975,7 +17914,7 @@ "value": 0.00032033929162428933 }, { - "$id": "2416", + "$id": "2411", "kind": "number", "type": { "$ref": "349" @@ -17983,7 +17922,7 @@ "value": 0.0012886906362965138 }, { - "$id": "2417", + "$id": "2412", "kind": "number", "type": { "$ref": "349" @@ -17991,7 +17930,7 @@ "value": 0.002542047282052593 }, { - "$id": "2418", + "$id": "2413", "kind": "number", "type": { "$ref": "349" @@ -17999,7 +17938,7 @@ "value": 0.0007963481454318109 }, { - "$id": "2419", + "$id": "2414", "kind": "number", "type": { "$ref": "349" @@ -18007,7 +17946,7 @@ "value": 0.0004886757560166365 }, { - "$id": "2420", + "$id": "2415", "kind": "number", "type": { "$ref": "349" @@ -18015,7 +17954,7 @@ "value": 0.0016470306347398486 }, { - "$id": "2421", + "$id": "2416", "kind": "number", "type": { "$ref": "349" @@ -18023,7 +17962,7 @@ "value": 0.001063686451208582 }, { - "$id": "2422", + "$id": "2417", "kind": "number", "type": { "$ref": "349" @@ -18031,7 +17970,7 @@ "value": 0.0011980222832366648 }, { - "$id": "2423", + "$id": "2418", "kind": "number", "type": { "$ref": "349" @@ -18039,7 +17978,7 @@ "value": 0.00008700161821178273 }, { - "$id": "2424", + "$id": "2419", "kind": "number", "type": { "$ref": "349" @@ -18047,7 +17986,7 @@ "value": 0.0013086910082902394 }, { - "$id": "2425", + "$id": "2420", "kind": "number", "type": { "$ref": "349" @@ -18055,7 +17994,7 @@ "value": 0.0022770423529624643 }, { - "$id": "2426", + "$id": "2421", "kind": "number", "type": { "$ref": "349" @@ -18063,7 +18002,7 @@ "value": 0.000016333637160404937 }, { - "$id": "2427", + "$id": "2422", "kind": "number", "type": { "$ref": "349" @@ -18071,7 +18010,7 @@ "value": 0.0012053557529180517 }, { - "$id": "2428", + "$id": "2423", "kind": "number", "type": { "$ref": "349" @@ -18079,7 +18018,7 @@ "value": 0.0018570345408140537 }, { - "$id": "2429", + "$id": "2424", "kind": "number", "type": { "$ref": "349" @@ -18087,7 +18026,7 @@ "value": 0.0037297360397815314 }, { - "$id": "2430", + "$id": "2425", "kind": "number", "type": { "$ref": "349" @@ -18095,7 +18034,7 @@ "value": 0.003109724507563151 }, { - "$id": "2431", + "$id": "2426", "kind": "number", "type": { "$ref": "349" @@ -18103,7 +18042,7 @@ "value": 0.22869458705263188 }, { - "$id": "2432", + "$id": "2427", "kind": "number", "type": { "$ref": "349" @@ -18111,7 +18050,7 @@ "value": 0.2293374323429407 }, { - "$id": "2433", + "$id": "2428", "kind": "number", "type": { "$ref": "349" @@ -18119,7 +18058,7 @@ "value": 0.1140021204394844 }, { - "$id": "2434", + "$id": "2429", "kind": "number", "type": { "$ref": "349" @@ -18127,7 +18066,7 @@ "value": 0.0012381896969537412 }, { - "$id": "2435", + "$id": "2430", "kind": "number", "type": { "$ref": "349" @@ -18135,7 +18074,7 @@ "value": 0.11340677603264777 }, { - "$id": "2436", + "$id": "2431", "kind": "number", "type": { "$ref": "349" @@ -18143,7 +18082,7 @@ "value": 1 }, { - "$id": "2437", + "$id": "2432", "kind": "number", "type": { "$ref": "349" @@ -18151,7 +18090,7 @@ "value": 0.011793249472519423 }, { - "$id": "2438", + "$id": "2433", "kind": "number", "type": { "$ref": "349" @@ -18159,7 +18098,7 @@ "value": 0.008293225072094536 }, { - "$id": "2439", + "$id": "2434", "kind": "number", "type": { "$ref": "349" @@ -18167,7 +18106,7 @@ "value": 0.00469819890465153 }, { - "$id": "2440", + "$id": "2435", "kind": "number", "type": { "$ref": "349" @@ -18175,7 +18114,7 @@ "value": 0.0010715054815308995 }, { - "$id": "2441", + "$id": "2436", "kind": "number", "type": { "$ref": "349" @@ -18183,7 +18122,7 @@ "value": 0.0025551879416044767 }, { - "$id": "2442", + "$id": "2437", "kind": "number", "type": { "$ref": "349" @@ -18191,7 +18130,7 @@ "value": 0.006118546853369862 }, { - "$id": "2443", + "$id": "2438", "kind": "number", "type": { "$ref": "349" @@ -18199,7 +18138,7 @@ "value": 0.008605219072110835 }, { - "$id": "2444", + "$id": "2439", "kind": "number", "type": { "$ref": "349" @@ -18207,7 +18146,7 @@ "value": 0.0053601180131874334 }, { - "$id": "2445", + "$id": "2440", "kind": "number", "type": { "$ref": "349" @@ -18215,7 +18154,7 @@ "value": 0.008860142413597574 }, { - "$id": "2446", + "$id": "2441", "kind": "number", "type": { "$ref": "349" @@ -18223,7 +18162,7 @@ "value": 0.01248683583673295 }, { - "$id": "2447", + "$id": "2442", "kind": "number", "type": { "$ref": "349" @@ -18231,7 +18170,7 @@ "value": 0.01611352925985358 }, { - "$id": "2448", + "$id": "2443", "kind": "number", "type": { "$ref": "349" @@ -18239,7 +18178,7 @@ "value": 0.005878587160222206 }, { - "$id": "2449", + "$id": "2444", "kind": "number", "type": { "$ref": "349" @@ -18247,7 +18186,7 @@ "value": 0.013145429690188892 }, { - "$id": "2450", + "$id": "2445", "kind": "number", "type": { "$ref": "349" @@ -18255,7 +18194,7 @@ "value": 0.022280640305150038 }, { - "$id": "2451", + "$id": "2446", "kind": "number", "type": { "$ref": "349" @@ -18263,7 +18202,7 @@ "value": 0.01865394688201466 }, { - "$id": "2452", + "$id": "2447", "kind": "number", "type": { "$ref": "349" @@ -18271,7 +18210,7 @@ "value": 0.015027253458894031 }, { - "$id": "2453", + "$id": "2448", "kind": "number", "type": { "$ref": "349" @@ -18279,7 +18218,7 @@ "value": 0.012033905149325846 }, { - "$id": "2454", + "$id": "2449", "kind": "number", "type": { "$ref": "349" @@ -18287,7 +18226,7 @@ "value": 0.009040556839742916 }, { - "$id": "2455", + "$id": "2450", "kind": "number", "type": { "$ref": "349" @@ -18295,7 +18234,7 @@ "value": 0.005445530672299909 }, { - "$id": "2456", + "$id": "2451", "kind": "number", "type": { "$ref": "349" @@ -18303,7 +18242,7 @@ "value": 0.0018505045048569009 }, { - "$id": "2457", + "$id": "2452", "kind": "number", "type": { "$ref": "349" @@ -18311,7 +18250,7 @@ "value": 0.001744521662600853 }, { - "$id": "2458", + "$id": "2453", "kind": "number", "type": { "$ref": "349" @@ -18319,7 +18258,7 @@ "value": 0.005339547830043862 }, { - "$id": "2459", + "$id": "2454", "kind": "number", "type": { "$ref": "349" @@ -18327,7 +18266,7 @@ "value": 0.008760404091259945 }, { - "$id": "2460", + "$id": "2455", "kind": "number", "type": { "$ref": "349" @@ -18335,7 +18274,7 @@ "value": 0.012181260352490777 }, { - "$id": "2461", + "$id": "2456", "kind": "number", "type": { "$ref": "349" @@ -18343,7 +18282,7 @@ "value": 0.009902010591734853 }, { - "$id": "2462", + "$id": "2457", "kind": "number", "type": { "$ref": "349" @@ -18353,12 +18292,52 @@ ] }, "isChangePoint": { - "$id": "2463", + "$id": "2458", "kind": "array", "type": { "$ref": "345" }, "value": [ + { + "$id": "2459", + "kind": "boolean", + "type": { + "$ref": "346" + }, + "value": false + }, + { + "$id": "2460", + "kind": "boolean", + "type": { + "$ref": "346" + }, + "value": false + }, + { + "$id": "2461", + "kind": "boolean", + "type": { + "$ref": "346" + }, + "value": false + }, + { + "$id": "2462", + "kind": "boolean", + "type": { + "$ref": "346" + }, + "value": false + }, + { + "$id": "2463", + "kind": "boolean", + "type": { + "$ref": "346" + }, + "value": false + }, { "$id": "2464", "kind": "boolean", @@ -18533,7 +18512,7 @@ "type": { "$ref": "346" }, - "value": false + "value": true }, { "$id": "2486", @@ -18573,7 +18552,7 @@ "type": { "$ref": "346" }, - "value": true + "value": false }, { "$id": "2491", @@ -19085,7 +19064,7 @@ "type": { "$ref": "346" }, - "value": false + "value": true }, { "$id": "2555", @@ -19125,7 +19104,7 @@ "type": { "$ref": "346" }, - "value": true + "value": false }, { "$id": "2560", @@ -19229,7 +19208,7 @@ "type": { "$ref": "346" }, - "value": false + "value": true }, { "$id": "2573", @@ -19269,7 +19248,7 @@ "type": { "$ref": "346" }, - "value": true + "value": false }, { "$id": "2578", @@ -19389,7 +19368,7 @@ "type": { "$ref": "346" }, - "value": false + "value": true }, { "$id": "2593", @@ -19429,7 +19408,7 @@ "type": { "$ref": "346" }, - "value": true + "value": false }, { "$id": "2598", @@ -19773,7 +19752,7 @@ "type": { "$ref": "346" }, - "value": false + "value": true }, { "$id": "2641", @@ -19813,7 +19792,7 @@ "type": { "$ref": "346" }, - "value": true + "value": false }, { "$id": "2646", @@ -19965,7 +19944,7 @@ "type": { "$ref": "346" }, - "value": false + "value": true }, { "$id": "2665", @@ -20005,7 +19984,7 @@ "type": { "$ref": "346" }, - "value": true + "value": false }, { "$id": "2670", @@ -20165,7 +20144,7 @@ "type": { "$ref": "346" }, - "value": false + "value": true }, { "$id": "2690", @@ -20205,7 +20184,7 @@ "type": { "$ref": "346" }, - "value": true + "value": false }, { "$id": "2695", @@ -20374,46 +20353,6 @@ "$ref": "346" }, "value": false - }, - { - "$id": "2716", - "kind": "boolean", - "type": { - "$ref": "346" - }, - "value": false - }, - { - "$id": "2717", - "kind": "boolean", - "type": { - "$ref": "346" - }, - "value": false - }, - { - "$id": "2718", - "kind": "boolean", - "type": { - "$ref": "346" - }, - "value": false - }, - { - "$id": "2719", - "kind": "boolean", - "type": { - "$ref": "346" - }, - "value": false - }, - { - "$id": "2720", - "kind": "boolean", - "type": { - "$ref": "346" - }, - "value": false } ] } @@ -20426,15 +20365,58 @@ } ], "Protocol": { - "$id": "2721" + "$id": "2716" }, "Parent": "AnomalyDetectorClient", "Parameters": [ { - "$ref": "364" + "$id": "2717", + "Name": "Endpoint", + "NameInRequest": "Endpoint", + "Description": "Supported Cognitive Services endpoints (protocol and hostname, for example:\nhttps://westus2.api.cognitive.microsoft.com).", + "Type": { + "$id": "2718", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "366" + "$id": "2719", + "Name": "ApiVersion", + "NameInRequest": "ApiVersion", + "Description": "Api Version", + "Type": { + "$ref": "104" + }, + "Location": "Uri", + "IsApiVersion": true, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "2720", + "Type": { + "$id": "2721", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "v1.1" + } } ], "Decorators": [] @@ -20453,65 +20435,16 @@ "Parameters": [ { "$id": "2724", - "Name": "Endpoint", - "NameInRequest": "Endpoint", - "Description": "Supported Cognitive Services endpoints (protocol and hostname, for example:\nhttps://westus2.api.cognitive.microsoft.com).", - "Type": { - "$id": "2725", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "2726", - "Name": "ApiVersion", - "NameInRequest": "ApiVersion", - "Description": "Api Version", - "Type": { - "$ref": "104" - }, - "Location": "Uri", - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "2727", - "Type": { - "$id": "2728", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "v1.1" - } - }, - { - "$id": "2729", "Name": "resultId", "NameInRequest": "resultId", "Description": "ID of a batch detection result.", "Type": { - "$id": "2730", + "$id": "2725", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "2731", + "$id": "2726", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20530,14 +20463,14 @@ "SkipUrlEncoding": false }, { - "$id": "2732", + "$id": "2727", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "2733", + "$id": "2728", "kind": "constant", "valueType": { - "$id": "2734", + "$id": "2729", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20559,7 +20492,7 @@ ], "Responses": [ { - "$id": "2735", + "$id": "2730", "StatusCodes": [ 200 ], @@ -20585,22 +20518,22 @@ "Decorators": [], "Examples": [ { - "$id": "2736", + "$id": "2731", "kind": "http", "name": "Get multivariate batch detection result", "description": "Get multivariate batch detection result", "filePath": "v1.1/GetResult.json", "parameters": [ { - "$id": "2737", + "$id": "2732", "parameter": { - "$ref": "2729" + "$ref": "2724" }, "value": { - "$id": "2738", + "$id": "2733", "kind": "string", "type": { - "$ref": "2730" + "$ref": "2725" }, "value": "663884e6-b117-11ea-b3de-0242ac130004" } @@ -20608,21 +20541,21 @@ ], "responses": [ { - "$id": "2739", + "$id": "2734", "response": { - "$ref": "2735" + "$ref": "2730" }, "statusCode": 200, "bodyValue": { - "$id": "2740", + "$id": "2735", "kind": "model", "type": { "$ref": "112" }, "value": { - "$id": "2741", + "$id": "2736", "resultId": { - "$id": "2742", + "$id": "2737", "kind": "string", "type": { "$ref": "114" @@ -20630,15 +20563,15 @@ "value": "663884e6-b117-11ea-b3de-0242ac130004" }, "summary": { - "$id": "2743", + "$id": "2738", "kind": "model", "type": { "$ref": "117" }, "value": { - "$id": "2744", + "$id": "2739", "status": { - "$id": "2745", + "$id": "2740", "kind": "string", "type": { "$ref": "2" @@ -20646,7 +20579,7 @@ "value": "READY" }, "errors": { - "$id": "2746", + "$id": "2741", "kind": "array", "type": { "$ref": "120" @@ -20654,22 +20587,22 @@ "value": [] }, "variableStates": { - "$id": "2747", + "$id": "2742", "kind": "array", "type": { "$ref": "127" }, "value": [ { - "$id": "2748", + "$id": "2743", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2749", + "$id": "2744", "variable": { - "$id": "2750", + "$id": "2745", "kind": "string", "type": { "$ref": "130" @@ -20677,7 +20610,7 @@ "value": "variable_1" }, "filledNARatio": { - "$id": "2751", + "$id": "2746", "kind": "number", "type": { "$ref": "132" @@ -20685,7 +20618,7 @@ "value": 0 }, "effectiveCount": { - "$id": "2752", + "$id": "2747", "kind": "number", "type": { "$ref": "134" @@ -20693,7 +20626,7 @@ "value": 30 }, "firstTimestamp": { - "$id": "2753", + "$id": "2748", "kind": "string", "type": { "$ref": "136" @@ -20701,7 +20634,7 @@ "value": "2021-01-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2754", + "$id": "2749", "kind": "string", "type": { "$ref": "139" @@ -20711,15 +20644,15 @@ } }, { - "$id": "2755", + "$id": "2750", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2756", + "$id": "2751", "variable": { - "$id": "2757", + "$id": "2752", "kind": "string", "type": { "$ref": "130" @@ -20727,7 +20660,7 @@ "value": "variable_2" }, "filledNARatio": { - "$id": "2758", + "$id": "2753", "kind": "number", "type": { "$ref": "132" @@ -20735,7 +20668,7 @@ "value": 0 }, "effectiveCount": { - "$id": "2759", + "$id": "2754", "kind": "number", "type": { "$ref": "134" @@ -20743,7 +20676,7 @@ "value": 30 }, "firstTimestamp": { - "$id": "2760", + "$id": "2755", "kind": "string", "type": { "$ref": "136" @@ -20751,7 +20684,7 @@ "value": "2021-01-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2761", + "$id": "2756", "kind": "string", "type": { "$ref": "139" @@ -20761,15 +20694,15 @@ } }, { - "$id": "2762", + "$id": "2757", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2763", + "$id": "2758", "variable": { - "$id": "2764", + "$id": "2759", "kind": "string", "type": { "$ref": "130" @@ -20777,7 +20710,7 @@ "value": "variable_3" }, "filledNARatio": { - "$id": "2765", + "$id": "2760", "kind": "number", "type": { "$ref": "132" @@ -20785,7 +20718,7 @@ "value": 0 }, "effectiveCount": { - "$id": "2766", + "$id": "2761", "kind": "number", "type": { "$ref": "134" @@ -20793,7 +20726,7 @@ "value": 30 }, "firstTimestamp": { - "$id": "2767", + "$id": "2762", "kind": "string", "type": { "$ref": "136" @@ -20801,7 +20734,7 @@ "value": "2021-01-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2768", + "$id": "2763", "kind": "string", "type": { "$ref": "139" @@ -20813,15 +20746,15 @@ ] }, "setupInfo": { - "$id": "2769", + "$id": "2764", "kind": "model", "type": { "$ref": "142" }, "value": { - "$id": "2770", + "$id": "2765", "dataSource": { - "$id": "2771", + "$id": "2766", "kind": "string", "type": { "$ref": "144" @@ -20829,7 +20762,7 @@ "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "topContributorCount": { - "$id": "2772", + "$id": "2767", "kind": "number", "type": { "$ref": "146" @@ -20837,7 +20770,7 @@ "value": 10 }, "startTime": { - "$id": "2773", + "$id": "2768", "kind": "string", "type": { "$ref": "148" @@ -20845,7 +20778,7 @@ "value": "2021-01-01T00:00:00Z" }, "endTime": { - "$id": "2774", + "$id": "2769", "kind": "string", "type": { "$ref": "151" @@ -20857,22 +20790,22 @@ } }, "results": { - "$id": "2775", + "$id": "2770", "kind": "array", "type": { "$ref": "154" }, "value": [ { - "$id": "2776", + "$id": "2771", "kind": "model", "type": { "$ref": "155" }, "value": { - "$id": "2777", + "$id": "2772", "timestamp": { - "$id": "2778", + "$id": "2773", "kind": "string", "type": { "$ref": "157" @@ -20880,15 +20813,15 @@ "value": "2021-01-01T00:28:00Z" }, "value": { - "$id": "2779", + "$id": "2774", "kind": "model", "type": { "$ref": "160" }, "value": { - "$id": "2780", + "$id": "2775", "isAnomaly": { - "$id": "2781", + "$id": "2776", "kind": "boolean", "type": { "$ref": "162" @@ -20896,7 +20829,7 @@ "value": false }, "severity": { - "$id": "2782", + "$id": "2777", "kind": "number", "type": { "$ref": "164" @@ -20904,7 +20837,7 @@ "value": 0 }, "score": { - "$id": "2783", + "$id": "2778", "kind": "number", "type": { "$ref": "166" @@ -20914,7 +20847,7 @@ } }, "errors": { - "$id": "2784", + "$id": "2779", "kind": "array", "type": { "$ref": "180" @@ -20924,15 +20857,15 @@ } }, { - "$id": "2785", + "$id": "2780", "kind": "model", "type": { "$ref": "155" }, "value": { - "$id": "2786", + "$id": "2781", "timestamp": { - "$id": "2787", + "$id": "2782", "kind": "string", "type": { "$ref": "157" @@ -20940,15 +20873,15 @@ "value": "2021-01-01T00:29:00Z" }, "value": { - "$id": "2788", + "$id": "2783", "kind": "model", "type": { "$ref": "160" }, "value": { - "$id": "2789", + "$id": "2784", "isAnomaly": { - "$id": "2790", + "$id": "2785", "kind": "boolean", "type": { "$ref": "162" @@ -20956,7 +20889,7 @@ "value": true }, "severity": { - "$id": "2791", + "$id": "2786", "kind": "number", "type": { "$ref": "164" @@ -20964,7 +20897,7 @@ "value": 0.5337404608726501 }, "score": { - "$id": "2792", + "$id": "2787", "kind": "number", "type": { "$ref": "166" @@ -20972,22 +20905,22 @@ "value": 0.9171165823936462 }, "interpretation": { - "$id": "2793", + "$id": "2788", "kind": "array", "type": { "$ref": "168" }, "value": [ { - "$id": "2794", + "$id": "2789", "kind": "model", "type": { "$ref": "169" }, "value": { - "$id": "2795", + "$id": "2790", "variable": { - "$id": "2796", + "$id": "2791", "kind": "string", "type": { "$ref": "171" @@ -20995,7 +20928,7 @@ "value": "variable_2" }, "contributionScore": { - "$id": "2797", + "$id": "2792", "kind": "number", "type": { "$ref": "173" @@ -21003,22 +20936,22 @@ "value": 0.5371576215 }, "correlationChanges": { - "$id": "2798", + "$id": "2793", "kind": "model", "type": { "$ref": "175" }, "value": { - "$id": "2799", + "$id": "2794", "changedVariables": { - "$id": "2800", + "$id": "2795", "kind": "array", "type": { "$ref": "177" }, "value": [ { - "$id": "2801", + "$id": "2796", "kind": "string", "type": { "$ref": "178" @@ -21026,7 +20959,7 @@ "value": "variable_1" }, { - "$id": "2802", + "$id": "2797", "kind": "string", "type": { "$ref": "178" @@ -21040,15 +20973,15 @@ } }, { - "$id": "2803", + "$id": "2798", "kind": "model", "type": { "$ref": "169" }, "value": { - "$id": "2804", + "$id": "2799", "variable": { - "$id": "2805", + "$id": "2800", "kind": "string", "type": { "$ref": "171" @@ -21056,7 +20989,7 @@ "value": "variable_3" }, "contributionScore": { - "$id": "2806", + "$id": "2801", "kind": "number", "type": { "$ref": "173" @@ -21064,22 +20997,22 @@ "value": 0.3324159383 }, "correlationChanges": { - "$id": "2807", + "$id": "2802", "kind": "model", "type": { "$ref": "175" }, "value": { - "$id": "2808", + "$id": "2803", "changedVariables": { - "$id": "2809", + "$id": "2804", "kind": "array", "type": { "$ref": "177" }, "value": [ { - "$id": "2810", + "$id": "2805", "kind": "string", "type": { "$ref": "178" @@ -21093,15 +21026,15 @@ } }, { - "$id": "2811", + "$id": "2806", "kind": "model", "type": { "$ref": "169" }, "value": { - "$id": "2812", + "$id": "2807", "variable": { - "$id": "2813", + "$id": "2808", "kind": "string", "type": { "$ref": "171" @@ -21109,7 +21042,7 @@ "value": "variable_1" }, "contributionScore": { - "$id": "2814", + "$id": "2809", "kind": "number", "type": { "$ref": "173" @@ -21117,15 +21050,15 @@ "value": 0.1304264402 }, "correlationChanges": { - "$id": "2815", + "$id": "2810", "kind": "model", "type": { "$ref": "175" }, "value": { - "$id": "2816", + "$id": "2811", "changedVariables": { - "$id": "2817", + "$id": "2812", "kind": "array", "type": { "$ref": "177" @@ -21152,7 +21085,7 @@ ] }, { - "$id": "2818", + "$id": "2813", "Name": "TrainMultivariateModel", "ResourceName": "Multivariate", "Summary": "Train a Multivariate Anomaly Detection Model", @@ -21160,21 +21093,15 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "2724" - }, - { - "$ref": "2726" - }, - { - "$id": "2819", + "$id": "2814", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "2820", + "$id": "2815", "kind": "constant", "valueType": { - "$id": "2821", + "$id": "2816", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21194,14 +21121,14 @@ "SkipUrlEncoding": false }, { - "$id": "2822", + "$id": "2817", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "2823", + "$id": "2818", "kind": "constant", "valueType": { - "$id": "2824", + "$id": "2819", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21221,7 +21148,7 @@ "SkipUrlEncoding": false }, { - "$id": "2825", + "$id": "2820", "Name": "modelInfo", "NameInRequest": "modelInfo", "Description": "Model information.", @@ -21241,7 +21168,7 @@ ], "Responses": [ { - "$id": "2826", + "$id": "2821", "StatusCodes": [ 201 ], @@ -21251,12 +21178,12 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "2827", + "$id": "2822", "Name": "Location", "NameInResponse": "location", "Description": "Location and ID of the model.", "Type": { - "$id": "2828", + "$id": "2823", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21284,41 +21211,41 @@ "Decorators": [], "Examples": [ { - "$id": "2829", + "$id": "2824", "kind": "http", "name": "Create and train multivariate model", "description": "Create and train multivariate model", "filePath": "v1.1/TrainModel.json", "parameters": [ { - "$id": "2830", + "$id": "2825", "parameter": { - "$ref": "2819" + "$ref": "2814" }, "value": { - "$id": "2831", + "$id": "2826", "kind": "string", "type": { - "$ref": "2820" + "$ref": "2815" }, "value": "application/json" } }, { - "$id": "2832", + "$id": "2827", "parameter": { - "$ref": "2825" + "$ref": "2820" }, "value": { - "$id": "2833", + "$id": "2828", "kind": "model", "type": { "$ref": "181" }, "value": { - "$id": "2834", + "$id": "2829", "slidingWindow": { - "$id": "2835", + "$id": "2830", "kind": "number", "type": { "$ref": "194" @@ -21326,15 +21253,15 @@ "value": 20 }, "alignPolicy": { - "$id": "2836", + "$id": "2831", "kind": "model", "type": { "$ref": "196" }, "value": { - "$id": "2837", + "$id": "2832", "alignMode": { - "$id": "2838", + "$id": "2833", "kind": "string", "type": { "$ref": "18" @@ -21342,7 +21269,7 @@ "value": "Outer" }, "fillNAMethod": { - "$id": "2839", + "$id": "2834", "kind": "string", "type": { "$ref": "24" @@ -21350,7 +21277,7 @@ "value": "Linear" }, "paddingValue": { - "$id": "2840", + "$id": "2835", "kind": "number", "type": { "$ref": "200" @@ -21360,7 +21287,7 @@ } }, "dataSource": { - "$id": "2841", + "$id": "2836", "kind": "string", "type": { "$ref": "183" @@ -21368,7 +21295,7 @@ "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "dataSchema": { - "$id": "2842", + "$id": "2837", "kind": "string", "type": { "$ref": "12" @@ -21376,7 +21303,7 @@ "value": "OneTable" }, "startTime": { - "$id": "2843", + "$id": "2838", "kind": "string", "type": { "$ref": "186" @@ -21384,7 +21311,7 @@ "value": "2019-04-01T00:00:00Z" }, "endTime": { - "$id": "2844", + "$id": "2839", "kind": "string", "type": { "$ref": "189" @@ -21392,7 +21319,7 @@ "value": "2019-04-02T00:00:00Z" }, "displayName": { - "$id": "2845", + "$id": "2840", "kind": "string", "type": { "$ref": "192" @@ -21405,21 +21332,21 @@ ], "responses": [ { - "$id": "2846", + "$id": "2841", "response": { - "$ref": "2826" + "$ref": "2821" }, "statusCode": 201, "bodyValue": { - "$id": "2847", + "$id": "2842", "kind": "model", "type": { "$ref": "222" }, "value": { - "$id": "2848", + "$id": "2843", "modelId": { - "$id": "2849", + "$id": "2844", "kind": "string", "type": { "$ref": "224" @@ -21427,7 +21354,7 @@ "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" }, "createdTime": { - "$id": "2850", + "$id": "2845", "kind": "string", "type": { "$ref": "227" @@ -21435,7 +21362,7 @@ "value": "2020-06-30T00:00:00Z" }, "lastUpdatedTime": { - "$id": "2851", + "$id": "2846", "kind": "string", "type": { "$ref": "230" @@ -21443,15 +21370,15 @@ "value": "2020-06-30T00:00:00Z" }, "modelInfo": { - "$id": "2852", + "$id": "2847", "kind": "model", "type": { "$ref": "181" }, "value": { - "$id": "2853", + "$id": "2848", "slidingWindow": { - "$id": "2854", + "$id": "2849", "kind": "number", "type": { "$ref": "194" @@ -21459,15 +21386,15 @@ "value": 20 }, "alignPolicy": { - "$id": "2855", + "$id": "2850", "kind": "model", "type": { "$ref": "196" }, "value": { - "$id": "2856", + "$id": "2851", "alignMode": { - "$id": "2857", + "$id": "2852", "kind": "string", "type": { "$ref": "18" @@ -21475,7 +21402,7 @@ "value": "Outer" }, "fillNAMethod": { - "$id": "2858", + "$id": "2853", "kind": "string", "type": { "$ref": "24" @@ -21483,7 +21410,7 @@ "value": "Linear" }, "paddingValue": { - "$id": "2859", + "$id": "2854", "kind": "number", "type": { "$ref": "200" @@ -21493,7 +21420,7 @@ } }, "dataSource": { - "$id": "2860", + "$id": "2855", "kind": "string", "type": { "$ref": "183" @@ -21501,7 +21428,7 @@ "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "dataSchema": { - "$id": "2861", + "$id": "2856", "kind": "string", "type": { "$ref": "12" @@ -21509,7 +21436,7 @@ "value": "OneTable" }, "startTime": { - "$id": "2862", + "$id": "2857", "kind": "string", "type": { "$ref": "186" @@ -21517,7 +21444,7 @@ "value": "2019-04-01T00:00:00Z" }, "endTime": { - "$id": "2863", + "$id": "2858", "kind": "string", "type": { "$ref": "189" @@ -21525,7 +21452,7 @@ "value": "2019-04-02T00:00:00Z" }, "displayName": { - "$id": "2864", + "$id": "2859", "kind": "string", "type": { "$ref": "192" @@ -21533,7 +21460,7 @@ "value": "Devops-MultiAD" }, "status": { - "$id": "2865", + "$id": "2860", "kind": "string", "type": { "$ref": "36" @@ -21541,7 +21468,7 @@ "value": "CREATED" }, "errors": { - "$id": "2866", + "$id": "2861", "kind": "array", "type": { "$ref": "203" @@ -21558,7 +21485,7 @@ ] }, { - "$id": "2867", + "$id": "2862", "Name": "ListMultivariateModels", "ResourceName": "Multivariate", "Summary": "List Multivariate Models", @@ -21566,18 +21493,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "2724" - }, - { - "$ref": "2726" - }, - { - "$id": "2868", + "$id": "2863", "Name": "skip", "NameInRequest": "skip", "Description": "Skip indicates how many models will be skipped.", "Type": { - "$id": "2869", + "$id": "2864", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -21594,12 +21515,12 @@ "SkipUrlEncoding": false }, { - "$id": "2870", + "$id": "2865", "Name": "top", "NameInRequest": "top", "Description": "Top indicates how many models will be fetched.", "Type": { - "$id": "2871", + "$id": "2866", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -21616,14 +21537,14 @@ "SkipUrlEncoding": false }, { - "$id": "2872", + "$id": "2867", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "2873", + "$id": "2868", "kind": "constant", "valueType": { - "$id": "2874", + "$id": "2869", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21645,7 +21566,7 @@ ], "Responses": [ { - "$id": "2875", + "$id": "2870", "StatusCodes": [ 200 ], @@ -21666,7 +21587,7 @@ "Path": "/multivariate/models", "BufferResponse": true, "Paging": { - "$id": "2876", + "$id": "2871", "ItemName": "models", "NextLinkName": "nextLink" }, @@ -21676,36 +21597,36 @@ "Decorators": [], "Examples": [ { - "$id": "2877", + "$id": "2872", "kind": "http", "name": "List multivariate models", "description": "List multivariate models", "filePath": "v1.1/ListModel.json", "parameters": [ { - "$id": "2878", + "$id": "2873", "parameter": { - "$ref": "2868" + "$ref": "2863" }, "value": { - "$id": "2879", + "$id": "2874", "kind": "number", "type": { - "$ref": "2869" + "$ref": "2864" }, "value": 0 } }, { - "$id": "2880", + "$id": "2875", "parameter": { - "$ref": "2870" + "$ref": "2865" }, "value": { - "$id": "2881", + "$id": "2876", "kind": "number", "type": { - "$ref": "2871" + "$ref": "2866" }, "value": 10 } @@ -21713,36 +21634,36 @@ ], "responses": [ { - "$id": "2882", + "$id": "2877", "response": { - "$ref": "2875" + "$ref": "2870" }, "statusCode": 200, "bodyValue": { - "$id": "2883", + "$id": "2878", "kind": "model", "type": { "$ref": "233" }, "value": { - "$id": "2884", + "$id": "2879", "models": { - "$id": "2885", + "$id": "2880", "kind": "array", "type": { "$ref": "235" }, "value": [ { - "$id": "2886", + "$id": "2881", "kind": "model", "type": { "$ref": "222" }, "value": { - "$id": "2887", + "$id": "2882", "modelId": { - "$id": "2888", + "$id": "2883", "kind": "string", "type": { "$ref": "224" @@ -21750,7 +21671,7 @@ "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" }, "createdTime": { - "$id": "2889", + "$id": "2884", "kind": "string", "type": { "$ref": "227" @@ -21758,7 +21679,7 @@ "value": "2020-06-30T00:00:00Z" }, "lastUpdatedTime": { - "$id": "2890", + "$id": "2885", "kind": "string", "type": { "$ref": "230" @@ -21766,15 +21687,15 @@ "value": "2020-06-30T00:00:00Z" }, "modelInfo": { - "$id": "2891", + "$id": "2886", "kind": "model", "type": { "$ref": "181" }, "value": { - "$id": "2892", + "$id": "2887", "slidingWindow": { - "$id": "2893", + "$id": "2888", "kind": "number", "type": { "$ref": "194" @@ -21782,15 +21703,15 @@ "value": 20 }, "alignPolicy": { - "$id": "2894", + "$id": "2889", "kind": "model", "type": { "$ref": "196" }, "value": { - "$id": "2895", + "$id": "2890", "alignMode": { - "$id": "2896", + "$id": "2891", "kind": "string", "type": { "$ref": "18" @@ -21798,7 +21719,7 @@ "value": "Outer" }, "fillNAMethod": { - "$id": "2897", + "$id": "2892", "kind": "string", "type": { "$ref": "24" @@ -21806,7 +21727,7 @@ "value": "Linear" }, "paddingValue": { - "$id": "2898", + "$id": "2893", "kind": "number", "type": { "$ref": "200" @@ -21816,7 +21737,7 @@ } }, "dataSource": { - "$id": "2899", + "$id": "2894", "kind": "string", "type": { "$ref": "183" @@ -21824,7 +21745,7 @@ "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "dataSchema": { - "$id": "2900", + "$id": "2895", "kind": "string", "type": { "$ref": "12" @@ -21832,7 +21753,7 @@ "value": "OneTable" }, "startTime": { - "$id": "2901", + "$id": "2896", "kind": "string", "type": { "$ref": "186" @@ -21840,7 +21761,7 @@ "value": "2019-04-01T00:00:00Z" }, "endTime": { - "$id": "2902", + "$id": "2897", "kind": "string", "type": { "$ref": "189" @@ -21848,7 +21769,7 @@ "value": "2019-04-02T00:00:00Z" }, "displayName": { - "$id": "2903", + "$id": "2898", "kind": "string", "type": { "$ref": "192" @@ -21856,7 +21777,7 @@ "value": "Devops-MultiAD" }, "status": { - "$id": "2904", + "$id": "2899", "kind": "string", "type": { "$ref": "36" @@ -21864,7 +21785,7 @@ "value": "READY" }, "errors": { - "$id": "2905", + "$id": "2900", "kind": "array", "type": { "$ref": "203" @@ -21872,30 +21793,30 @@ "value": [] }, "diagnosticsInfo": { - "$id": "2906", + "$id": "2901", "kind": "model", "type": { "$ref": "205" }, "value": { - "$id": "2907", + "$id": "2902", "modelState": { - "$id": "2908", + "$id": "2903", "kind": "model", "type": { "$ref": "207" }, "value": { - "$id": "2909", + "$id": "2904", "epochIds": { - "$id": "2910", + "$id": "2905", "kind": "array", "type": { "$ref": "209" }, "value": [ { - "$id": "2911", + "$id": "2906", "kind": "number", "type": { "$ref": "210" @@ -21903,7 +21824,7 @@ "value": 10 }, { - "$id": "2912", + "$id": "2907", "kind": "number", "type": { "$ref": "210" @@ -21911,7 +21832,7 @@ "value": 20 }, { - "$id": "2913", + "$id": "2908", "kind": "number", "type": { "$ref": "210" @@ -21919,7 +21840,7 @@ "value": 30 }, { - "$id": "2914", + "$id": "2909", "kind": "number", "type": { "$ref": "210" @@ -21927,7 +21848,7 @@ "value": 40 }, { - "$id": "2915", + "$id": "2910", "kind": "number", "type": { "$ref": "210" @@ -21935,7 +21856,7 @@ "value": 50 }, { - "$id": "2916", + "$id": "2911", "kind": "number", "type": { "$ref": "210" @@ -21943,7 +21864,7 @@ "value": 60 }, { - "$id": "2917", + "$id": "2912", "kind": "number", "type": { "$ref": "210" @@ -21951,7 +21872,7 @@ "value": 70 }, { - "$id": "2918", + "$id": "2913", "kind": "number", "type": { "$ref": "210" @@ -21959,7 +21880,7 @@ "value": 80 }, { - "$id": "2919", + "$id": "2914", "kind": "number", "type": { "$ref": "210" @@ -21967,7 +21888,7 @@ "value": 90 }, { - "$id": "2920", + "$id": "2915", "kind": "number", "type": { "$ref": "210" @@ -21977,14 +21898,14 @@ ] }, "trainLosses": { - "$id": "2921", + "$id": "2916", "kind": "array", "type": { "$ref": "212" }, "value": [ { - "$id": "2922", + "$id": "2917", "kind": "number", "type": { "$ref": "213" @@ -21992,7 +21913,7 @@ "value": 0.6291328072547913 }, { - "$id": "2923", + "$id": "2918", "kind": "number", "type": { "$ref": "213" @@ -22000,7 +21921,7 @@ "value": 0.1671326905488968 }, { - "$id": "2924", + "$id": "2919", "kind": "number", "type": { "$ref": "213" @@ -22008,7 +21929,7 @@ "value": 0.12354248017072678 }, { - "$id": "2925", + "$id": "2920", "kind": "number", "type": { "$ref": "213" @@ -22016,7 +21937,7 @@ "value": 0.10259664058685303 }, { - "$id": "2926", + "$id": "2921", "kind": "number", "type": { "$ref": "213" @@ -22024,7 +21945,7 @@ "value": 0.09584927558898926 }, { - "$id": "2927", + "$id": "2922", "kind": "number", "type": { "$ref": "213" @@ -22032,7 +21953,7 @@ "value": 0.09069952368736267 }, { - "$id": "2928", + "$id": "2923", "kind": "number", "type": { "$ref": "213" @@ -22040,7 +21961,7 @@ "value": 0.08686016499996185 }, { - "$id": "2929", + "$id": "2924", "kind": "number", "type": { "$ref": "213" @@ -22048,7 +21969,7 @@ "value": 0.08603022992610931 }, { - "$id": "2930", + "$id": "2925", "kind": "number", "type": { "$ref": "213" @@ -22056,7 +21977,7 @@ "value": 0.08287354558706284 }, { - "$id": "2931", + "$id": "2926", "kind": "number", "type": { "$ref": "213" @@ -22066,14 +21987,14 @@ ] }, "validationLosses": { - "$id": "2932", + "$id": "2927", "kind": "array", "type": { "$ref": "215" }, "value": [ { - "$id": "2933", + "$id": "2928", "kind": "number", "type": { "$ref": "216" @@ -22081,7 +22002,7 @@ "value": 1.9232804775238037 }, { - "$id": "2934", + "$id": "2929", "kind": "number", "type": { "$ref": "216" @@ -22089,7 +22010,7 @@ "value": 1.0645641088485718 }, { - "$id": "2935", + "$id": "2930", "kind": "number", "type": { "$ref": "216" @@ -22097,7 +22018,7 @@ "value": 0.6031560301780701 }, { - "$id": "2936", + "$id": "2931", "kind": "number", "type": { "$ref": "216" @@ -22105,7 +22026,7 @@ "value": 0.5302737951278687 }, { - "$id": "2937", + "$id": "2932", "kind": "number", "type": { "$ref": "216" @@ -22113,7 +22034,7 @@ "value": 0.46980252861976624 }, { - "$id": "2938", + "$id": "2933", "kind": "number", "type": { "$ref": "216" @@ -22121,7 +22042,7 @@ "value": 0.4395163357257843 }, { - "$id": "2939", + "$id": "2934", "kind": "number", "type": { "$ref": "216" @@ -22129,7 +22050,7 @@ "value": 0.41829314827919006 }, { - "$id": "2940", + "$id": "2935", "kind": "number", "type": { "$ref": "216" @@ -22137,7 +22058,7 @@ "value": 0.40579143166542053 }, { - "$id": "2941", + "$id": "2936", "kind": "number", "type": { "$ref": "216" @@ -22145,7 +22066,7 @@ "value": 0.405649870634079 }, { - "$id": "2942", + "$id": "2937", "kind": "number", "type": { "$ref": "216" @@ -22155,14 +22076,14 @@ ] }, "latenciesInSeconds": { - "$id": "2943", + "$id": "2938", "kind": "array", "type": { "$ref": "218" }, "value": [ { - "$id": "2944", + "$id": "2939", "kind": "number", "type": { "$ref": "219" @@ -22170,7 +22091,7 @@ "value": 0.3398594856262207 }, { - "$id": "2945", + "$id": "2940", "kind": "number", "type": { "$ref": "219" @@ -22178,7 +22099,7 @@ "value": 0.3659665584564209 }, { - "$id": "2946", + "$id": "2941", "kind": "number", "type": { "$ref": "219" @@ -22186,7 +22107,7 @@ "value": 0.37360644340515137 }, { - "$id": "2947", + "$id": "2942", "kind": "number", "type": { "$ref": "219" @@ -22194,7 +22115,7 @@ "value": 0.35134077072143555 }, { - "$id": "2948", + "$id": "2943", "kind": "number", "type": { "$ref": "219" @@ -22202,7 +22123,7 @@ "value": 0.33703041076660156 }, { - "$id": "2949", + "$id": "2944", "kind": "number", "type": { "$ref": "219" @@ -22210,7 +22131,7 @@ "value": 0.31876277923583984 }, { - "$id": "2950", + "$id": "2945", "kind": "number", "type": { "$ref": "219" @@ -22218,7 +22139,7 @@ "value": 0.32833099365234375 }, { - "$id": "2951", + "$id": "2946", "kind": "number", "type": { "$ref": "219" @@ -22226,7 +22147,7 @@ "value": 0.3503587245941162 }, { - "$id": "2952", + "$id": "2947", "kind": "number", "type": { "$ref": "219" @@ -22234,7 +22155,7 @@ "value": 0.3080024719238281 }, { - "$id": "2953", + "$id": "2948", "kind": "number", "type": { "$ref": "219" @@ -22246,22 +22167,22 @@ } }, "variableStates": { - "$id": "2954", + "$id": "2949", "kind": "array", "type": { "$ref": "221" }, "value": [ { - "$id": "2955", + "$id": "2950", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2956", + "$id": "2951", "variable": { - "$id": "2957", + "$id": "2952", "kind": "string", "type": { "$ref": "130" @@ -22269,7 +22190,7 @@ "value": "ad_input" }, "filledNARatio": { - "$id": "2958", + "$id": "2953", "kind": "number", "type": { "$ref": "132" @@ -22277,7 +22198,7 @@ "value": 0 }, "effectiveCount": { - "$id": "2959", + "$id": "2954", "kind": "number", "type": { "$ref": "134" @@ -22285,7 +22206,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "2960", + "$id": "2955", "kind": "string", "type": { "$ref": "136" @@ -22293,7 +22214,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2961", + "$id": "2956", "kind": "string", "type": { "$ref": "139" @@ -22303,15 +22224,15 @@ } }, { - "$id": "2962", + "$id": "2957", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2963", + "$id": "2958", "variable": { - "$id": "2964", + "$id": "2959", "kind": "string", "type": { "$ref": "130" @@ -22319,7 +22240,7 @@ "value": "ad_ontimer_output" }, "filledNARatio": { - "$id": "2965", + "$id": "2960", "kind": "number", "type": { "$ref": "132" @@ -22327,7 +22248,7 @@ "value": 0 }, "effectiveCount": { - "$id": "2966", + "$id": "2961", "kind": "number", "type": { "$ref": "134" @@ -22335,7 +22256,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "2967", + "$id": "2962", "kind": "string", "type": { "$ref": "136" @@ -22343,7 +22264,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2968", + "$id": "2963", "kind": "string", "type": { "$ref": "139" @@ -22353,15 +22274,15 @@ } }, { - "$id": "2969", + "$id": "2964", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2970", + "$id": "2965", "variable": { - "$id": "2971", + "$id": "2966", "kind": "string", "type": { "$ref": "130" @@ -22369,7 +22290,7 @@ "value": "ingestion" }, "filledNARatio": { - "$id": "2972", + "$id": "2967", "kind": "number", "type": { "$ref": "132" @@ -22377,7 +22298,7 @@ "value": 0 }, "effectiveCount": { - "$id": "2973", + "$id": "2968", "kind": "number", "type": { "$ref": "134" @@ -22385,7 +22306,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "2974", + "$id": "2969", "kind": "string", "type": { "$ref": "136" @@ -22393,7 +22314,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2975", + "$id": "2970", "kind": "string", "type": { "$ref": "139" @@ -22403,15 +22324,15 @@ } }, { - "$id": "2976", + "$id": "2971", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2977", + "$id": "2972", "variable": { - "$id": "2978", + "$id": "2973", "kind": "string", "type": { "$ref": "130" @@ -22419,7 +22340,7 @@ "value": "data_in_speed" }, "filledNARatio": { - "$id": "2979", + "$id": "2974", "kind": "number", "type": { "$ref": "132" @@ -22427,7 +22348,7 @@ "value": 0 }, "effectiveCount": { - "$id": "2980", + "$id": "2975", "kind": "number", "type": { "$ref": "134" @@ -22435,7 +22356,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "2981", + "$id": "2976", "kind": "string", "type": { "$ref": "136" @@ -22443,7 +22364,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2982", + "$id": "2977", "kind": "string", "type": { "$ref": "139" @@ -22453,15 +22374,15 @@ } }, { - "$id": "2983", + "$id": "2978", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2984", + "$id": "2979", "variable": { - "$id": "2985", + "$id": "2980", "kind": "string", "type": { "$ref": "130" @@ -22469,7 +22390,7 @@ "value": "cpu" }, "filledNARatio": { - "$id": "2986", + "$id": "2981", "kind": "number", "type": { "$ref": "132" @@ -22477,7 +22398,7 @@ "value": 0 }, "effectiveCount": { - "$id": "2987", + "$id": "2982", "kind": "number", "type": { "$ref": "134" @@ -22485,7 +22406,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "2988", + "$id": "2983", "kind": "string", "type": { "$ref": "136" @@ -22493,7 +22414,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2989", + "$id": "2984", "kind": "string", "type": { "$ref": "139" @@ -22503,15 +22424,15 @@ } }, { - "$id": "2990", + "$id": "2985", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2991", + "$id": "2986", "variable": { - "$id": "2992", + "$id": "2987", "kind": "string", "type": { "$ref": "130" @@ -22519,7 +22440,7 @@ "value": "ad_series_init" }, "filledNARatio": { - "$id": "2993", + "$id": "2988", "kind": "number", "type": { "$ref": "132" @@ -22527,7 +22448,7 @@ "value": 0 }, "effectiveCount": { - "$id": "2994", + "$id": "2989", "kind": "number", "type": { "$ref": "134" @@ -22535,7 +22456,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "2995", + "$id": "2990", "kind": "string", "type": { "$ref": "136" @@ -22543,7 +22464,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "2996", + "$id": "2991", "kind": "string", "type": { "$ref": "139" @@ -22553,15 +22474,15 @@ } }, { - "$id": "2997", + "$id": "2992", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "2998", + "$id": "2993", "variable": { - "$id": "2999", + "$id": "2994", "kind": "string", "type": { "$ref": "130" @@ -22569,7 +22490,7 @@ "value": "flink_last_ckpt_duration" }, "filledNARatio": { - "$id": "3000", + "$id": "2995", "kind": "number", "type": { "$ref": "132" @@ -22577,7 +22498,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3001", + "$id": "2996", "kind": "number", "type": { "$ref": "134" @@ -22585,7 +22506,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3002", + "$id": "2997", "kind": "string", "type": { "$ref": "136" @@ -22593,7 +22514,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3003", + "$id": "2998", "kind": "string", "type": { "$ref": "139" @@ -22603,15 +22524,15 @@ } }, { - "$id": "3004", + "$id": "2999", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3005", + "$id": "3000", "variable": { - "$id": "3006", + "$id": "3001", "kind": "string", "type": { "$ref": "130" @@ -22619,7 +22540,7 @@ "value": "data_out_speed" }, "filledNARatio": { - "$id": "3007", + "$id": "3002", "kind": "number", "type": { "$ref": "132" @@ -22627,7 +22548,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3008", + "$id": "3003", "kind": "number", "type": { "$ref": "134" @@ -22635,7 +22556,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3009", + "$id": "3004", "kind": "string", "type": { "$ref": "136" @@ -22643,7 +22564,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3010", + "$id": "3005", "kind": "string", "type": { "$ref": "139" @@ -22653,15 +22574,15 @@ } }, { - "$id": "3011", + "$id": "3006", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3012", + "$id": "3007", "variable": { - "$id": "3013", + "$id": "3008", "kind": "string", "type": { "$ref": "130" @@ -22669,7 +22590,7 @@ "value": "ad_output" }, "filledNARatio": { - "$id": "3014", + "$id": "3009", "kind": "number", "type": { "$ref": "132" @@ -22677,7 +22598,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3015", + "$id": "3010", "kind": "number", "type": { "$ref": "134" @@ -22685,7 +22606,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3016", + "$id": "3011", "kind": "string", "type": { "$ref": "136" @@ -22693,7 +22614,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3017", + "$id": "3012", "kind": "string", "type": { "$ref": "139" @@ -22713,7 +22634,7 @@ ] }, "currentCount": { - "$id": "3018", + "$id": "3013", "kind": "number", "type": { "$ref": "237" @@ -22721,7 +22642,7 @@ "value": 1 }, "maxCount": { - "$id": "3019", + "$id": "3014", "kind": "number", "type": { "$ref": "239" @@ -22729,7 +22650,7 @@ "value": 20 }, "nextLink": { - "$id": "3020", + "$id": "3015", "kind": "string", "type": { "$ref": "241" @@ -22744,7 +22665,7 @@ ] }, { - "$id": "3021", + "$id": "3016", "Name": "DeleteMultivariateModel", "ResourceName": "Multivariate", "Summary": "Delete Multivariate Model", @@ -22752,18 +22673,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "2724" - }, - { - "$ref": "2726" - }, - { - "$id": "3022", + "$id": "3017", "Name": "modelId", "NameInRequest": "modelId", "Description": "Model identifier.", "Type": { - "$id": "3023", + "$id": "3018", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22780,14 +22695,14 @@ "SkipUrlEncoding": false }, { - "$id": "3024", + "$id": "3019", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "3025", + "$id": "3020", "kind": "constant", "valueType": { - "$id": "3026", + "$id": "3021", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22809,7 +22724,7 @@ ], "Responses": [ { - "$id": "3027", + "$id": "3022", "StatusCodes": [ 204 ], @@ -22829,22 +22744,22 @@ "Decorators": [], "Examples": [ { - "$id": "3028", + "$id": "3023", "kind": "http", "name": "Delete multivariate model", "description": "Delete multivariate model", "filePath": "v1.1/DeleteModel.json", "parameters": [ { - "$id": "3029", + "$id": "3024", "parameter": { - "$ref": "3022" + "$ref": "3017" }, "value": { - "$id": "3030", + "$id": "3025", "kind": "string", "type": { - "$ref": "3023" + "$ref": "3018" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" } @@ -22852,9 +22767,9 @@ ], "responses": [ { - "$id": "3031", + "$id": "3026", "response": { - "$ref": "3027" + "$ref": "3022" }, "statusCode": 204 } @@ -22863,7 +22778,7 @@ ] }, { - "$id": "3032", + "$id": "3027", "Name": "GetMultivariateModel", "ResourceName": "Multivariate", "Summary": "Get Multivariate Model", @@ -22871,18 +22786,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "2724" - }, - { - "$ref": "2726" - }, - { - "$id": "3033", + "$id": "3028", "Name": "modelId", "NameInRequest": "modelId", "Description": "Model identifier.", "Type": { - "$id": "3034", + "$id": "3029", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22899,14 +22808,14 @@ "SkipUrlEncoding": false }, { - "$id": "3035", + "$id": "3030", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "3036", + "$id": "3031", "kind": "constant", "valueType": { - "$id": "3037", + "$id": "3032", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22928,7 +22837,7 @@ ], "Responses": [ { - "$id": "3038", + "$id": "3033", "StatusCodes": [ 200 ], @@ -22954,22 +22863,22 @@ "Decorators": [], "Examples": [ { - "$id": "3039", + "$id": "3034", "kind": "http", "name": "Get a multivariate model", "description": "Get a multivariate model", "filePath": "v1.1/GetModel.json", "parameters": [ { - "$id": "3040", + "$id": "3035", "parameter": { - "$ref": "3033" + "$ref": "3028" }, "value": { - "$id": "3041", + "$id": "3036", "kind": "string", "type": { - "$ref": "3034" + "$ref": "3029" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" } @@ -22977,21 +22886,21 @@ ], "responses": [ { - "$id": "3042", + "$id": "3037", "response": { - "$ref": "3038" + "$ref": "3033" }, "statusCode": 200, "bodyValue": { - "$id": "3043", + "$id": "3038", "kind": "model", "type": { "$ref": "222" }, "value": { - "$id": "3044", + "$id": "3039", "modelId": { - "$id": "3045", + "$id": "3040", "kind": "string", "type": { "$ref": "224" @@ -22999,7 +22908,7 @@ "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" }, "createdTime": { - "$id": "3046", + "$id": "3041", "kind": "string", "type": { "$ref": "227" @@ -23007,7 +22916,7 @@ "value": "2020-06-30T00:00:00Z" }, "lastUpdatedTime": { - "$id": "3047", + "$id": "3042", "kind": "string", "type": { "$ref": "230" @@ -23015,15 +22924,15 @@ "value": "2020-06-30T00:00:00Z" }, "modelInfo": { - "$id": "3048", + "$id": "3043", "kind": "model", "type": { "$ref": "181" }, "value": { - "$id": "3049", + "$id": "3044", "slidingWindow": { - "$id": "3050", + "$id": "3045", "kind": "number", "type": { "$ref": "194" @@ -23031,15 +22940,15 @@ "value": 20 }, "alignPolicy": { - "$id": "3051", + "$id": "3046", "kind": "model", "type": { "$ref": "196" }, "value": { - "$id": "3052", + "$id": "3047", "alignMode": { - "$id": "3053", + "$id": "3048", "kind": "string", "type": { "$ref": "18" @@ -23047,7 +22956,7 @@ "value": "Outer" }, "fillNAMethod": { - "$id": "3054", + "$id": "3049", "kind": "string", "type": { "$ref": "24" @@ -23055,7 +22964,7 @@ "value": "Linear" }, "paddingValue": { - "$id": "3055", + "$id": "3050", "kind": "number", "type": { "$ref": "200" @@ -23065,7 +22974,7 @@ } }, "dataSource": { - "$id": "3056", + "$id": "3051", "kind": "string", "type": { "$ref": "183" @@ -23073,7 +22982,7 @@ "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "dataSchema": { - "$id": "3057", + "$id": "3052", "kind": "string", "type": { "$ref": "12" @@ -23081,7 +22990,7 @@ "value": "OneTable" }, "startTime": { - "$id": "3058", + "$id": "3053", "kind": "string", "type": { "$ref": "186" @@ -23089,7 +22998,7 @@ "value": "2019-04-01T00:00:00Z" }, "endTime": { - "$id": "3059", + "$id": "3054", "kind": "string", "type": { "$ref": "189" @@ -23097,7 +23006,7 @@ "value": "2019-04-02T00:00:00Z" }, "displayName": { - "$id": "3060", + "$id": "3055", "kind": "string", "type": { "$ref": "192" @@ -23105,7 +23014,7 @@ "value": "Devops-MultiAD" }, "status": { - "$id": "3061", + "$id": "3056", "kind": "string", "type": { "$ref": "36" @@ -23113,7 +23022,7 @@ "value": "READY" }, "errors": { - "$id": "3062", + "$id": "3057", "kind": "array", "type": { "$ref": "203" @@ -23121,30 +23030,30 @@ "value": [] }, "diagnosticsInfo": { - "$id": "3063", + "$id": "3058", "kind": "model", "type": { "$ref": "205" }, "value": { - "$id": "3064", + "$id": "3059", "modelState": { - "$id": "3065", + "$id": "3060", "kind": "model", "type": { "$ref": "207" }, "value": { - "$id": "3066", + "$id": "3061", "epochIds": { - "$id": "3067", + "$id": "3062", "kind": "array", "type": { "$ref": "209" }, "value": [ { - "$id": "3068", + "$id": "3063", "kind": "number", "type": { "$ref": "210" @@ -23152,7 +23061,7 @@ "value": 10 }, { - "$id": "3069", + "$id": "3064", "kind": "number", "type": { "$ref": "210" @@ -23160,7 +23069,7 @@ "value": 20 }, { - "$id": "3070", + "$id": "3065", "kind": "number", "type": { "$ref": "210" @@ -23168,7 +23077,7 @@ "value": 30 }, { - "$id": "3071", + "$id": "3066", "kind": "number", "type": { "$ref": "210" @@ -23176,7 +23085,7 @@ "value": 40 }, { - "$id": "3072", + "$id": "3067", "kind": "number", "type": { "$ref": "210" @@ -23184,7 +23093,7 @@ "value": 50 }, { - "$id": "3073", + "$id": "3068", "kind": "number", "type": { "$ref": "210" @@ -23192,7 +23101,7 @@ "value": 60 }, { - "$id": "3074", + "$id": "3069", "kind": "number", "type": { "$ref": "210" @@ -23200,7 +23109,7 @@ "value": 70 }, { - "$id": "3075", + "$id": "3070", "kind": "number", "type": { "$ref": "210" @@ -23208,7 +23117,7 @@ "value": 80 }, { - "$id": "3076", + "$id": "3071", "kind": "number", "type": { "$ref": "210" @@ -23216,7 +23125,7 @@ "value": 90 }, { - "$id": "3077", + "$id": "3072", "kind": "number", "type": { "$ref": "210" @@ -23226,14 +23135,14 @@ ] }, "trainLosses": { - "$id": "3078", + "$id": "3073", "kind": "array", "type": { "$ref": "212" }, "value": [ { - "$id": "3079", + "$id": "3074", "kind": "number", "type": { "$ref": "213" @@ -23241,7 +23150,7 @@ "value": 0.6291328072547913 }, { - "$id": "3080", + "$id": "3075", "kind": "number", "type": { "$ref": "213" @@ -23249,7 +23158,7 @@ "value": 0.1671326905488968 }, { - "$id": "3081", + "$id": "3076", "kind": "number", "type": { "$ref": "213" @@ -23257,7 +23166,7 @@ "value": 0.12354248017072678 }, { - "$id": "3082", + "$id": "3077", "kind": "number", "type": { "$ref": "213" @@ -23265,7 +23174,7 @@ "value": 0.10259664058685303 }, { - "$id": "3083", + "$id": "3078", "kind": "number", "type": { "$ref": "213" @@ -23273,7 +23182,7 @@ "value": 0.09584927558898926 }, { - "$id": "3084", + "$id": "3079", "kind": "number", "type": { "$ref": "213" @@ -23281,7 +23190,7 @@ "value": 0.09069952368736267 }, { - "$id": "3085", + "$id": "3080", "kind": "number", "type": { "$ref": "213" @@ -23289,7 +23198,7 @@ "value": 0.08686016499996185 }, { - "$id": "3086", + "$id": "3081", "kind": "number", "type": { "$ref": "213" @@ -23297,7 +23206,7 @@ "value": 0.08603022992610931 }, { - "$id": "3087", + "$id": "3082", "kind": "number", "type": { "$ref": "213" @@ -23305,7 +23214,7 @@ "value": 0.08287354558706284 }, { - "$id": "3088", + "$id": "3083", "kind": "number", "type": { "$ref": "213" @@ -23315,14 +23224,14 @@ ] }, "validationLosses": { - "$id": "3089", + "$id": "3084", "kind": "array", "type": { "$ref": "215" }, "value": [ { - "$id": "3090", + "$id": "3085", "kind": "number", "type": { "$ref": "216" @@ -23330,7 +23239,7 @@ "value": 1.9232804775238037 }, { - "$id": "3091", + "$id": "3086", "kind": "number", "type": { "$ref": "216" @@ -23338,7 +23247,7 @@ "value": 1.0645641088485718 }, { - "$id": "3092", + "$id": "3087", "kind": "number", "type": { "$ref": "216" @@ -23346,7 +23255,7 @@ "value": 0.6031560301780701 }, { - "$id": "3093", + "$id": "3088", "kind": "number", "type": { "$ref": "216" @@ -23354,7 +23263,7 @@ "value": 0.5302737951278687 }, { - "$id": "3094", + "$id": "3089", "kind": "number", "type": { "$ref": "216" @@ -23362,7 +23271,7 @@ "value": 0.46980252861976624 }, { - "$id": "3095", + "$id": "3090", "kind": "number", "type": { "$ref": "216" @@ -23370,7 +23279,7 @@ "value": 0.4395163357257843 }, { - "$id": "3096", + "$id": "3091", "kind": "number", "type": { "$ref": "216" @@ -23378,7 +23287,7 @@ "value": 0.41829314827919006 }, { - "$id": "3097", + "$id": "3092", "kind": "number", "type": { "$ref": "216" @@ -23386,7 +23295,7 @@ "value": 0.40579143166542053 }, { - "$id": "3098", + "$id": "3093", "kind": "number", "type": { "$ref": "216" @@ -23394,7 +23303,7 @@ "value": 0.405649870634079 }, { - "$id": "3099", + "$id": "3094", "kind": "number", "type": { "$ref": "216" @@ -23404,14 +23313,14 @@ ] }, "latenciesInSeconds": { - "$id": "3100", + "$id": "3095", "kind": "array", "type": { "$ref": "218" }, "value": [ { - "$id": "3101", + "$id": "3096", "kind": "number", "type": { "$ref": "219" @@ -23419,7 +23328,7 @@ "value": 0.3398594856262207 }, { - "$id": "3102", + "$id": "3097", "kind": "number", "type": { "$ref": "219" @@ -23427,7 +23336,7 @@ "value": 0.3659665584564209 }, { - "$id": "3103", + "$id": "3098", "kind": "number", "type": { "$ref": "219" @@ -23435,7 +23344,7 @@ "value": 0.37360644340515137 }, { - "$id": "3104", + "$id": "3099", "kind": "number", "type": { "$ref": "219" @@ -23443,7 +23352,7 @@ "value": 0.35134077072143555 }, { - "$id": "3105", + "$id": "3100", "kind": "number", "type": { "$ref": "219" @@ -23451,7 +23360,7 @@ "value": 0.33703041076660156 }, { - "$id": "3106", + "$id": "3101", "kind": "number", "type": { "$ref": "219" @@ -23459,7 +23368,7 @@ "value": 0.31876277923583984 }, { - "$id": "3107", + "$id": "3102", "kind": "number", "type": { "$ref": "219" @@ -23467,7 +23376,7 @@ "value": 0.32833099365234375 }, { - "$id": "3108", + "$id": "3103", "kind": "number", "type": { "$ref": "219" @@ -23475,7 +23384,7 @@ "value": 0.3503587245941162 }, { - "$id": "3109", + "$id": "3104", "kind": "number", "type": { "$ref": "219" @@ -23483,7 +23392,7 @@ "value": 0.3080024719238281 }, { - "$id": "3110", + "$id": "3105", "kind": "number", "type": { "$ref": "219" @@ -23495,22 +23404,22 @@ } }, "variableStates": { - "$id": "3111", + "$id": "3106", "kind": "array", "type": { "$ref": "221" }, "value": [ { - "$id": "3112", + "$id": "3107", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3113", + "$id": "3108", "variable": { - "$id": "3114", + "$id": "3109", "kind": "string", "type": { "$ref": "130" @@ -23518,7 +23427,7 @@ "value": "ad_input" }, "filledNARatio": { - "$id": "3115", + "$id": "3110", "kind": "number", "type": { "$ref": "132" @@ -23526,7 +23435,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3116", + "$id": "3111", "kind": "number", "type": { "$ref": "134" @@ -23534,7 +23443,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3117", + "$id": "3112", "kind": "string", "type": { "$ref": "136" @@ -23542,7 +23451,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3118", + "$id": "3113", "kind": "string", "type": { "$ref": "139" @@ -23552,15 +23461,15 @@ } }, { - "$id": "3119", + "$id": "3114", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3120", + "$id": "3115", "variable": { - "$id": "3121", + "$id": "3116", "kind": "string", "type": { "$ref": "130" @@ -23568,7 +23477,7 @@ "value": "ad_ontimer_output" }, "filledNARatio": { - "$id": "3122", + "$id": "3117", "kind": "number", "type": { "$ref": "132" @@ -23576,7 +23485,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3123", + "$id": "3118", "kind": "number", "type": { "$ref": "134" @@ -23584,7 +23493,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3124", + "$id": "3119", "kind": "string", "type": { "$ref": "136" @@ -23592,7 +23501,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3125", + "$id": "3120", "kind": "string", "type": { "$ref": "139" @@ -23602,15 +23511,15 @@ } }, { - "$id": "3126", + "$id": "3121", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3127", + "$id": "3122", "variable": { - "$id": "3128", + "$id": "3123", "kind": "string", "type": { "$ref": "130" @@ -23618,7 +23527,7 @@ "value": "ingestion" }, "filledNARatio": { - "$id": "3129", + "$id": "3124", "kind": "number", "type": { "$ref": "132" @@ -23626,7 +23535,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3130", + "$id": "3125", "kind": "number", "type": { "$ref": "134" @@ -23634,7 +23543,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3131", + "$id": "3126", "kind": "string", "type": { "$ref": "136" @@ -23642,7 +23551,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3132", + "$id": "3127", "kind": "string", "type": { "$ref": "139" @@ -23652,15 +23561,15 @@ } }, { - "$id": "3133", + "$id": "3128", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3134", + "$id": "3129", "variable": { - "$id": "3135", + "$id": "3130", "kind": "string", "type": { "$ref": "130" @@ -23668,7 +23577,7 @@ "value": "data_in_speed" }, "filledNARatio": { - "$id": "3136", + "$id": "3131", "kind": "number", "type": { "$ref": "132" @@ -23676,7 +23585,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3137", + "$id": "3132", "kind": "number", "type": { "$ref": "134" @@ -23684,7 +23593,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3138", + "$id": "3133", "kind": "string", "type": { "$ref": "136" @@ -23692,7 +23601,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3139", + "$id": "3134", "kind": "string", "type": { "$ref": "139" @@ -23702,15 +23611,15 @@ } }, { - "$id": "3140", + "$id": "3135", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3141", + "$id": "3136", "variable": { - "$id": "3142", + "$id": "3137", "kind": "string", "type": { "$ref": "130" @@ -23718,7 +23627,7 @@ "value": "cpu" }, "filledNARatio": { - "$id": "3143", + "$id": "3138", "kind": "number", "type": { "$ref": "132" @@ -23726,7 +23635,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3144", + "$id": "3139", "kind": "number", "type": { "$ref": "134" @@ -23734,7 +23643,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3145", + "$id": "3140", "kind": "string", "type": { "$ref": "136" @@ -23742,7 +23651,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3146", + "$id": "3141", "kind": "string", "type": { "$ref": "139" @@ -23752,15 +23661,15 @@ } }, { - "$id": "3147", + "$id": "3142", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3148", + "$id": "3143", "variable": { - "$id": "3149", + "$id": "3144", "kind": "string", "type": { "$ref": "130" @@ -23768,7 +23677,7 @@ "value": "ad_series_init" }, "filledNARatio": { - "$id": "3150", + "$id": "3145", "kind": "number", "type": { "$ref": "132" @@ -23776,7 +23685,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3151", + "$id": "3146", "kind": "number", "type": { "$ref": "134" @@ -23784,7 +23693,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3152", + "$id": "3147", "kind": "string", "type": { "$ref": "136" @@ -23792,7 +23701,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3153", + "$id": "3148", "kind": "string", "type": { "$ref": "139" @@ -23802,15 +23711,15 @@ } }, { - "$id": "3154", + "$id": "3149", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3155", + "$id": "3150", "variable": { - "$id": "3156", + "$id": "3151", "kind": "string", "type": { "$ref": "130" @@ -23818,7 +23727,7 @@ "value": "flink_last_ckpt_duration" }, "filledNARatio": { - "$id": "3157", + "$id": "3152", "kind": "number", "type": { "$ref": "132" @@ -23826,7 +23735,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3158", + "$id": "3153", "kind": "number", "type": { "$ref": "134" @@ -23834,7 +23743,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3159", + "$id": "3154", "kind": "string", "type": { "$ref": "136" @@ -23842,7 +23751,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3160", + "$id": "3155", "kind": "string", "type": { "$ref": "139" @@ -23852,15 +23761,15 @@ } }, { - "$id": "3161", + "$id": "3156", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3162", + "$id": "3157", "variable": { - "$id": "3163", + "$id": "3158", "kind": "string", "type": { "$ref": "130" @@ -23868,7 +23777,7 @@ "value": "data_out_speed" }, "filledNARatio": { - "$id": "3164", + "$id": "3159", "kind": "number", "type": { "$ref": "132" @@ -23876,7 +23785,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3165", + "$id": "3160", "kind": "number", "type": { "$ref": "134" @@ -23884,7 +23793,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3166", + "$id": "3161", "kind": "string", "type": { "$ref": "136" @@ -23892,7 +23801,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3167", + "$id": "3162", "kind": "string", "type": { "$ref": "139" @@ -23902,15 +23811,15 @@ } }, { - "$id": "3168", + "$id": "3163", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3169", + "$id": "3164", "variable": { - "$id": "3170", + "$id": "3165", "kind": "string", "type": { "$ref": "130" @@ -23918,7 +23827,7 @@ "value": "ad_output" }, "filledNARatio": { - "$id": "3171", + "$id": "3166", "kind": "number", "type": { "$ref": "132" @@ -23926,7 +23835,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3172", + "$id": "3167", "kind": "number", "type": { "$ref": "134" @@ -23934,7 +23843,7 @@ "value": 1441 }, "firstTimestamp": { - "$id": "3173", + "$id": "3168", "kind": "string", "type": { "$ref": "136" @@ -23942,7 +23851,7 @@ "value": "2019-04-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3174", + "$id": "3169", "kind": "string", "type": { "$ref": "139" @@ -23965,7 +23874,7 @@ ] }, { - "$id": "3175", + "$id": "3170", "Name": "DetectMultivariateBatchAnomaly", "ResourceName": "Multivariate", "Summary": "Detect Multivariate Anomaly", @@ -23973,18 +23882,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "2724" - }, - { - "$ref": "2726" - }, - { - "$id": "3176", + "$id": "3171", "Name": "modelId", "NameInRequest": "modelId", "Description": "Model identifier.", "Type": { - "$id": "3177", + "$id": "3172", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24001,15 +23904,15 @@ "SkipUrlEncoding": false }, { - "$id": "3178", + "$id": "3173", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "3179", + "$id": "3174", "kind": "constant", "valueType": { - "$id": "3180", + "$id": "3175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24029,14 +23932,14 @@ "SkipUrlEncoding": false }, { - "$id": "3181", + "$id": "3176", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "3182", + "$id": "3177", "kind": "constant", "valueType": { - "$id": "3183", + "$id": "3178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24056,7 +23959,7 @@ "SkipUrlEncoding": false }, { - "$id": "3184", + "$id": "3179", "Name": "options", "NameInRequest": "options", "Description": "Request of multivariate anomaly detection.", @@ -24076,7 +23979,7 @@ ], "Responses": [ { - "$id": "3185", + "$id": "3180", "StatusCodes": [ 202 ], @@ -24086,12 +23989,12 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "3186", + "$id": "3181", "Name": "Operation-Id", "NameInResponse": "operation-id", "Description": "Id of the detection result.", "Type": { - "$id": "3187", + "$id": "3182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24099,12 +24002,12 @@ } }, { - "$id": "3188", + "$id": "3183", "Name": "Operation-Location", "NameInResponse": "operation-location", "Description": "Location of the detection result.", "Type": { - "$id": "3189", + "$id": "3184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24132,55 +24035,55 @@ "Decorators": [], "Examples": [ { - "$id": "3190", + "$id": "3185", "kind": "http", "name": "Detect multivariate batch anomaly", "description": "Detect multivariate batch anomaly", "filePath": "v1.1/DetectAnomaly.json", "parameters": [ { - "$id": "3191", + "$id": "3186", "parameter": { - "$ref": "3178" + "$ref": "3173" }, "value": { - "$id": "3192", + "$id": "3187", "kind": "string", "type": { - "$ref": "3179" + "$ref": "3174" }, "value": "application/json" } }, { - "$id": "3193", + "$id": "3188", "parameter": { - "$ref": "3176" + "$ref": "3171" }, "value": { - "$id": "3194", + "$id": "3189", "kind": "string", "type": { - "$ref": "3177" + "$ref": "3172" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" } }, { - "$id": "3195", + "$id": "3190", "parameter": { - "$ref": "3184" + "$ref": "3179" }, "value": { - "$id": "3196", + "$id": "3191", "kind": "model", "type": { "$ref": "142" }, "value": { - "$id": "3197", + "$id": "3192", "dataSource": { - "$id": "3198", + "$id": "3193", "kind": "string", "type": { "$ref": "144" @@ -24188,7 +24091,7 @@ "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "topContributorCount": { - "$id": "3199", + "$id": "3194", "kind": "number", "type": { "$ref": "146" @@ -24196,7 +24099,7 @@ "value": 10 }, "startTime": { - "$id": "3200", + "$id": "3195", "kind": "string", "type": { "$ref": "148" @@ -24204,7 +24107,7 @@ "value": "2019-04-01T00:15:00Z" }, "endTime": { - "$id": "3201", + "$id": "3196", "kind": "string", "type": { "$ref": "151" @@ -24217,21 +24120,21 @@ ], "responses": [ { - "$id": "3202", + "$id": "3197", "response": { - "$ref": "3185" + "$ref": "3180" }, "statusCode": 202, "bodyValue": { - "$id": "3203", + "$id": "3198", "kind": "model", "type": { "$ref": "112" }, "value": { - "$id": "3204", + "$id": "3199", "resultId": { - "$id": "3205", + "$id": "3200", "kind": "string", "type": { "$ref": "114" @@ -24239,15 +24142,15 @@ "value": "663884e6-b117-11ea-b3de-0242ac130004" }, "summary": { - "$id": "3206", + "$id": "3201", "kind": "model", "type": { "$ref": "117" }, "value": { - "$id": "3207", + "$id": "3202", "status": { - "$id": "3208", + "$id": "3203", "kind": "string", "type": { "$ref": "2" @@ -24255,7 +24158,7 @@ "value": "CREATED" }, "errors": { - "$id": "3209", + "$id": "3204", "kind": "array", "type": { "$ref": "120" @@ -24263,15 +24166,15 @@ "value": [] }, "setupInfo": { - "$id": "3210", + "$id": "3205", "kind": "model", "type": { "$ref": "142" }, "value": { - "$id": "3211", + "$id": "3206", "dataSource": { - "$id": "3212", + "$id": "3207", "kind": "string", "type": { "$ref": "144" @@ -24279,7 +24182,7 @@ "value": "https://multiadsample.blob.core.windows.net/data/sample_data_2_1000.csv" }, "topContributorCount": { - "$id": "3213", + "$id": "3208", "kind": "number", "type": { "$ref": "146" @@ -24287,7 +24190,7 @@ "value": 10 }, "startTime": { - "$id": "3214", + "$id": "3209", "kind": "string", "type": { "$ref": "148" @@ -24295,7 +24198,7 @@ "value": "2021-01-01T00:00:00Z" }, "endTime": { - "$id": "3215", + "$id": "3210", "kind": "string", "type": { "$ref": "151" @@ -24307,7 +24210,7 @@ } }, "results": { - "$id": "3216", + "$id": "3211", "kind": "array", "type": { "$ref": "154" @@ -24322,7 +24225,7 @@ ] }, { - "$id": "3217", + "$id": "3212", "Name": "DetectMultivariateLastAnomaly", "ResourceName": "Multivariate", "Summary": "Detect anomalies in the last point of the request body", @@ -24330,18 +24233,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "2724" - }, - { - "$ref": "2726" - }, - { - "$id": "3218", + "$id": "3213", "Name": "modelId", "NameInRequest": "modelId", "Description": "Model identifier.", "Type": { - "$id": "3219", + "$id": "3214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24358,15 +24255,15 @@ "SkipUrlEncoding": false }, { - "$id": "3220", + "$id": "3215", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "3221", + "$id": "3216", "kind": "constant", "valueType": { - "$id": "3222", + "$id": "3217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24386,14 +24283,14 @@ "SkipUrlEncoding": false }, { - "$id": "3223", + "$id": "3218", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "3224", + "$id": "3219", "kind": "constant", "valueType": { - "$id": "3225", + "$id": "3220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24413,7 +24310,7 @@ "SkipUrlEncoding": false }, { - "$id": "3226", + "$id": "3221", "Name": "options", "NameInRequest": "options", "Description": "Request of last detection.", @@ -24433,7 +24330,7 @@ ], "Responses": [ { - "$id": "3227", + "$id": "3222", "StatusCodes": [ 200 ], @@ -24462,70 +24359,70 @@ "Decorators": [], "Examples": [ { - "$id": "3228", + "$id": "3223", "kind": "http", "name": "Detect multivariate last anomaly", "description": "Detect multivariate last anomaly", "filePath": "v1.1/LastDetectAnomaly.json", "parameters": [ { - "$id": "3229", + "$id": "3224", "parameter": { - "$ref": "3220" + "$ref": "3215" }, "value": { - "$id": "3230", + "$id": "3225", "kind": "string", "type": { - "$ref": "3221" + "$ref": "3216" }, "value": "application/json" } }, { - "$id": "3231", + "$id": "3226", "parameter": { - "$ref": "3218" + "$ref": "3213" }, "value": { - "$id": "3232", + "$id": "3227", "kind": "string", "type": { - "$ref": "3219" + "$ref": "3214" }, "value": "45aad126-aafd-11ea-b8fb-d89ef3400c5f" } }, { - "$id": "3233", + "$id": "3228", "parameter": { - "$ref": "3226" + "$ref": "3221" }, "value": { - "$id": "3234", + "$id": "3229", "kind": "model", "type": { "$ref": "242" }, "value": { - "$id": "3235", + "$id": "3230", "variables": { - "$id": "3236", + "$id": "3231", "kind": "array", "type": { "$ref": "244" }, "value": [ { - "$id": "3237", + "$id": "3232", "kind": "model", "type": { "$ref": "245" }, "value": { - "$id": "3238", + "$id": "3233", "variable": { - "$id": "3239", + "$id": "3234", "kind": "string", "type": { "$ref": "247" @@ -24533,14 +24430,14 @@ "value": "Variable_1" }, "timestamps": { - "$id": "3240", + "$id": "3235", "kind": "array", "type": { "$ref": "249" }, "value": [ { - "$id": "3241", + "$id": "3236", "kind": "string", "type": { "$ref": "250" @@ -24548,7 +24445,7 @@ "value": "2021-01-01T00:00:00Z" }, { - "$id": "3242", + "$id": "3237", "kind": "string", "type": { "$ref": "250" @@ -24556,7 +24453,7 @@ "value": "2021-01-01T00:01:00Z" }, { - "$id": "3243", + "$id": "3238", "kind": "string", "type": { "$ref": "250" @@ -24564,7 +24461,7 @@ "value": "2021-01-01T00:02:00Z" }, { - "$id": "3244", + "$id": "3239", "kind": "string", "type": { "$ref": "250" @@ -24572,7 +24469,7 @@ "value": "2021-01-01T00:03:00Z" }, { - "$id": "3245", + "$id": "3240", "kind": "string", "type": { "$ref": "250" @@ -24580,7 +24477,7 @@ "value": "2021-01-01T00:04:00Z" }, { - "$id": "3246", + "$id": "3241", "kind": "string", "type": { "$ref": "250" @@ -24588,7 +24485,7 @@ "value": "2021-01-01T00:05:00Z" }, { - "$id": "3247", + "$id": "3242", "kind": "string", "type": { "$ref": "250" @@ -24596,7 +24493,7 @@ "value": "2021-01-01T00:06:00Z" }, { - "$id": "3248", + "$id": "3243", "kind": "string", "type": { "$ref": "250" @@ -24604,7 +24501,7 @@ "value": "2021-01-01T00:07:00Z" }, { - "$id": "3249", + "$id": "3244", "kind": "string", "type": { "$ref": "250" @@ -24612,7 +24509,7 @@ "value": "2021-01-01T00:08:00Z" }, { - "$id": "3250", + "$id": "3245", "kind": "string", "type": { "$ref": "250" @@ -24620,7 +24517,7 @@ "value": "2021-01-01T00:09:00Z" }, { - "$id": "3251", + "$id": "3246", "kind": "string", "type": { "$ref": "250" @@ -24628,7 +24525,7 @@ "value": "2021-01-01T00:10:00Z" }, { - "$id": "3252", + "$id": "3247", "kind": "string", "type": { "$ref": "250" @@ -24636,7 +24533,7 @@ "value": "2021-01-01T00:11:00Z" }, { - "$id": "3253", + "$id": "3248", "kind": "string", "type": { "$ref": "250" @@ -24644,7 +24541,7 @@ "value": "2021-01-01T00:12:00Z" }, { - "$id": "3254", + "$id": "3249", "kind": "string", "type": { "$ref": "250" @@ -24652,7 +24549,7 @@ "value": "2021-01-01T00:13:00Z" }, { - "$id": "3255", + "$id": "3250", "kind": "string", "type": { "$ref": "250" @@ -24660,7 +24557,7 @@ "value": "2021-01-01T00:14:00Z" }, { - "$id": "3256", + "$id": "3251", "kind": "string", "type": { "$ref": "250" @@ -24668,7 +24565,7 @@ "value": "2021-01-01T00:15:00Z" }, { - "$id": "3257", + "$id": "3252", "kind": "string", "type": { "$ref": "250" @@ -24676,7 +24573,7 @@ "value": "2021-01-01T00:16:00Z" }, { - "$id": "3258", + "$id": "3253", "kind": "string", "type": { "$ref": "250" @@ -24684,7 +24581,7 @@ "value": "2021-01-01T00:17:00Z" }, { - "$id": "3259", + "$id": "3254", "kind": "string", "type": { "$ref": "250" @@ -24692,7 +24589,7 @@ "value": "2021-01-01T00:18:00Z" }, { - "$id": "3260", + "$id": "3255", "kind": "string", "type": { "$ref": "250" @@ -24700,7 +24597,7 @@ "value": "2021-01-01T00:19:00Z" }, { - "$id": "3261", + "$id": "3256", "kind": "string", "type": { "$ref": "250" @@ -24708,7 +24605,7 @@ "value": "2021-01-01T00:20:00Z" }, { - "$id": "3262", + "$id": "3257", "kind": "string", "type": { "$ref": "250" @@ -24716,7 +24613,7 @@ "value": "2021-01-01T00:21:00Z" }, { - "$id": "3263", + "$id": "3258", "kind": "string", "type": { "$ref": "250" @@ -24724,7 +24621,7 @@ "value": "2021-01-01T00:22:00Z" }, { - "$id": "3264", + "$id": "3259", "kind": "string", "type": { "$ref": "250" @@ -24732,7 +24629,7 @@ "value": "2021-01-01T00:23:00Z" }, { - "$id": "3265", + "$id": "3260", "kind": "string", "type": { "$ref": "250" @@ -24740,7 +24637,7 @@ "value": "2021-01-01T00:24:00Z" }, { - "$id": "3266", + "$id": "3261", "kind": "string", "type": { "$ref": "250" @@ -24748,7 +24645,7 @@ "value": "2021-01-01T00:25:00Z" }, { - "$id": "3267", + "$id": "3262", "kind": "string", "type": { "$ref": "250" @@ -24756,7 +24653,7 @@ "value": "2021-01-01T00:26:00Z" }, { - "$id": "3268", + "$id": "3263", "kind": "string", "type": { "$ref": "250" @@ -24764,7 +24661,7 @@ "value": "2021-01-01T00:27:00Z" }, { - "$id": "3269", + "$id": "3264", "kind": "string", "type": { "$ref": "250" @@ -24772,7 +24669,7 @@ "value": "2021-01-01T00:28:00Z" }, { - "$id": "3270", + "$id": "3265", "kind": "string", "type": { "$ref": "250" @@ -24782,14 +24679,14 @@ ] }, "values": { - "$id": "3271", + "$id": "3266", "kind": "array", "type": { "$ref": "252" }, "value": [ { - "$id": "3272", + "$id": "3267", "kind": "number", "type": { "$ref": "253" @@ -24797,7 +24694,7 @@ "value": 0.4551378545933972 }, { - "$id": "3273", + "$id": "3268", "kind": "number", "type": { "$ref": "253" @@ -24805,7 +24702,7 @@ "value": 0.7388603950488748 }, { - "$id": "3274", + "$id": "3269", "kind": "number", "type": { "$ref": "253" @@ -24813,7 +24710,7 @@ "value": 0.201088255984052 }, { - "$id": "3275", + "$id": "3270", "kind": "number", "type": { "$ref": "253" @@ -24821,7 +24718,7 @@ "value": 0.7462812245891899 }, { - "$id": "3276", + "$id": "3271", "kind": "number", "type": { "$ref": "253" @@ -24829,7 +24726,7 @@ "value": 0.07308128850401663 }, { - "$id": "3277", + "$id": "3272", "kind": "number", "type": { "$ref": "253" @@ -24837,7 +24734,7 @@ "value": 0.33090474587393537 }, { - "$id": "3278", + "$id": "3273", "kind": "number", "type": { "$ref": "253" @@ -24845,7 +24742,7 @@ "value": 0.7544925268153315 }, { - "$id": "3279", + "$id": "3274", "kind": "number", "type": { "$ref": "253" @@ -24853,7 +24750,7 @@ "value": 0.987506336316328 }, { - "$id": "3280", + "$id": "3275", "kind": "number", "type": { "$ref": "253" @@ -24861,7 +24758,7 @@ "value": 0.6665932993421468 }, { - "$id": "3281", + "$id": "3276", "kind": "number", "type": { "$ref": "253" @@ -24869,7 +24766,7 @@ "value": 0.6308351543168672 }, { - "$id": "3282", + "$id": "3277", "kind": "number", "type": { "$ref": "253" @@ -24877,7 +24774,7 @@ "value": 0.08083310161466228 }, { - "$id": "3283", + "$id": "3278", "kind": "number", "type": { "$ref": "253" @@ -24885,7 +24782,7 @@ "value": 0.8414415588668442 }, { - "$id": "3284", + "$id": "3279", "kind": "number", "type": { "$ref": "253" @@ -24893,7 +24790,7 @@ "value": 0.514583545640453 }, { - "$id": "3285", + "$id": "3280", "kind": "number", "type": { "$ref": "253" @@ -24901,7 +24798,7 @@ "value": 0.0954489875193526 }, { - "$id": "3286", + "$id": "3281", "kind": "number", "type": { "$ref": "253" @@ -24909,7 +24806,7 @@ "value": 0.7786793231920507 }, { - "$id": "3287", + "$id": "3282", "kind": "number", "type": { "$ref": "253" @@ -24917,7 +24814,7 @@ "value": 0.41646133667960994 }, { - "$id": "3288", + "$id": "3283", "kind": "number", "type": { "$ref": "253" @@ -24925,7 +24822,7 @@ "value": 0.030176187583339287 }, { - "$id": "3289", + "$id": "3284", "kind": "number", "type": { "$ref": "253" @@ -24933,7 +24830,7 @@ "value": 0.3474214937189324 }, { - "$id": "3290", + "$id": "3285", "kind": "number", "type": { "$ref": "253" @@ -24941,7 +24838,7 @@ "value": 0.508530173413991 }, { - "$id": "3291", + "$id": "3286", "kind": "number", "type": { "$ref": "253" @@ -24949,7 +24846,7 @@ "value": 0.42451199127255046 }, { - "$id": "3292", + "$id": "3287", "kind": "number", "type": { "$ref": "253" @@ -24957,7 +24854,7 @@ "value": 0.2115944222725208 }, { - "$id": "3293", + "$id": "3288", "kind": "number", "type": { "$ref": "253" @@ -24965,7 +24862,7 @@ "value": 0.24733519545833516 }, { - "$id": "3294", + "$id": "3289", "kind": "number", "type": { "$ref": "253" @@ -24973,7 +24870,7 @@ "value": 0.8791022110982156 }, { - "$id": "3295", + "$id": "3290", "kind": "number", "type": { "$ref": "253" @@ -24981,7 +24878,7 @@ "value": 0.9479621899884665 }, { - "$id": "3296", + "$id": "3291", "kind": "number", "type": { "$ref": "253" @@ -24989,7 +24886,7 @@ "value": 0.26702703121252136 }, { - "$id": "3297", + "$id": "3292", "kind": "number", "type": { "$ref": "253" @@ -24997,7 +24894,7 @@ "value": 0.6954503497669413 }, { - "$id": "3298", + "$id": "3293", "kind": "number", "type": { "$ref": "253" @@ -25005,7 +24902,7 @@ "value": 0.1235728391488995 }, { - "$id": "3299", + "$id": "3294", "kind": "number", "type": { "$ref": "253" @@ -25013,7 +24910,7 @@ "value": 0.8214915473050647 }, { - "$id": "3300", + "$id": "3295", "kind": "number", "type": { "$ref": "253" @@ -25021,7 +24918,7 @@ "value": 0.11813002444192677 }, { - "$id": "3301", + "$id": "3296", "kind": "number", "type": { "$ref": "253" @@ -25033,15 +24930,15 @@ } }, { - "$id": "3302", + "$id": "3297", "kind": "model", "type": { "$ref": "245" }, "value": { - "$id": "3303", + "$id": "3298", "variable": { - "$id": "3304", + "$id": "3299", "kind": "string", "type": { "$ref": "247" @@ -25049,14 +24946,14 @@ "value": "Variable_2" }, "timestamps": { - "$id": "3305", + "$id": "3300", "kind": "array", "type": { "$ref": "249" }, "value": [ { - "$id": "3306", + "$id": "3301", "kind": "string", "type": { "$ref": "250" @@ -25064,7 +24961,7 @@ "value": "2021-01-01T00:00:00Z" }, { - "$id": "3307", + "$id": "3302", "kind": "string", "type": { "$ref": "250" @@ -25072,7 +24969,7 @@ "value": "2021-01-01T00:01:00Z" }, { - "$id": "3308", + "$id": "3303", "kind": "string", "type": { "$ref": "250" @@ -25080,7 +24977,7 @@ "value": "2021-01-01T00:02:00Z" }, { - "$id": "3309", + "$id": "3304", "kind": "string", "type": { "$ref": "250" @@ -25088,7 +24985,7 @@ "value": "2021-01-01T00:03:00Z" }, { - "$id": "3310", + "$id": "3305", "kind": "string", "type": { "$ref": "250" @@ -25096,7 +24993,7 @@ "value": "2021-01-01T00:04:00Z" }, { - "$id": "3311", + "$id": "3306", "kind": "string", "type": { "$ref": "250" @@ -25104,7 +25001,7 @@ "value": "2021-01-01T00:05:00Z" }, { - "$id": "3312", + "$id": "3307", "kind": "string", "type": { "$ref": "250" @@ -25112,7 +25009,7 @@ "value": "2021-01-01T00:06:00Z" }, { - "$id": "3313", + "$id": "3308", "kind": "string", "type": { "$ref": "250" @@ -25120,7 +25017,7 @@ "value": "2021-01-01T00:07:00Z" }, { - "$id": "3314", + "$id": "3309", "kind": "string", "type": { "$ref": "250" @@ -25128,7 +25025,7 @@ "value": "2021-01-01T00:08:00Z" }, { - "$id": "3315", + "$id": "3310", "kind": "string", "type": { "$ref": "250" @@ -25136,7 +25033,7 @@ "value": "2021-01-01T00:09:00Z" }, { - "$id": "3316", + "$id": "3311", "kind": "string", "type": { "$ref": "250" @@ -25144,7 +25041,7 @@ "value": "2021-01-01T00:10:00Z" }, { - "$id": "3317", + "$id": "3312", "kind": "string", "type": { "$ref": "250" @@ -25152,7 +25049,7 @@ "value": "2021-01-01T00:11:00Z" }, { - "$id": "3318", + "$id": "3313", "kind": "string", "type": { "$ref": "250" @@ -25160,7 +25057,7 @@ "value": "2021-01-01T00:12:00Z" }, { - "$id": "3319", + "$id": "3314", "kind": "string", "type": { "$ref": "250" @@ -25168,7 +25065,7 @@ "value": "2021-01-01T00:13:00Z" }, { - "$id": "3320", + "$id": "3315", "kind": "string", "type": { "$ref": "250" @@ -25176,7 +25073,7 @@ "value": "2021-01-01T00:14:00Z" }, { - "$id": "3321", + "$id": "3316", "kind": "string", "type": { "$ref": "250" @@ -25184,7 +25081,7 @@ "value": "2021-01-01T00:15:00Z" }, { - "$id": "3322", + "$id": "3317", "kind": "string", "type": { "$ref": "250" @@ -25192,7 +25089,7 @@ "value": "2021-01-01T00:16:00Z" }, { - "$id": "3323", + "$id": "3318", "kind": "string", "type": { "$ref": "250" @@ -25200,7 +25097,7 @@ "value": "2021-01-01T00:17:00Z" }, { - "$id": "3324", + "$id": "3319", "kind": "string", "type": { "$ref": "250" @@ -25208,7 +25105,7 @@ "value": "2021-01-01T00:18:00Z" }, { - "$id": "3325", + "$id": "3320", "kind": "string", "type": { "$ref": "250" @@ -25216,7 +25113,7 @@ "value": "2021-01-01T00:19:00Z" }, { - "$id": "3326", + "$id": "3321", "kind": "string", "type": { "$ref": "250" @@ -25224,7 +25121,7 @@ "value": "2021-01-01T00:20:00Z" }, { - "$id": "3327", + "$id": "3322", "kind": "string", "type": { "$ref": "250" @@ -25232,7 +25129,7 @@ "value": "2021-01-01T00:21:00Z" }, { - "$id": "3328", + "$id": "3323", "kind": "string", "type": { "$ref": "250" @@ -25240,7 +25137,7 @@ "value": "2021-01-01T00:22:00Z" }, { - "$id": "3329", + "$id": "3324", "kind": "string", "type": { "$ref": "250" @@ -25248,7 +25145,7 @@ "value": "2021-01-01T00:23:00Z" }, { - "$id": "3330", + "$id": "3325", "kind": "string", "type": { "$ref": "250" @@ -25256,7 +25153,7 @@ "value": "2021-01-01T00:24:00Z" }, { - "$id": "3331", + "$id": "3326", "kind": "string", "type": { "$ref": "250" @@ -25264,7 +25161,7 @@ "value": "2021-01-01T00:25:00Z" }, { - "$id": "3332", + "$id": "3327", "kind": "string", "type": { "$ref": "250" @@ -25272,7 +25169,7 @@ "value": "2021-01-01T00:26:00Z" }, { - "$id": "3333", + "$id": "3328", "kind": "string", "type": { "$ref": "250" @@ -25280,7 +25177,7 @@ "value": "2021-01-01T00:27:00Z" }, { - "$id": "3334", + "$id": "3329", "kind": "string", "type": { "$ref": "250" @@ -25288,7 +25185,7 @@ "value": "2021-01-01T00:28:00Z" }, { - "$id": "3335", + "$id": "3330", "kind": "string", "type": { "$ref": "250" @@ -25298,14 +25195,14 @@ ] }, "values": { - "$id": "3336", + "$id": "3331", "kind": "array", "type": { "$ref": "252" }, "value": [ { - "$id": "3337", + "$id": "3332", "kind": "number", "type": { "$ref": "253" @@ -25313,7 +25210,7 @@ "value": 0.9617871613964145 }, { - "$id": "3338", + "$id": "3333", "kind": "number", "type": { "$ref": "253" @@ -25321,7 +25218,7 @@ "value": 0.24903311574778408 }, { - "$id": "3339", + "$id": "3334", "kind": "number", "type": { "$ref": "253" @@ -25329,7 +25226,7 @@ "value": 0.4920561254118613 }, { - "$id": "3340", + "$id": "3335", "kind": "number", "type": { "$ref": "253" @@ -25337,7 +25234,7 @@ "value": 0.9895601049618598 }, { - "$id": "3341", + "$id": "3336", "kind": "number", "type": { "$ref": "253" @@ -25345,7 +25242,7 @@ "value": 0.9171759283128094 }, { - "$id": "3342", + "$id": "3337", "kind": "number", "type": { "$ref": "253" @@ -25353,7 +25250,7 @@ "value": 0.5754204711105273 }, { - "$id": "3343", + "$id": "3338", "kind": "number", "type": { "$ref": "253" @@ -25361,7 +25258,7 @@ "value": 0.1811033296265634 }, { - "$id": "3344", + "$id": "3339", "kind": "number", "type": { "$ref": "253" @@ -25369,7 +25266,7 @@ "value": 0.8852311981742577 }, { - "$id": "3345", + "$id": "3340", "kind": "number", "type": { "$ref": "253" @@ -25377,7 +25274,7 @@ "value": 0.9543231904644779 }, { - "$id": "3346", + "$id": "3341", "kind": "number", "type": { "$ref": "253" @@ -25385,7 +25282,7 @@ "value": 0.7088012446094262 }, { - "$id": "3347", + "$id": "3342", "kind": "number", "type": { "$ref": "253" @@ -25393,7 +25290,7 @@ "value": 0.7843572237149014 }, { - "$id": "3348", + "$id": "3343", "kind": "number", "type": { "$ref": "253" @@ -25401,7 +25298,7 @@ "value": 0.7664787010700046 }, { - "$id": "3349", + "$id": "3344", "kind": "number", "type": { "$ref": "253" @@ -25409,7 +25306,7 @@ "value": 0.3699552325387093 }, { - "$id": "3350", + "$id": "3345", "kind": "number", "type": { "$ref": "253" @@ -25417,7 +25314,7 @@ "value": 0.504519908266789 }, { - "$id": "3351", + "$id": "3346", "kind": "number", "type": { "$ref": "253" @@ -25425,7 +25322,7 @@ "value": 0.5848930929950164 }, { - "$id": "3352", + "$id": "3347", "kind": "number", "type": { "$ref": "253" @@ -25433,7 +25330,7 @@ "value": 0.7628913396089576 }, { - "$id": "3353", + "$id": "3348", "kind": "number", "type": { "$ref": "253" @@ -25441,7 +25338,7 @@ "value": 0.8148405868900065 }, { - "$id": "3354", + "$id": "3349", "kind": "number", "type": { "$ref": "253" @@ -25449,7 +25346,7 @@ "value": 0.08540458873739332 }, { - "$id": "3355", + "$id": "3350", "kind": "number", "type": { "$ref": "253" @@ -25457,7 +25354,7 @@ "value": 0.03481976727525682 }, { - "$id": "3356", + "$id": "3351", "kind": "number", "type": { "$ref": "253" @@ -25465,7 +25362,7 @@ "value": 0.21275099339467762 }, { - "$id": "3357", + "$id": "3352", "kind": "number", "type": { "$ref": "253" @@ -25473,7 +25370,7 @@ "value": 0.9836175579199806 }, { - "$id": "3358", + "$id": "3353", "kind": "number", "type": { "$ref": "253" @@ -25481,7 +25378,7 @@ "value": 0.9321441483364282 }, { - "$id": "3359", + "$id": "3354", "kind": "number", "type": { "$ref": "253" @@ -25489,7 +25386,7 @@ "value": 0.038466608085469534 }, { - "$id": "3360", + "$id": "3355", "kind": "number", "type": { "$ref": "253" @@ -25497,7 +25394,7 @@ "value": 0.1723138437622782 }, { - "$id": "3361", + "$id": "3356", "kind": "number", "type": { "$ref": "253" @@ -25505,7 +25402,7 @@ "value": 0.8626383410218382 }, { - "$id": "3362", + "$id": "3357", "kind": "number", "type": { "$ref": "253" @@ -25513,7 +25410,7 @@ "value": 0.35053229974224254 }, { - "$id": "3363", + "$id": "3358", "kind": "number", "type": { "$ref": "253" @@ -25521,7 +25418,7 @@ "value": 0.631141662835182 }, { - "$id": "3364", + "$id": "3359", "kind": "number", "type": { "$ref": "253" @@ -25529,7 +25426,7 @@ "value": 0.0730352607990088 }, { - "$id": "3365", + "$id": "3360", "kind": "number", "type": { "$ref": "253" @@ -25537,7 +25434,7 @@ "value": 0.08886179043386 }, { - "$id": "3366", + "$id": "3361", "kind": "number", "type": { "$ref": "253" @@ -25549,15 +25446,15 @@ } }, { - "$id": "3367", + "$id": "3362", "kind": "model", "type": { "$ref": "245" }, "value": { - "$id": "3368", + "$id": "3363", "variable": { - "$id": "3369", + "$id": "3364", "kind": "string", "type": { "$ref": "247" @@ -25565,14 +25462,14 @@ "value": "Variable_3" }, "timestamps": { - "$id": "3370", + "$id": "3365", "kind": "array", "type": { "$ref": "249" }, "value": [ { - "$id": "3371", + "$id": "3366", "kind": "string", "type": { "$ref": "250" @@ -25580,7 +25477,7 @@ "value": "2021-01-01T00:00:00Z" }, { - "$id": "3372", + "$id": "3367", "kind": "string", "type": { "$ref": "250" @@ -25588,7 +25485,7 @@ "value": "2021-01-01T00:01:00Z" }, { - "$id": "3373", + "$id": "3368", "kind": "string", "type": { "$ref": "250" @@ -25596,7 +25493,7 @@ "value": "2021-01-01T00:02:00Z" }, { - "$id": "3374", + "$id": "3369", "kind": "string", "type": { "$ref": "250" @@ -25604,7 +25501,7 @@ "value": "2021-01-01T00:03:00Z" }, { - "$id": "3375", + "$id": "3370", "kind": "string", "type": { "$ref": "250" @@ -25612,7 +25509,7 @@ "value": "2021-01-01T00:04:00Z" }, { - "$id": "3376", + "$id": "3371", "kind": "string", "type": { "$ref": "250" @@ -25620,7 +25517,7 @@ "value": "2021-01-01T00:05:00Z" }, { - "$id": "3377", + "$id": "3372", "kind": "string", "type": { "$ref": "250" @@ -25628,7 +25525,7 @@ "value": "2021-01-01T00:06:00Z" }, { - "$id": "3378", + "$id": "3373", "kind": "string", "type": { "$ref": "250" @@ -25636,7 +25533,7 @@ "value": "2021-01-01T00:07:00Z" }, { - "$id": "3379", + "$id": "3374", "kind": "string", "type": { "$ref": "250" @@ -25644,7 +25541,7 @@ "value": "2021-01-01T00:08:00Z" }, { - "$id": "3380", + "$id": "3375", "kind": "string", "type": { "$ref": "250" @@ -25652,7 +25549,7 @@ "value": "2021-01-01T00:09:00Z" }, { - "$id": "3381", + "$id": "3376", "kind": "string", "type": { "$ref": "250" @@ -25660,7 +25557,7 @@ "value": "2021-01-01T00:10:00Z" }, { - "$id": "3382", + "$id": "3377", "kind": "string", "type": { "$ref": "250" @@ -25668,7 +25565,7 @@ "value": "2021-01-01T00:11:00Z" }, { - "$id": "3383", + "$id": "3378", "kind": "string", "type": { "$ref": "250" @@ -25676,7 +25573,7 @@ "value": "2021-01-01T00:12:00Z" }, { - "$id": "3384", + "$id": "3379", "kind": "string", "type": { "$ref": "250" @@ -25684,7 +25581,7 @@ "value": "2021-01-01T00:13:00Z" }, { - "$id": "3385", + "$id": "3380", "kind": "string", "type": { "$ref": "250" @@ -25692,7 +25589,7 @@ "value": "2021-01-01T00:14:00Z" }, { - "$id": "3386", + "$id": "3381", "kind": "string", "type": { "$ref": "250" @@ -25700,7 +25597,7 @@ "value": "2021-01-01T00:15:00Z" }, { - "$id": "3387", + "$id": "3382", "kind": "string", "type": { "$ref": "250" @@ -25708,7 +25605,7 @@ "value": "2021-01-01T00:16:00Z" }, { - "$id": "3388", + "$id": "3383", "kind": "string", "type": { "$ref": "250" @@ -25716,7 +25613,7 @@ "value": "2021-01-01T00:17:00Z" }, { - "$id": "3389", + "$id": "3384", "kind": "string", "type": { "$ref": "250" @@ -25724,7 +25621,7 @@ "value": "2021-01-01T00:18:00Z" }, { - "$id": "3390", + "$id": "3385", "kind": "string", "type": { "$ref": "250" @@ -25732,7 +25629,7 @@ "value": "2021-01-01T00:19:00Z" }, { - "$id": "3391", + "$id": "3386", "kind": "string", "type": { "$ref": "250" @@ -25740,7 +25637,7 @@ "value": "2021-01-01T00:20:00Z" }, { - "$id": "3392", + "$id": "3387", "kind": "string", "type": { "$ref": "250" @@ -25748,7 +25645,7 @@ "value": "2021-01-01T00:21:00Z" }, { - "$id": "3393", + "$id": "3388", "kind": "string", "type": { "$ref": "250" @@ -25756,7 +25653,7 @@ "value": "2021-01-01T00:22:00Z" }, { - "$id": "3394", + "$id": "3389", "kind": "string", "type": { "$ref": "250" @@ -25764,7 +25661,7 @@ "value": "2021-01-01T00:23:00Z" }, { - "$id": "3395", + "$id": "3390", "kind": "string", "type": { "$ref": "250" @@ -25772,7 +25669,7 @@ "value": "2021-01-01T00:24:00Z" }, { - "$id": "3396", + "$id": "3391", "kind": "string", "type": { "$ref": "250" @@ -25780,7 +25677,7 @@ "value": "2021-01-01T00:25:00Z" }, { - "$id": "3397", + "$id": "3392", "kind": "string", "type": { "$ref": "250" @@ -25788,7 +25685,7 @@ "value": "2021-01-01T00:26:00Z" }, { - "$id": "3398", + "$id": "3393", "kind": "string", "type": { "$ref": "250" @@ -25796,7 +25693,7 @@ "value": "2021-01-01T00:27:00Z" }, { - "$id": "3399", + "$id": "3394", "kind": "string", "type": { "$ref": "250" @@ -25804,7 +25701,7 @@ "value": "2021-01-01T00:28:00Z" }, { - "$id": "3400", + "$id": "3395", "kind": "string", "type": { "$ref": "250" @@ -25814,14 +25711,14 @@ ] }, "values": { - "$id": "3401", + "$id": "3396", "kind": "array", "type": { "$ref": "252" }, "value": [ { - "$id": "3402", + "$id": "3397", "kind": "number", "type": { "$ref": "253" @@ -25829,7 +25726,7 @@ "value": 0.4030756879437628 }, { - "$id": "3403", + "$id": "3398", "kind": "number", "type": { "$ref": "253" @@ -25837,7 +25734,7 @@ "value": 0.15526889968448554 }, { - "$id": "3404", + "$id": "3399", "kind": "number", "type": { "$ref": "253" @@ -25845,7 +25742,7 @@ "value": 0.36352226408981103 }, { - "$id": "3405", + "$id": "3400", "kind": "number", "type": { "$ref": "253" @@ -25853,7 +25750,7 @@ "value": 0.6051200637229004 }, { - "$id": "3406", + "$id": "3401", "kind": "number", "type": { "$ref": "253" @@ -25861,7 +25758,7 @@ "value": 0.8516795018476276 }, { - "$id": "3407", + "$id": "3402", "kind": "number", "type": { "$ref": "253" @@ -25869,7 +25766,7 @@ "value": 0.2645605735279929 }, { - "$id": "3408", + "$id": "3403", "kind": "number", "type": { "$ref": "253" @@ -25877,7 +25774,7 @@ "value": 0.6810875830037345 }, { - "$id": "3409", + "$id": "3404", "kind": "number", "type": { "$ref": "253" @@ -25885,7 +25782,7 @@ "value": 0.9165894221681316 }, { - "$id": "3410", + "$id": "3405", "kind": "number", "type": { "$ref": "253" @@ -25893,7 +25790,7 @@ "value": 0.700783245230424 }, { - "$id": "3411", + "$id": "3406", "kind": "number", "type": { "$ref": "253" @@ -25901,7 +25798,7 @@ "value": 0.5624155469940331 }, { - "$id": "3412", + "$id": "3407", "kind": "number", "type": { "$ref": "253" @@ -25909,7 +25806,7 @@ "value": 0.6277289685127893 }, { - "$id": "3413", + "$id": "3408", "kind": "number", "type": { "$ref": "253" @@ -25917,7 +25814,7 @@ "value": 0.15992056539730204 }, { - "$id": "3414", + "$id": "3409", "kind": "number", "type": { "$ref": "253" @@ -25925,7 +25822,7 @@ "value": 0.6020964482827594 }, { - "$id": "3415", + "$id": "3410", "kind": "number", "type": { "$ref": "253" @@ -25933,7 +25830,7 @@ "value": 0.35937967753105915 }, { - "$id": "3416", + "$id": "3411", "kind": "number", "type": { "$ref": "253" @@ -25941,7 +25838,7 @@ "value": 0.8731686034848609 }, { - "$id": "3417", + "$id": "3412", "kind": "number", "type": { "$ref": "253" @@ -25949,7 +25846,7 @@ "value": 0.20301549117588935 }, { - "$id": "3418", + "$id": "3413", "kind": "number", "type": { "$ref": "253" @@ -25957,7 +25854,7 @@ "value": 0.029261872151168933 }, { - "$id": "3419", + "$id": "3414", "kind": "number", "type": { "$ref": "253" @@ -25965,7 +25862,7 @@ "value": 0.6261499548828445 }, { - "$id": "3420", + "$id": "3415", "kind": "number", "type": { "$ref": "253" @@ -25973,7 +25870,7 @@ "value": 0.45850782028563386 }, { - "$id": "3421", + "$id": "3416", "kind": "number", "type": { "$ref": "253" @@ -25981,7 +25878,7 @@ "value": 0.8275006940083313 }, { - "$id": "3422", + "$id": "3417", "kind": "number", "type": { "$ref": "253" @@ -25989,7 +25886,7 @@ "value": 0.032760268834037376 }, { - "$id": "3423", + "$id": "3418", "kind": "number", "type": { "$ref": "253" @@ -25997,7 +25894,7 @@ "value": 0.4485202784055029 }, { - "$id": "3424", + "$id": "3419", "kind": "number", "type": { "$ref": "253" @@ -26005,7 +25902,7 @@ "value": 0.8915691008748384 }, { - "$id": "3425", + "$id": "3420", "kind": "number", "type": { "$ref": "253" @@ -26013,7 +25910,7 @@ "value": 0.891669051517807 }, { - "$id": "3426", + "$id": "3421", "kind": "number", "type": { "$ref": "253" @@ -26021,7 +25918,7 @@ "value": 0.9469979353323046 }, { - "$id": "3427", + "$id": "3422", "kind": "number", "type": { "$ref": "253" @@ -26029,7 +25926,7 @@ "value": 0.115293087370132 }, { - "$id": "3428", + "$id": "3423", "kind": "number", "type": { "$ref": "253" @@ -26037,7 +25934,7 @@ "value": 0.08818772518459506 }, { - "$id": "3429", + "$id": "3424", "kind": "number", "type": { "$ref": "253" @@ -26045,7 +25942,7 @@ "value": 0.7426286620589166 }, { - "$id": "3430", + "$id": "3425", "kind": "number", "type": { "$ref": "253" @@ -26053,7 +25950,7 @@ "value": 0.32372247468990756 }, { - "$id": "3431", + "$id": "3426", "kind": "number", "type": { "$ref": "253" @@ -26067,7 +25964,7 @@ ] }, "topContributorCount": { - "$id": "3432", + "$id": "3427", "kind": "number", "type": { "$ref": "255" @@ -26080,36 +25977,36 @@ ], "responses": [ { - "$id": "3433", + "$id": "3428", "response": { - "$ref": "3227" + "$ref": "3222" }, "statusCode": 200, "bodyValue": { - "$id": "3434", + "$id": "3429", "kind": "model", "type": { "$ref": "256" }, "value": { - "$id": "3435", + "$id": "3430", "variableStates": { - "$id": "3436", + "$id": "3431", "kind": "array", "type": { "$ref": "258" }, "value": [ { - "$id": "3437", + "$id": "3432", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3438", + "$id": "3433", "variable": { - "$id": "3439", + "$id": "3434", "kind": "string", "type": { "$ref": "130" @@ -26117,7 +26014,7 @@ "value": "variable_1" }, "filledNARatio": { - "$id": "3440", + "$id": "3435", "kind": "number", "type": { "$ref": "132" @@ -26125,7 +26022,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3441", + "$id": "3436", "kind": "number", "type": { "$ref": "134" @@ -26133,7 +26030,7 @@ "value": 30 }, "firstTimestamp": { - "$id": "3442", + "$id": "3437", "kind": "string", "type": { "$ref": "136" @@ -26141,7 +26038,7 @@ "value": "2021-01-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3443", + "$id": "3438", "kind": "string", "type": { "$ref": "139" @@ -26151,15 +26048,15 @@ } }, { - "$id": "3444", + "$id": "3439", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3445", + "$id": "3440", "variable": { - "$id": "3446", + "$id": "3441", "kind": "string", "type": { "$ref": "130" @@ -26167,7 +26064,7 @@ "value": "variable_2" }, "filledNARatio": { - "$id": "3447", + "$id": "3442", "kind": "number", "type": { "$ref": "132" @@ -26175,7 +26072,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3448", + "$id": "3443", "kind": "number", "type": { "$ref": "134" @@ -26183,7 +26080,7 @@ "value": 30 }, "firstTimestamp": { - "$id": "3449", + "$id": "3444", "kind": "string", "type": { "$ref": "136" @@ -26191,7 +26088,7 @@ "value": "2021-01-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3450", + "$id": "3445", "kind": "string", "type": { "$ref": "139" @@ -26201,15 +26098,15 @@ } }, { - "$id": "3451", + "$id": "3446", "kind": "model", "type": { "$ref": "128" }, "value": { - "$id": "3452", + "$id": "3447", "variable": { - "$id": "3453", + "$id": "3448", "kind": "string", "type": { "$ref": "130" @@ -26217,7 +26114,7 @@ "value": "variable_3" }, "filledNARatio": { - "$id": "3454", + "$id": "3449", "kind": "number", "type": { "$ref": "132" @@ -26225,7 +26122,7 @@ "value": 0 }, "effectiveCount": { - "$id": "3455", + "$id": "3450", "kind": "number", "type": { "$ref": "134" @@ -26233,7 +26130,7 @@ "value": 30 }, "firstTimestamp": { - "$id": "3456", + "$id": "3451", "kind": "string", "type": { "$ref": "136" @@ -26241,7 +26138,7 @@ "value": "2021-01-01T00:00:00Z" }, "lastTimestamp": { - "$id": "3457", + "$id": "3452", "kind": "string", "type": { "$ref": "139" @@ -26253,22 +26150,22 @@ ] }, "results": { - "$id": "3458", + "$id": "3453", "kind": "array", "type": { "$ref": "260" }, "value": [ { - "$id": "3459", + "$id": "3454", "kind": "model", "type": { "$ref": "155" }, "value": { - "$id": "3460", + "$id": "3455", "timestamp": { - "$id": "3461", + "$id": "3456", "kind": "string", "type": { "$ref": "157" @@ -26276,15 +26173,15 @@ "value": "2021-01-01T00:28:00Z" }, "value": { - "$id": "3462", + "$id": "3457", "kind": "model", "type": { "$ref": "160" }, "value": { - "$id": "3463", + "$id": "3458", "isAnomaly": { - "$id": "3464", + "$id": "3459", "kind": "boolean", "type": { "$ref": "162" @@ -26292,7 +26189,7 @@ "value": false }, "severity": { - "$id": "3465", + "$id": "3460", "kind": "number", "type": { "$ref": "164" @@ -26300,7 +26197,7 @@ "value": 0 }, "score": { - "$id": "3466", + "$id": "3461", "kind": "number", "type": { "$ref": "166" @@ -26310,7 +26207,7 @@ } }, "errors": { - "$id": "3467", + "$id": "3462", "kind": "array", "type": { "$ref": "180" @@ -26320,15 +26217,15 @@ } }, { - "$id": "3468", + "$id": "3463", "kind": "model", "type": { "$ref": "155" }, "value": { - "$id": "3469", + "$id": "3464", "timestamp": { - "$id": "3470", + "$id": "3465", "kind": "string", "type": { "$ref": "157" @@ -26336,15 +26233,15 @@ "value": "2021-01-01T00:29:00Z" }, "value": { - "$id": "3471", + "$id": "3466", "kind": "model", "type": { "$ref": "160" }, "value": { - "$id": "3472", + "$id": "3467", "isAnomaly": { - "$id": "3473", + "$id": "3468", "kind": "boolean", "type": { "$ref": "162" @@ -26352,7 +26249,7 @@ "value": true }, "severity": { - "$id": "3474", + "$id": "3469", "kind": "number", "type": { "$ref": "164" @@ -26360,7 +26257,7 @@ "value": 0.5337404608726501 }, "score": { - "$id": "3475", + "$id": "3470", "kind": "number", "type": { "$ref": "166" @@ -26368,22 +26265,22 @@ "value": 0.9171165823936462 }, "interpretation": { - "$id": "3476", + "$id": "3471", "kind": "array", "type": { "$ref": "168" }, "value": [ { - "$id": "3477", + "$id": "3472", "kind": "model", "type": { "$ref": "169" }, "value": { - "$id": "3478", + "$id": "3473", "variable": { - "$id": "3479", + "$id": "3474", "kind": "string", "type": { "$ref": "171" @@ -26391,7 +26288,7 @@ "value": "variable_2" }, "contributionScore": { - "$id": "3480", + "$id": "3475", "kind": "number", "type": { "$ref": "173" @@ -26399,22 +26296,22 @@ "value": 0.5371576215 }, "correlationChanges": { - "$id": "3481", + "$id": "3476", "kind": "model", "type": { "$ref": "175" }, "value": { - "$id": "3482", + "$id": "3477", "changedVariables": { - "$id": "3483", + "$id": "3478", "kind": "array", "type": { "$ref": "177" }, "value": [ { - "$id": "3484", + "$id": "3479", "kind": "string", "type": { "$ref": "178" @@ -26422,7 +26319,7 @@ "value": "variable_1" }, { - "$id": "3485", + "$id": "3480", "kind": "string", "type": { "$ref": "178" @@ -26436,15 +26333,15 @@ } }, { - "$id": "3486", + "$id": "3481", "kind": "model", "type": { "$ref": "169" }, "value": { - "$id": "3487", + "$id": "3482", "variable": { - "$id": "3488", + "$id": "3483", "kind": "string", "type": { "$ref": "171" @@ -26452,7 +26349,7 @@ "value": "variable_3" }, "contributionScore": { - "$id": "3489", + "$id": "3484", "kind": "number", "type": { "$ref": "173" @@ -26460,22 +26357,22 @@ "value": 0.3324159383 }, "correlationChanges": { - "$id": "3490", + "$id": "3485", "kind": "model", "type": { "$ref": "175" }, "value": { - "$id": "3491", + "$id": "3486", "changedVariables": { - "$id": "3492", + "$id": "3487", "kind": "array", "type": { "$ref": "177" }, "value": [ { - "$id": "3493", + "$id": "3488", "kind": "string", "type": { "$ref": "178" @@ -26489,15 +26386,15 @@ } }, { - "$id": "3494", + "$id": "3489", "kind": "model", "type": { "$ref": "169" }, "value": { - "$id": "3495", + "$id": "3490", "variable": { - "$id": "3496", + "$id": "3491", "kind": "string", "type": { "$ref": "171" @@ -26505,7 +26402,7 @@ "value": "variable_1" }, "contributionScore": { - "$id": "3497", + "$id": "3492", "kind": "number", "type": { "$ref": "173" @@ -26513,15 +26410,15 @@ "value": 0.1304264402 }, "correlationChanges": { - "$id": "3498", + "$id": "3493", "kind": "model", "type": { "$ref": "175" }, "value": { - "$id": "3499", + "$id": "3494", "changedVariables": { - "$id": "3500", + "$id": "3495", "kind": "array", "type": { "$ref": "177" @@ -26537,7 +26434,7 @@ } }, "errors": { - "$id": "3501", + "$id": "3496", "kind": "array", "type": { "$ref": "180" @@ -26557,15 +26454,58 @@ } ], "Protocol": { - "$id": "3502" + "$id": "3497" }, "Parent": "AnomalyDetectorClient", "Parameters": [ { - "$ref": "2724" + "$id": "3498", + "Name": "Endpoint", + "NameInRequest": "Endpoint", + "Description": "Supported Cognitive Services endpoints (protocol and hostname, for example:\nhttps://westus2.api.cognitive.microsoft.com).", + "Type": { + "$id": "3499", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "2726" + "$id": "3500", + "Name": "ApiVersion", + "NameInRequest": "ApiVersion", + "Description": "Api Version", + "Type": { + "$ref": "104" + }, + "Location": "Uri", + "IsApiVersion": true, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "3501", + "Type": { + "$id": "3502", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "v1.1" + } } ], "Decorators": [] diff --git a/src/AutoRest.CSharp/Common/Output/Models/CmcRestClientBuilder.cs b/src/AutoRest.CSharp/Common/Output/Models/CmcRestClientBuilder.cs index 86f4b653787..1261a40a57d 100644 --- a/src/AutoRest.CSharp/Common/Output/Models/CmcRestClientBuilder.cs +++ b/src/AutoRest.CSharp/Common/Output/Models/CmcRestClientBuilder.cs @@ -45,11 +45,13 @@ internal class CmcRestClientBuilder protected readonly BuildContext _context; private readonly OutputLibrary _library; private readonly Dictionary _parameters; + protected readonly IEnumerable _clientParameters; public CmcRestClientBuilder(IEnumerable clientParameters, BuildContext context) { _context = context; _library = context.BaseLibrary!; + _clientParameters = clientParameters; _parameters = clientParameters.ToDictionary(p => p.Name, BuildConstructorParameter); } @@ -64,9 +66,9 @@ public Parameter[] GetOrderedParametersByRequired() private static string GetRequestParameterName(InputParameter requestParameter) => requestParameter.NameInRequest ?? requestParameter.Name; - public IReadOnlyDictionary GetReferencesToOperationParameters(InputOperation operation, IEnumerable requestParameters) + public IReadOnlyDictionary GetReferencesToOperationParameters(InputOperation operation, IEnumerable requestParameters, IEnumerable clientParameters) { - var allParameters = GetOperationAllParameters(operation, requestParameters); + var allParameters = GetOperationAllParameters(operation, requestParameters, clientParameters); return allParameters.ToDictionary(kvp => GetRequestParameterName(kvp.Key), kvp => (CreateReference(kvp.Key, kvp.Value), kvp.Value.SkipUrlEncoding)); } @@ -80,9 +82,9 @@ public Parameter[] GetOrderedParametersByRequired() /// /// /// - public RestClientMethod BuildMethod(InputOperation operation, IEnumerable requestParameters, DataPlaneResponseHeaderGroupType? responseHeaderModel, string accessibility, Func? returnNullOn404Func = null) + public RestClientMethod BuildMethod(InputOperation operation, IEnumerable requestParameters, IEnumerable clientParameters, DataPlaneResponseHeaderGroupType? responseHeaderModel, string accessibility, Func? returnNullOn404Func = null) { - var allParameters = GetOperationAllParameters(operation, requestParameters); + var allParameters = GetOperationAllParameters(operation, requestParameters, clientParameters); var methodParameters = BuildMethodParameters(allParameters); var references = allParameters.ToDictionary(kvp => GetRequestParameterName(kvp.Key), kvp => new ParameterInfo(kvp.Key, CreateReference(kvp.Key, kvp.Value))); var request = BuildRequest(operation, new RequestMethodBuildContext(methodParameters, references)); @@ -105,11 +107,13 @@ public RestClientMethod BuildMethod(InputOperation operation, IEnumerable GetOperationAllParameters(InputOperation operation, IEnumerable requestParameters) + private Dictionary GetOperationAllParameters(InputOperation operation, IEnumerable requestParameters, IEnumerable clientParameters) { var parameters = operation.Parameters + .Concat(clientParameters) .Concat(requestParameters) .Where(rp => !IsIgnoredHeaderParameter(rp)) + .DistinctBy(p => p.NameInRequest ?? p.Name) .ToArray(); // TODO: why are there duplicates in the list? diff --git a/src/AutoRest.CSharp/Common/Output/Models/RestClientBuilder.cs b/src/AutoRest.CSharp/Common/Output/Models/RestClientBuilder.cs index 46d194fa891..1509570b1a6 100644 --- a/src/AutoRest.CSharp/Common/Output/Models/RestClientBuilder.cs +++ b/src/AutoRest.CSharp/Common/Output/Models/RestClientBuilder.cs @@ -38,18 +38,23 @@ internal class RestClientBuilder private readonly OutputLibrary? _library; private readonly TypeFactory _typeFactory; private readonly Dictionary _parameters; + private IEnumerable ClientParameters { get; } - public RestClientBuilder(IEnumerable clientParameters, TypeFactory typeFactory) + public RestClientBuilder(IEnumerable clientParameters, IEnumerable operations, TypeFactory typeFactory) { _typeFactory = typeFactory; - _parameters = clientParameters.DistinctBy(p => p.Name).ToDictionary(p => p.Name, BuildConstructorParameter); + var allClientParameters = clientParameters.Concat(operations.SelectMany(op => op.Parameters).Where(p => p.Kind == InputOperationParameterKind.Client)).DistinctBy(p => p.Name); + _parameters = allClientParameters.DistinctBy(p => p.Name).ToDictionary(p => p.Name, BuildConstructorParameter); + ClientParameters = clientParameters; } - public RestClientBuilder(IEnumerable clientParameters, TypeFactory typeFactory, OutputLibrary library) + public RestClientBuilder(IEnumerable clientParameters, IEnumerable operations, TypeFactory typeFactory, OutputLibrary library) { _typeFactory = typeFactory; _library = library; - _parameters = clientParameters.ToDictionary(p => p.Name, BuildConstructorParameter); + var allClientParameters = clientParameters.Concat(operations.SelectMany(op => op.Parameters).Where(p => p.Kind == InputOperationParameterKind.Client)).DistinctBy(p => p.Name); + _parameters = allClientParameters.ToDictionary(p => p.Name, BuildConstructorParameter); + ClientParameters = clientParameters; } /// @@ -65,7 +70,7 @@ public static IEnumerable GetParametersFromClient(InputClient cl { return client.Parameters .Concat(client.Operations.SelectMany(op => op.Parameters).Where(p => p.Kind == InputOperationParameterKind.Client)) - .Distinct(); + .DistinctBy(p => p.Name); } public static RestClientMethod BuildRequestMethod(InputOperation operation, Parameter[] parameters, IReadOnlyCollection requestParts, Parameter? bodyParameter, TypeFactory typeFactory) @@ -98,8 +103,9 @@ public RestClientMethod BuildMethod(InputOperation operation, DataPlaneResponseH { var allParameters = GetOperationAllParameters(operation); var methodParameters = BuildMethodParameters(allParameters); - var requestParts = allParameters - .Select(kvp => new RequestPartSource(kvp.Key.NameInRequest, (InputParameter?)kvp.Key, CreateReference(kvp.Key, kvp.Value), SerializationBuilder.GetSerializationFormat(kvp.Key.Type))) + var requestParts = allParameters.Select(kvp => new RequestPartSource(kvp.Key.NameInRequest, (InputParameter?)kvp.Key, CreateReference(kvp.Key, kvp.Value), SerializationBuilder.GetSerializationFormat(kvp.Key.Type))) + .Concat(ClientParameters.Select(p => new RequestPartSource(p.NameInRequest, p, CreateReference(p, _parameters[p.Name]), SerializationBuilder.GetSerializationFormat(p.Type)))) + .DistinctBy(r => r.NameInRequest) .ToList(); var request = BuildRequest(operation, requestParts, null, _typeFactory, _library); diff --git a/src/AutoRest.CSharp/DataPlane/AutoRest/DataPlaneOutputLibrary.cs b/src/AutoRest.CSharp/DataPlane/AutoRest/DataPlaneOutputLibrary.cs index 4874d5e2e66..f4dfcf53cef 100644 --- a/src/AutoRest.CSharp/DataPlane/AutoRest/DataPlaneOutputLibrary.cs +++ b/src/AutoRest.CSharp/DataPlane/AutoRest/DataPlaneOutputLibrary.cs @@ -207,8 +207,7 @@ private Dictionary EnsureRestClients() var restClients = new Dictionary(); foreach (var client in _input.Clients) { - var clientParameters = RestClientBuilder.GetParametersFromClient(client).ToList(); - var restClientBuilder = new RestClientBuilder(clientParameters, _typeFactory, this); + var restClientBuilder = new RestClientBuilder(client.Parameters, client.Operations, _typeFactory, this); restClients.Add(client, new DataPlaneRestClient(client, restClientBuilder, GetRestClientDefaultName(client), this, _typeFactory, _sourceInputModel)); } diff --git a/src/AutoRest.CSharp/DataPlane/Output/DataPlaneRestClient.cs b/src/AutoRest.CSharp/DataPlane/Output/DataPlaneRestClient.cs index 44204e2b4bb..8e5e487f0b1 100644 --- a/src/AutoRest.CSharp/DataPlane/Output/DataPlaneRestClient.cs +++ b/src/AutoRest.CSharp/DataPlane/Output/DataPlaneRestClient.cs @@ -69,7 +69,7 @@ private IEnumerable GetProtocolMethods(InputClient inputCl .Select(m => m.Operation) .Where(operation => IsProtocolMethodExists(operation, inputClient, library)); - return LowLevelClient.BuildMethods(null, _typeFactory, operations, Fields, GetNamespaceName(inputClient, library), GetClientName(inputClient, library), null); + return LowLevelClient.BuildMethods(null, _typeFactory, operations, inputClient.Parameters, Fields, GetNamespaceName(inputClient, library), GetClientName(inputClient, library), null); } private static string GetNamespaceName(InputClient inputClient, DataPlaneOutputLibrary library) diff --git a/src/AutoRest.CSharp/LowLevel/Output/DpgOutputLibraryBuilder.cs b/src/AutoRest.CSharp/LowLevel/Output/DpgOutputLibraryBuilder.cs index 8a34a5c2fe4..1e72cbf02bb 100644 --- a/src/AutoRest.CSharp/LowLevel/Output/DpgOutputLibraryBuilder.cs +++ b/src/AutoRest.CSharp/LowLevel/Output/DpgOutputLibraryBuilder.cs @@ -179,17 +179,6 @@ private static InputOperation UpdateOperation(InputOperation operation, string c }; } - if (!operation.Parameters.Any(p => p.IsEndpoint || p is { Location: RequestLocation.Uri, Kind: InputOperationParameterKind.Client })) - { - operation = operation with - { - Uri = $"{{{KnownParameters.Endpoint.Name}}}", - Parameters = operation.Parameters - .Append(new InputParameter(KnownParameters.Endpoint.Name, KnownParameters.Endpoint.Name, $"{KnownParameters.Endpoint.Description}", InputPrimitiveType.Url, RequestLocation.Uri, null, null, null, InputOperationParameterKind.Client, true, false, false, false, true, false, false, null, null)) - .ToList() - }; - } - return operation with { Name = name, @@ -264,12 +253,12 @@ private static ClientInfo CreateClientInfo(InputClient ns, SourceInputModel? sou INamedTypeSymbol? existingType; if (sourceInputModel == null || (existingType = sourceInputModel.FindForType(clientNamespace, clientName)) == null) { - return new ClientInfo(ns.Name, clientName, clientNamespace, clientDescription, operations, clientParameters, resourceParameters); + return new ClientInfo(ns.Name, clientName, clientNamespace, clientDescription, operations, ns.Parameters, resourceParameters); } clientName = existingType.Name; clientNamespace = existingType.ContainingNamespace.ToDisplayString(); - return new ClientInfo(ns.Name, clientName, clientNamespace, clientDescription, existingType, operations, clientParameters, resourceParameters); + return new ClientInfo(ns.Name, clientName, clientNamespace, clientDescription, existingType, operations, ns.Parameters, resourceParameters); } private IReadOnlyList SetHierarchy(IReadOnlyDictionary clientInfosByName) @@ -293,9 +282,10 @@ private IReadOnlyList SetHierarchy(IReadOnlyDictionary c.ClientParameters.Any(p => p.IsEndpoint)); - var endpointParameter = infoForEndpoint?.ClientParameters.FirstOrDefault(p => p.IsEndpoint); - var clientParameters = topLevelClients.SelectMany(c => c.ClientParameters.Where(p => !p.IsRequired || p.IsApiVersion || p.IsEndpoint)).Distinct().ToArray(); + var clientParameters = topLevelClients.SelectMany(c => c.ClientParameters.Concat(c.Operations.SelectMany(op => op.Parameters))) + .Where(p => (p.Kind == InputOperationParameterKind.Client) && (!p.IsRequired || p.IsApiVersion || p.IsEndpoint)) + .DistinctBy(p => p.Name) + .ToArray(); topLevelClientInfo = new ClientInfo(clientName, clientNamespace, clientParameters); } diff --git a/src/AutoRest.CSharp/LowLevel/Output/LowLevelClient.cs b/src/AutoRest.CSharp/LowLevel/Output/LowLevelClient.cs index a43890b9e29..8099e43bb25 100644 --- a/src/AutoRest.CSharp/LowLevel/Output/LowLevelClient.cs +++ b/src/AutoRest.CSharp/LowLevel/Output/LowLevelClient.cs @@ -79,7 +79,7 @@ public LowLevelClient(string name, string ns, string description, string library } private IReadOnlyList? _parameters; - public IReadOnlyList Parameters => _parameters ??= new RestClientBuilder(_clientParameters, _typeFactory).GetOrderedParametersByRequired(); + public IReadOnlyList Parameters => _parameters ??= new RestClientBuilder(_clientParameters, _operations, _typeFactory).GetOrderedParametersByRequired(); private ClientFields? _fields; public ClientFields Fields => _fields ??= ClientFields.CreateForClient(Parameters, _authorization); @@ -90,7 +90,7 @@ public LowLevelClient(string name, string ns, string description, string library public ConstructorSignature[] SecondaryConstructors => Constructors.SecondaryConstructors; private IReadOnlyList? _allClientMethods; - private IReadOnlyList AllClientMethods => _allClientMethods ??= BuildMethods(this, _typeFactory, _operations, Fields, Declaration.Namespace, Declaration.Name, _sourceInputModel).ToArray(); + private IReadOnlyList AllClientMethods => _allClientMethods ??= BuildMethods(this, _typeFactory, _operations, _clientParameters, Fields, Declaration.Namespace, Declaration.Name, _sourceInputModel).ToArray(); private IReadOnlyList? _clientMethods; public IReadOnlyList ClientMethods => _clientMethods ??= AllClientMethods @@ -115,10 +115,13 @@ public IEnumerable CustomMethods() yield break; } - - public static IEnumerable BuildMethods(LowLevelClient? client, TypeFactory typeFactory, IEnumerable operations, ClientFields fields, string namespaceName, string clientName, SourceInputModel? sourceInputModel) + public IReadOnlyList GetConstructorParameters() + { + return _clientParameters.Concat(_operations.SelectMany(op => op.Parameters).Where(p => p.Kind == InputOperationParameterKind.Client)).DistinctBy(p => p.Name).ToList(); + } + public static IEnumerable BuildMethods(LowLevelClient? client, TypeFactory typeFactory, IEnumerable operations, IEnumerable clientParameters, ClientFields fields, string namespaceName, string clientName, SourceInputModel? sourceInputModel) { - var builders = operations.ToDictionary(o => o, o => new OperationMethodChainBuilder(client, o, namespaceName, clientName, fields, typeFactory, sourceInputModel)); + var builders = operations.ToDictionary(o => o, o => new OperationMethodChainBuilder(client, o, namespaceName, clientName, clientParameters, fields, typeFactory, sourceInputModel)); foreach (var (_, builder) in builders) { builder.BuildNextPageMethod(builders); diff --git a/src/AutoRest.CSharp/LowLevel/Output/OperationMethodChainBuilder.cs b/src/AutoRest.CSharp/LowLevel/Output/OperationMethodChainBuilder.cs index 9c3a73d81a5..ba4c2e76b6d 100644 --- a/src/AutoRest.CSharp/LowLevel/Output/OperationMethodChainBuilder.cs +++ b/src/AutoRest.CSharp/LowLevel/Output/OperationMethodChainBuilder.cs @@ -52,8 +52,9 @@ internal class OperationMethodChainBuilder private RequestConditionHeaders _conditionHeaderFlag = RequestConditionHeaders.None; private InputOperation Operation { get; } + private IEnumerable ClientParameters { get; } - public OperationMethodChainBuilder(LowLevelClient? client, InputOperation operation, string namespaceName, string clientName, ClientFields fields, TypeFactory typeFactory, SourceInputModel? sourceInputModel) + public OperationMethodChainBuilder(LowLevelClient? client, InputOperation operation, string namespaceName, string clientName, IEnumerable clientParameters, ClientFields fields, TypeFactory typeFactory, SourceInputModel? sourceInputModel) { _client = client; _namespaceName = namespaceName; @@ -65,6 +66,7 @@ public OperationMethodChainBuilder(LowLevelClient? client, InputOperation operat _requestParts = new List(); Operation = operation; + ClientParameters = clientParameters; _returnType = BuildReturnTypes(); BuildParameters(); _restClientMethod = RestClientBuilder.BuildRequestMethod(Operation, _orderedParameters.Select(p => p.CreateMessage).WhereNotNull().ToArray(), _requestParts, _protocolBodyParameter, _typeFactory); @@ -437,7 +439,9 @@ private IEnumerable BuildSpreadParameters(ModelTypeProvider model) private void BuildParameters() { - var operationParameters = RestClientBuilder.FilterOperationAllParameters(Operation.Parameters); + var operationParameters = RestClientBuilder.FilterOperationAllParameters(Operation.Parameters) + .Concat(ClientParameters) + .DistinctBy(p => p.NameInRequest); var requiredPathParameters = new Dictionary(); var optionalPathParameters = new Dictionary(); diff --git a/src/AutoRest.CSharp/LowLevel/Output/Samples/DpgOperationSample.cs b/src/AutoRest.CSharp/LowLevel/Output/Samples/DpgOperationSample.cs index 40147b71c14..af19619ecae 100644 --- a/src/AutoRest.CSharp/LowLevel/Output/Samples/DpgOperationSample.cs +++ b/src/AutoRest.CSharp/LowLevel/Output/Samples/DpgOperationSample.cs @@ -138,7 +138,8 @@ private Dictionary EnsureParameterValueMappi // if this is a required parameter and we did not find the corresponding parameter in the examples, we put the null if (!parameter.IsOptionalInSignature) { - result.Add(parameter.Name, new InputExampleParameterValue(parameter, Null.CastTo(parameter.Type))); + ValueExpression parameterExpression = parameter.Type.IsValueType && !parameter.Type.IsNullable ? Default.CastTo(parameter.Type) : Null.CastTo(parameter.Type); + result.Add(parameter.Name, new InputExampleParameterValue(parameter, parameterExpression)); } // if it is optional, we just do not put it in the map indicates that in the invocation we could omit it } diff --git a/src/AutoRest.CSharp/Mgmt/Models/MgmtRestClientBuilder.cs b/src/AutoRest.CSharp/Mgmt/Models/MgmtRestClientBuilder.cs index e261d70850d..5d9117220ca 100644 --- a/src/AutoRest.CSharp/Mgmt/Models/MgmtRestClientBuilder.cs +++ b/src/AutoRest.CSharp/Mgmt/Models/MgmtRestClientBuilder.cs @@ -35,7 +35,7 @@ public int GetHashCode([DisallowNull] InputParameter obj) } public MgmtRestClientBuilder(InputClient inputClient) - : base(GetMgmtParametersFromOperations(inputClient.Operations), MgmtContext.Context) + : base(inputClient.Parameters.Concat(GetMgmtParametersFromOperations(inputClient.Operations)), MgmtContext.Context) { } diff --git a/src/AutoRest.CSharp/Mgmt/Models/RequestPath.cs b/src/AutoRest.CSharp/Mgmt/Models/RequestPath.cs index 5f0238a4dca..0ba512cc662 100644 --- a/src/AutoRest.CSharp/Mgmt/Models/RequestPath.cs +++ b/src/AutoRest.CSharp/Mgmt/Models/RequestPath.cs @@ -107,7 +107,7 @@ public static RequestPath FromString(string rawPath) public static RequestPath FromOperation(InputOperation operation, InputClient inputClient, TypeFactory typeFactory) { - var references = new MgmtRestClientBuilder(inputClient).GetReferencesToOperationParameters(operation, operation.Parameters); + var references = new MgmtRestClientBuilder(inputClient).GetReferencesToOperationParameters(operation, operation.Parameters, inputClient.Parameters); var segments = new List(); var segmentIndex = 0; diff --git a/src/AutoRest.CSharp/Mgmt/Output/MgmtRestClient.cs b/src/AutoRest.CSharp/Mgmt/Output/MgmtRestClient.cs index 3a9eae06e45..d872763f168 100644 --- a/src/AutoRest.CSharp/Mgmt/Output/MgmtRestClient.cs +++ b/src/AutoRest.CSharp/Mgmt/Output/MgmtRestClient.cs @@ -38,7 +38,7 @@ protected override Dictionary EnsureNormalMeth foreach (var operation in InputClient.Operations) { - requestMethods.Add(operation, _clientBuilder.BuildMethod(operation, operation.Parameters, null, "public", ShouldReturnNullOn404(operation))); + requestMethods.Add(operation, _clientBuilder.BuildMethod(operation, operation.Parameters, InputClient.Parameters, null, "public", ShouldReturnNullOn404(operation))); } diff --git a/src/TypeSpec.Extension/Emitter.Csharp/package.json b/src/TypeSpec.Extension/Emitter.Csharp/package.json index b9e786be801..94dc595ddce 100644 --- a/src/TypeSpec.Extension/Emitter.Csharp/package.json +++ b/src/TypeSpec.Extension/Emitter.Csharp/package.json @@ -36,7 +36,7 @@ "dependencies": { "@autorest/csharp": "3.0.0-beta.20240625.4", "json-serialize-refs": "0.1.0-0", - "@typespec/http-client-csharp": "0.1.9-alpha.20241016.4" + "@typespec/http-client-csharp": "0.1.9-alpha.20241104.2" }, "peerDependencies": { "@azure-tools/typespec-azure-core": ">=0.36.0 <1.0.0", diff --git a/test/CadlRanchProjects/authentication/api-key/tspCodeModel.json b/test/CadlRanchProjects/authentication/api-key/tspCodeModel.json index 07259e18555..fc72c08e84d 100644 --- a/test/CadlRanchProjects/authentication/api-key/tspCodeModel.json +++ b/test/CadlRanchProjects/authentication/api-key/tspCodeModel.json @@ -46,42 +46,10 @@ "ResourceName": "ApiKey", "Description": "Check whether client is authenticated", "Accessibility": "public", - "Parameters": [ - { - "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "9", - "Type": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "11", + "$id": "7", "StatusCodes": [ 204 ], @@ -101,24 +69,21 @@ "Decorators": [] }, { - "$id": "12", + "$id": "8", "Name": "invalid", "ResourceName": "ApiKey", "Description": "Check whether client is authenticated.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "13", + "$id": "9", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "14", + "$id": "10", "kind": "constant", "valueType": { - "$id": "15", + "$id": "11", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140,7 +105,7 @@ ], "Responses": [ { - "$id": "16", + "$id": "12", "StatusCodes": [ 204 ], @@ -161,11 +126,39 @@ } ], "Protocol": { - "$id": "17" + "$id": "13" }, "Parameters": [ { - "$ref": "7" + "$id": "14", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "15", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "16", + "Type": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/authentication/http/custom/tspCodeModel.json b/test/CadlRanchProjects/authentication/http/custom/tspCodeModel.json index 953b9f71050..3cb96146845 100644 --- a/test/CadlRanchProjects/authentication/http/custom/tspCodeModel.json +++ b/test/CadlRanchProjects/authentication/http/custom/tspCodeModel.json @@ -46,42 +46,10 @@ "ResourceName": "Custom", "Description": "Check whether client is authenticated", "Accessibility": "public", - "Parameters": [ - { - "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "9", - "Type": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "11", + "$id": "7", "StatusCodes": [ 204 ], @@ -101,24 +69,21 @@ "Decorators": [] }, { - "$id": "12", + "$id": "8", "Name": "invalid", "ResourceName": "Custom", "Description": "Check whether client is authenticated.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "13", + "$id": "9", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "14", + "$id": "10", "kind": "constant", "valueType": { - "$id": "15", + "$id": "11", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140,7 +105,7 @@ ], "Responses": [ { - "$id": "16", + "$id": "12", "StatusCodes": [ 204 ], @@ -161,11 +126,39 @@ } ], "Protocol": { - "$id": "17" + "$id": "13" }, "Parameters": [ { - "$ref": "7" + "$id": "14", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "15", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "16", + "Type": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/authentication/oauth2/tspCodeModel.json b/test/CadlRanchProjects/authentication/oauth2/tspCodeModel.json index f0574f03229..f6950afdf7e 100644 --- a/test/CadlRanchProjects/authentication/oauth2/tspCodeModel.json +++ b/test/CadlRanchProjects/authentication/oauth2/tspCodeModel.json @@ -46,42 +46,10 @@ "ResourceName": "OAuth2", "Description": "Check whether client is authenticated", "Accessibility": "public", - "Parameters": [ - { - "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "9", - "Type": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "11", + "$id": "7", "StatusCodes": [ 204 ], @@ -101,24 +69,21 @@ "Decorators": [] }, { - "$id": "12", + "$id": "8", "Name": "invalid", "ResourceName": "OAuth2", "Description": "Check whether client is authenticated. Will return an invalid bearer error.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "13", + "$id": "9", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "14", + "$id": "10", "kind": "constant", "valueType": { - "$id": "15", + "$id": "11", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140,7 +105,7 @@ ], "Responses": [ { - "$id": "16", + "$id": "12", "StatusCodes": [ 204 ], @@ -161,11 +126,39 @@ } ], "Protocol": { - "$id": "17" + "$id": "13" }, "Parameters": [ { - "$ref": "7" + "$id": "14", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "15", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "16", + "Type": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/authentication/union/tspCodeModel.json b/test/CadlRanchProjects/authentication/union/tspCodeModel.json index 80f3d213262..8871b5313bf 100644 --- a/test/CadlRanchProjects/authentication/union/tspCodeModel.json +++ b/test/CadlRanchProjects/authentication/union/tspCodeModel.json @@ -16,42 +16,10 @@ "ResourceName": "Union", "Description": "Check whether client is authenticated", "Accessibility": "public", - "Parameters": [ - { - "$id": "4", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "5", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "6", - "Type": { - "$id": "7", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "8", + "$id": "4", "StatusCodes": [ 204 ], @@ -71,19 +39,15 @@ "Decorators": [] }, { - "$id": "9", + "$id": "5", "Name": "validToken", "ResourceName": "Union", "Description": "Check whether client is authenticated", "Accessibility": "public", - "Parameters": [ - { - "$ref": "4" - } - ], + "Parameters": [], "Responses": [ { - "$id": "10", + "$id": "6", "StatusCodes": [ 204 ], @@ -104,11 +68,39 @@ } ], "Protocol": { - "$id": "11" + "$id": "7" }, "Parameters": [ { - "$ref": "4" + "$id": "8", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "9", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "10", + "Type": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/client-generator-core/access/tspCodeModel.json b/test/CadlRanchProjects/azure/client-generator-core/access/tspCodeModel.json index 192b21b8ded..3a05f404921 100644 --- a/test/CadlRanchProjects/azure/client-generator-core/access/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/client-generator-core/access/tspCodeModel.json @@ -432,41 +432,10 @@ "Parameters": [ { "$id": "46", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "47", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "48", - "Type": { - "$id": "49", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "50", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "51", + "$id": "47", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -483,14 +452,14 @@ "SkipUrlEncoding": false }, { - "$id": "52", + "$id": "48", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "53", + "$id": "49", "kind": "constant", "valueType": { - "$id": "54", + "$id": "50", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -512,7 +481,7 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 200 ], @@ -538,20 +507,17 @@ "Decorators": [] }, { - "$id": "56", + "$id": "52", "Name": "publicDecoratorInPublic", "ResourceName": "PublicOperation", "Accessibility": "public", "Parameters": [ { - "$ref": "46" - }, - { - "$id": "57", + "$id": "53", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "58", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -568,14 +534,14 @@ "SkipUrlEncoding": false }, { - "$id": "59", + "$id": "55", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "60", + "$id": "56", "kind": "constant", "valueType": { - "$id": "61", + "$id": "57", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -597,7 +563,7 @@ ], "Responses": [ { - "$id": "62", + "$id": "58", "StatusCodes": [ 200 ], @@ -624,12 +590,40 @@ } ], "Protocol": { - "$id": "63" + "$id": "59" }, "Parent": "AccessClient", "Parameters": [ { - "$ref": "46" + "$id": "60", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "61", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "62", + "Type": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -646,41 +640,10 @@ "Parameters": [ { "$id": "66", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "67", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "68", - "Type": { - "$id": "69", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "70", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "71", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -697,14 +660,14 @@ "SkipUrlEncoding": false }, { - "$id": "72", + "$id": "68", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "73", + "$id": "69", "kind": "constant", "valueType": { - "$id": "74", + "$id": "70", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -726,7 +689,7 @@ ], "Responses": [ { - "$id": "75", + "$id": "71", "StatusCodes": [ 200 ], @@ -752,20 +715,17 @@ "Decorators": [] }, { - "$id": "76", + "$id": "72", "Name": "internalDecoratorInInternal", "ResourceName": "InternalOperation", "Accessibility": "internal", "Parameters": [ { - "$ref": "66" - }, - { - "$id": "77", + "$id": "73", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "78", + "$id": "74", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -782,14 +742,14 @@ "SkipUrlEncoding": false }, { - "$id": "79", + "$id": "75", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "80", + "$id": "76", "kind": "constant", "valueType": { - "$id": "81", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -811,7 +771,7 @@ ], "Responses": [ { - "$id": "82", + "$id": "78", "StatusCodes": [ 200 ], @@ -837,20 +797,17 @@ "Decorators": [] }, { - "$id": "83", + "$id": "79", "Name": "publicDecoratorInInternal", "ResourceName": "InternalOperation", "Accessibility": "internal", "Parameters": [ { - "$ref": "66" - }, - { - "$id": "84", + "$id": "80", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "85", + "$id": "81", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -867,14 +824,14 @@ "SkipUrlEncoding": false }, { - "$id": "86", + "$id": "82", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "87", + "$id": "83", "kind": "constant", "valueType": { - "$id": "88", + "$id": "84", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -896,7 +853,7 @@ ], "Responses": [ { - "$id": "89", + "$id": "85", "StatusCodes": [ 200 ], @@ -923,12 +880,40 @@ } ], "Protocol": { - "$id": "90" + "$id": "86" }, "Parent": "AccessClient", "Parameters": [ { - "$ref": "66" + "$id": "87", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "88", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "89", + "Type": { + "$id": "90", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -945,41 +930,10 @@ "Parameters": [ { "$id": "93", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "94", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "95", - "Type": { - "$id": "96", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "97", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "98", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -996,14 +950,14 @@ "SkipUrlEncoding": false }, { - "$id": "99", + "$id": "95", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "100", + "$id": "96", "kind": "constant", "valueType": { - "$id": "101", + "$id": "97", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1025,7 +979,7 @@ ], "Responses": [ { - "$id": "102", + "$id": "98", "StatusCodes": [ 200 ], @@ -1051,20 +1005,17 @@ "Decorators": [] }, { - "$id": "103", + "$id": "99", "Name": "internal", "ResourceName": "SharedModelInOperation", "Accessibility": "internal", "Parameters": [ { - "$ref": "93" - }, - { - "$id": "104", + "$id": "100", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "105", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1081,14 +1032,14 @@ "SkipUrlEncoding": false }, { - "$id": "106", + "$id": "102", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "107", + "$id": "103", "kind": "constant", "valueType": { - "$id": "108", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1110,7 +1061,7 @@ ], "Responses": [ { - "$id": "109", + "$id": "105", "StatusCodes": [ 200 ], @@ -1137,12 +1088,40 @@ } ], "Protocol": { - "$id": "110" + "$id": "106" }, "Parent": "AccessClient", "Parameters": [ { - "$ref": "93" + "$id": "107", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "108", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "109", + "Type": { + "$id": "110", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1160,41 +1139,10 @@ "Parameters": [ { "$id": "113", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "114", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "115", - "Type": { - "$id": "116", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "117", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "118", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1211,14 +1159,14 @@ "SkipUrlEncoding": false }, { - "$id": "119", + "$id": "115", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "120", + "$id": "116", "kind": "constant", "valueType": { - "$id": "121", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1240,7 +1188,7 @@ ], "Responses": [ { - "$id": "122", + "$id": "118", "StatusCodes": [ 200 ], @@ -1266,21 +1214,18 @@ "Decorators": [] }, { - "$id": "123", + "$id": "119", "Name": "discriminator", "ResourceName": "RelativeModelInOperation", "Description": "Expected query parameter: kind=\nExpected response body:\n```json\n{\n \"name\": ,\n \"kind\": \"real\"\n}\n```", "Accessibility": "internal", "Parameters": [ { - "$ref": "113" - }, - { - "$id": "124", + "$id": "120", "Name": "kind", "NameInRequest": "kind", "Type": { - "$id": "125", + "$id": "121", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1297,14 +1242,14 @@ "SkipUrlEncoding": false }, { - "$id": "126", + "$id": "122", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "127", + "$id": "123", "kind": "constant", "valueType": { - "$id": "128", + "$id": "124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1326,7 +1271,7 @@ ], "Responses": [ { - "$id": "129", + "$id": "125", "StatusCodes": [ 200 ], @@ -1353,12 +1298,40 @@ } ], "Protocol": { - "$id": "130" + "$id": "126" }, "Parent": "AccessClient", "Parameters": [ { - "$ref": "113" + "$id": "127", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "128", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "129", + "Type": { + "$id": "130", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] 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 61485d69b29..e83e0ae4284 100644 --- a/test/CadlRanchProjects/azure/client-generator-core/flatten-property/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/client-generator-core/flatten-property/tspCodeModel.json @@ -203,45 +203,14 @@ "Parameters": [ { "$id": "21", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "22", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "23", - "Type": { - "$id": "24", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "25", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "26", + "$id": "22", "kind": "constant", "valueType": { - "$id": "27", + "$id": "23", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -261,14 +230,14 @@ "SkipUrlEncoding": false }, { - "$id": "28", + "$id": "24", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "29", + "$id": "25", "kind": "constant", "valueType": { - "$id": "30", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -288,7 +257,7 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "27", "Name": "input", "NameInRequest": "input", "Type": { @@ -307,7 +276,7 @@ ], "Responses": [ { - "$id": "32", + "$id": "28", "StatusCodes": [ 200 ], @@ -336,24 +305,21 @@ "Decorators": [] }, { - "$id": "33", + "$id": "29", "Name": "putNestedFlattenModel", "ResourceName": "FlattenProperty", "Accessibility": "public", "Parameters": [ { - "$ref": "21" - }, - { - "$id": "34", + "$id": "30", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "35", + "$id": "31", "kind": "constant", "valueType": { - "$id": "36", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -373,14 +339,14 @@ "SkipUrlEncoding": false }, { - "$id": "37", + "$id": "33", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "38", + "$id": "34", "kind": "constant", "valueType": { - "$id": "39", + "$id": "35", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -400,7 +366,7 @@ "SkipUrlEncoding": false }, { - "$id": "40", + "$id": "36", "Name": "input", "NameInRequest": "input", "Type": { @@ -419,7 +385,7 @@ ], "Responses": [ { - "$id": "41", + "$id": "37", "StatusCodes": [ 200 ], @@ -449,11 +415,39 @@ } ], "Protocol": { - "$id": "42" + "$id": "38" }, "Parameters": [ { - "$ref": "21" + "$id": "39", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "40", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "41", + "Type": { + "$id": "42", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/client-generator-core/usage/tspCodeModel.json b/test/CadlRanchProjects/azure/client-generator-core/usage/tspCodeModel.json index ea8b6a69db8..2b28a2477e1 100644 --- a/test/CadlRanchProjects/azure/client-generator-core/usage/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/client-generator-core/usage/tspCodeModel.json @@ -207,45 +207,14 @@ "Parameters": [ { "$id": "24", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "25", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "26", - "Type": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "28", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "29", + "$id": "25", "kind": "constant", "valueType": { - "$id": "30", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -265,7 +234,7 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "27", "Name": "body", "NameInRequest": "body", "Type": { @@ -284,7 +253,7 @@ ], "Responses": [ { - "$id": "32", + "$id": "28", "StatusCodes": [ 204 ], @@ -307,24 +276,21 @@ "Decorators": [] }, { - "$id": "33", + "$id": "29", "Name": "outputToInputOutput", "ResourceName": "ModelInOperation", "Description": "Expected response body: \n```json\n{\n \"name\": \n}\n```", "Accessibility": "public", "Parameters": [ { - "$ref": "24" - }, - { - "$id": "34", + "$id": "30", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "35", + "$id": "31", "kind": "constant", "valueType": { - "$id": "36", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -346,7 +312,7 @@ ], "Responses": [ { - "$id": "37", + "$id": "33", "StatusCodes": [ 200 ], @@ -372,25 +338,22 @@ "Decorators": [] }, { - "$id": "38", + "$id": "34", "Name": "modelInReadOnlyProperty", "ResourceName": "ModelInOperation", "Description": "\"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\": \n }\n}\n```", "Accessibility": "public", "Parameters": [ { - "$ref": "24" - }, - { - "$id": "39", + "$id": "35", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "40", + "$id": "36", "kind": "constant", "valueType": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -410,14 +373,14 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "38", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "43", + "$id": "39", "kind": "constant", "valueType": { - "$id": "44", + "$id": "40", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -437,7 +400,7 @@ "SkipUrlEncoding": false }, { - "$id": "45", + "$id": "41", "Name": "body", "NameInRequest": "body", "Type": { @@ -456,7 +419,7 @@ ], "Responses": [ { - "$id": "46", + "$id": "42", "StatusCodes": [ 200 ], @@ -486,12 +449,40 @@ } ], "Protocol": { - "$id": "47" + "$id": "43" }, "Parent": "UsageClient", "Parameters": [ { - "$ref": "24" + "$id": "44", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "45", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "46", + "Type": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/core/basic/tspCodeModel.json b/test/CadlRanchProjects/azure/core/basic/tspCodeModel.json index 08806581e08..f38d572d6ee 100644 --- a/test/CadlRanchProjects/azure/core/basic/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/basic/tspCodeModel.json @@ -327,42 +327,11 @@ "Parameters": [ { "$id": "34", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "35", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "36", - "Type": { - "$id": "37", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "38", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "39", + "$id": "35", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -376,9 +345,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "40", + "$id": "36", "Type": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -389,12 +358,12 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "38", "Name": "id", "NameInRequest": "id", "Description": "The user's id.", "Type": { - "$id": "43", + "$id": "39", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -411,15 +380,15 @@ "SkipUrlEncoding": false }, { - "$id": "44", + "$id": "40", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "This request has a JSON Merge Patch body.", "Type": { - "$id": "45", + "$id": "41", "kind": "constant", "valueType": { - "$id": "46", + "$id": "42", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -439,14 +408,14 @@ "SkipUrlEncoding": false }, { - "$id": "47", + "$id": "43", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "48", + "$id": "44", "kind": "constant", "valueType": { - "$id": "49", + "$id": "45", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -466,7 +435,7 @@ "SkipUrlEncoding": false }, { - "$id": "50", + "$id": "46", "Name": "resource", "NameInRequest": "resource", "Description": "The resource instance.", @@ -486,7 +455,7 @@ ], "Responses": [ { - "$id": "51", + "$id": "47", "StatusCodes": [ 201 ], @@ -501,7 +470,7 @@ ] }, { - "$id": "52", + "$id": "48", "StatusCodes": [ 200 ], @@ -530,7 +499,7 @@ "Decorators": [] }, { - "$id": "53", + "$id": "49", "Name": "createOrReplace", "ResourceName": "User", "Summary": "Adds a user or replaces a user's fields.", @@ -538,15 +507,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "34" - }, - { - "$id": "54", + "$id": "50", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "55", + "$id": "51", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -560,9 +526,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "56", + "$id": "52", "Type": { - "$id": "57", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -573,12 +539,12 @@ "SkipUrlEncoding": false }, { - "$id": "58", + "$id": "54", "Name": "id", "NameInRequest": "id", "Description": "The user's id.", "Type": { - "$id": "59", + "$id": "55", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -595,15 +561,15 @@ "SkipUrlEncoding": false }, { - "$id": "60", + "$id": "56", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "61", + "$id": "57", "kind": "constant", "valueType": { - "$id": "62", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -623,14 +589,14 @@ "SkipUrlEncoding": false }, { - "$id": "63", + "$id": "59", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "64", + "$id": "60", "kind": "constant", "valueType": { - "$id": "65", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -650,7 +616,7 @@ "SkipUrlEncoding": false }, { - "$id": "66", + "$id": "62", "Name": "resource", "NameInRequest": "resource", "Description": "The resource instance.", @@ -670,7 +636,7 @@ ], "Responses": [ { - "$id": "67", + "$id": "63", "StatusCodes": [ 201 ], @@ -685,7 +651,7 @@ ] }, { - "$id": "68", + "$id": "64", "StatusCodes": [ 200 ], @@ -714,7 +680,7 @@ "Decorators": [] }, { - "$id": "69", + "$id": "65", "Name": "get", "ResourceName": "User", "Summary": "Gets a user.", @@ -722,15 +688,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "34" - }, - { - "$id": "70", + "$id": "66", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "71", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -744,9 +707,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "72", + "$id": "68", "Type": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -757,12 +720,12 @@ "SkipUrlEncoding": false }, { - "$id": "74", + "$id": "70", "Name": "id", "NameInRequest": "id", "Description": "The user's id.", "Type": { - "$id": "75", + "$id": "71", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -779,14 +742,14 @@ "SkipUrlEncoding": false }, { - "$id": "76", + "$id": "72", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "77", + "$id": "73", "kind": "constant", "valueType": { - "$id": "78", + "$id": "74", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -808,7 +771,7 @@ ], "Responses": [ { - "$id": "79", + "$id": "75", "StatusCodes": [ 200 ], @@ -834,7 +797,7 @@ "Decorators": [] }, { - "$id": "80", + "$id": "76", "Name": "list", "ResourceName": "User", "Summary": "Lists all users.", @@ -842,15 +805,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "34" - }, - { - "$id": "81", + "$id": "77", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "82", + "$id": "78", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -864,9 +824,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "83", + "$id": "79", "Type": { - "$id": "84", + "$id": "80", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -877,12 +837,12 @@ "SkipUrlEncoding": false }, { - "$id": "85", + "$id": "81", "Name": "top", "NameInRequest": "top", "Description": "The number of result items to return.", "Type": { - "$id": "86", + "$id": "82", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -899,12 +859,12 @@ "SkipUrlEncoding": false }, { - "$id": "87", + "$id": "83", "Name": "skip", "NameInRequest": "skip", "Description": "The number of result items to skip.", "Type": { - "$id": "88", + "$id": "84", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -921,12 +881,12 @@ "SkipUrlEncoding": false }, { - "$id": "89", + "$id": "85", "Name": "maxpagesize", "NameInRequest": "maxpagesize", "Description": "The maximum number of result items per page.", "Type": { - "$id": "90", + "$id": "86", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -943,16 +903,16 @@ "SkipUrlEncoding": false }, { - "$id": "91", + "$id": "87", "Name": "orderby", "NameInRequest": "orderby", "Description": "Expressions that specify the order of returned results.", "Type": { - "$id": "92", + "$id": "88", "kind": "array", "name": "Array", "valueType": { - "$id": "93", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -972,12 +932,12 @@ "SkipUrlEncoding": false }, { - "$id": "94", + "$id": "90", "Name": "filter", "NameInRequest": "filter", "Description": "Filter the result list using the given expression.", "Type": { - "$id": "95", + "$id": "91", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -994,16 +954,16 @@ "SkipUrlEncoding": false }, { - "$id": "96", + "$id": "92", "Name": "select", "NameInRequest": "select", "Description": "Select the specified fields to be included in the response.", "Type": { - "$id": "97", + "$id": "93", "kind": "array", "name": "Array", "valueType": { - "$id": "98", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1023,16 +983,16 @@ "SkipUrlEncoding": false }, { - "$id": "99", + "$id": "95", "Name": "expand", "NameInRequest": "expand", "Description": "Expand the indicated resources into the response.", "Type": { - "$id": "100", + "$id": "96", "kind": "array", "name": "Array", "valueType": { - "$id": "101", + "$id": "97", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1052,14 +1012,14 @@ "SkipUrlEncoding": false }, { - "$id": "102", + "$id": "98", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "103", + "$id": "99", "kind": "constant", "valueType": { - "$id": "104", + "$id": "100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1081,7 +1041,7 @@ ], "Responses": [ { - "$id": "105", + "$id": "101", "StatusCodes": [ 200 ], @@ -1102,7 +1062,7 @@ "Path": "/azure/core/basic/users", "BufferResponse": true, "Paging": { - "$id": "106", + "$id": "102", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -1112,7 +1072,7 @@ "Decorators": [] }, { - "$id": "107", + "$id": "103", "Name": "delete", "ResourceName": "User", "Summary": "Deletes a user.", @@ -1120,15 +1080,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "34" - }, - { - "$id": "108", + "$id": "104", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "109", + "$id": "105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1142,9 +1099,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "110", + "$id": "106", "Type": { - "$id": "111", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1155,12 +1112,12 @@ "SkipUrlEncoding": false }, { - "$id": "112", + "$id": "108", "Name": "id", "NameInRequest": "id", "Description": "The user's id.", "Type": { - "$id": "113", + "$id": "109", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1177,14 +1134,14 @@ "SkipUrlEncoding": false }, { - "$id": "114", + "$id": "110", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "115", + "$id": "111", "kind": "constant", "valueType": { - "$id": "116", + "$id": "112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1206,7 +1163,7 @@ ], "Responses": [ { - "$id": "117", + "$id": "113", "StatusCodes": [ 204 ], @@ -1226,7 +1183,7 @@ "Decorators": [] }, { - "$id": "118", + "$id": "114", "Name": "export", "ResourceName": "Basic", "Summary": "Exports a user.", @@ -1234,15 +1191,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "34" - }, - { - "$id": "119", + "$id": "115", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "120", + "$id": "116", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1256,9 +1210,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "121", + "$id": "117", "Type": { - "$id": "122", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1269,12 +1223,12 @@ "SkipUrlEncoding": false }, { - "$id": "123", + "$id": "119", "Name": "id", "NameInRequest": "id", "Description": "The user's id.", "Type": { - "$id": "124", + "$id": "120", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1291,12 +1245,12 @@ "SkipUrlEncoding": false }, { - "$id": "125", + "$id": "121", "Name": "format", "NameInRequest": "format", "Description": "The format of the data.", "Type": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1313,14 +1267,14 @@ "SkipUrlEncoding": false }, { - "$id": "127", + "$id": "123", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "128", + "$id": "124", "kind": "constant", "valueType": { - "$id": "129", + "$id": "125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1342,7 +1296,7 @@ ], "Responses": [ { - "$id": "130", + "$id": "126", "StatusCodes": [ 200 ], @@ -1368,7 +1322,7 @@ "Decorators": [] }, { - "$id": "131", + "$id": "127", "Name": "exportAllUsers", "ResourceName": "Basic", "Summary": "Exports all users.", @@ -1376,15 +1330,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "34" - }, - { - "$id": "132", + "$id": "128", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "133", + "$id": "129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1398,9 +1349,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "134", + "$id": "130", "Type": { - "$id": "135", + "$id": "131", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1411,12 +1362,12 @@ "SkipUrlEncoding": false }, { - "$id": "136", + "$id": "132", "Name": "format", "NameInRequest": "format", "Description": "The format of the data.", "Type": { - "$id": "137", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1433,14 +1384,14 @@ "SkipUrlEncoding": false }, { - "$id": "138", + "$id": "134", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "139", + "$id": "135", "kind": "constant", "valueType": { - "$id": "140", + "$id": "136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1462,7 +1413,7 @@ ], "Responses": [ { - "$id": "141", + "$id": "137", "StatusCodes": [ 200 ], @@ -1489,11 +1440,39 @@ } ], "Protocol": { - "$id": "142" + "$id": "138" }, "Parameters": [ { - "$ref": "34" + "$id": "139", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "140", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "141", + "Type": { + "$id": "142", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/core/lro/rpc/tspCodeModel.json b/test/CadlRanchProjects/azure/core/lro/rpc/tspCodeModel.json index 1cb062e28ca..a45cd0bfe56 100644 --- a/test/CadlRanchProjects/azure/core/lro/rpc/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/lro/rpc/tspCodeModel.json @@ -549,42 +549,11 @@ "Parameters": [ { "$id": "52", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "53", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "54", - "Type": { - "$id": "55", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "56", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "57", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -598,9 +567,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "58", + "$id": "54", "Type": { - "$id": "59", + "$id": "55", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -611,15 +580,15 @@ "SkipUrlEncoding": false }, { - "$id": "60", + "$id": "56", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "61", + "$id": "57", "kind": "constant", "valueType": { - "$id": "62", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -639,14 +608,14 @@ "SkipUrlEncoding": false }, { - "$id": "63", + "$id": "59", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "64", + "$id": "60", "kind": "constant", "valueType": { - "$id": "65", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -666,7 +635,7 @@ "SkipUrlEncoding": false }, { - "$id": "66", + "$id": "62", "Name": "body", "NameInRequest": "body", "Description": "The body parameter.", @@ -686,7 +655,7 @@ ], "Responses": [ { - "$id": "67", + "$id": "63", "StatusCodes": [ 202 ], @@ -696,17 +665,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "68", + "$id": "64", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "69", + "$id": "65", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "70", + "$id": "66", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -731,10 +700,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "71", + "$id": "67", "FinalStateVia": 3, "FinalResponse": { - "$id": "72", + "$id": "68", "StatusCodes": [ 200 ], @@ -752,11 +721,39 @@ } ], "Protocol": { - "$id": "73" + "$id": "69" }, "Parameters": [ { - "$ref": "52" + "$id": "70", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "71", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "72", + "Type": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/core/lro/standard/tspCodeModel.json b/test/CadlRanchProjects/azure/core/lro/standard/tspCodeModel.json index 89ead893d39..cf090437d42 100644 --- a/test/CadlRanchProjects/azure/core/lro/standard/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/lro/standard/tspCodeModel.json @@ -652,42 +652,11 @@ "Parameters": [ { "$id": "61", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "62", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "63", - "Type": { - "$id": "64", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "65", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "66", + "$id": "62", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -701,9 +670,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "67", + "$id": "63", "Type": { - "$id": "68", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -714,12 +683,12 @@ "SkipUrlEncoding": false }, { - "$id": "69", + "$id": "65", "Name": "name", "NameInRequest": "name", "Description": "The name of user.", "Type": { - "$id": "70", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -736,15 +705,15 @@ "SkipUrlEncoding": false }, { - "$id": "71", + "$id": "67", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "72", + "$id": "68", "kind": "constant", "valueType": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -764,14 +733,14 @@ "SkipUrlEncoding": false }, { - "$id": "74", + "$id": "70", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "75", + "$id": "71", "kind": "constant", "valueType": { - "$id": "76", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -791,7 +760,7 @@ "SkipUrlEncoding": false }, { - "$id": "77", + "$id": "73", "Name": "resource", "NameInRequest": "resource", "Description": "The resource instance.", @@ -811,7 +780,7 @@ ], "Responses": [ { - "$id": "78", + "$id": "74", "StatusCodes": [ 201 ], @@ -821,17 +790,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "79", + "$id": "75", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "80", + "$id": "76", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "81", + "$id": "77", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -847,7 +816,7 @@ ] }, { - "$id": "82", + "$id": "78", "StatusCodes": [ 200 ], @@ -857,17 +826,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "83", + "$id": "79", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "84", + "$id": "80", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "85", + "$id": "81", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -892,10 +861,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "86", + "$id": "82", "FinalStateVia": 2, "FinalResponse": { - "$id": "87", + "$id": "83", "StatusCodes": [ 200 ], @@ -911,7 +880,7 @@ "Decorators": [] }, { - "$id": "88", + "$id": "84", "Name": "delete", "ResourceName": "User", "Summary": "Deletes a user.", @@ -919,15 +888,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "61" - }, - { - "$id": "89", + "$id": "85", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "90", + "$id": "86", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -941,9 +907,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "91", + "$id": "87", "Type": { - "$id": "92", + "$id": "88", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -954,12 +920,12 @@ "SkipUrlEncoding": false }, { - "$id": "93", + "$id": "89", "Name": "name", "NameInRequest": "name", "Description": "The name of user.", "Type": { - "$id": "94", + "$id": "90", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -976,14 +942,14 @@ "SkipUrlEncoding": false }, { - "$id": "95", + "$id": "91", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "96", + "$id": "92", "kind": "constant", "valueType": { - "$id": "97", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1005,7 +971,7 @@ ], "Responses": [ { - "$id": "98", + "$id": "94", "StatusCodes": [ 202 ], @@ -1015,17 +981,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "99", + "$id": "95", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "100", + "$id": "96", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "101", + "$id": "97", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1047,10 +1013,10 @@ "Path": "/azure/core/lro/standard/users/{name}", "BufferResponse": true, "LongRunning": { - "$id": "102", + "$id": "98", "FinalStateVia": 3, "FinalResponse": { - "$id": "103", + "$id": "99", "StatusCodes": [ 204 ], @@ -1063,7 +1029,7 @@ "Decorators": [] }, { - "$id": "104", + "$id": "100", "Name": "export", "ResourceName": "Standard", "Summary": "Exports a user.", @@ -1071,15 +1037,12 @@ "Accessibility": "public", "Parameters": [ { - "$ref": "61" - }, - { - "$id": "105", + "$id": "101", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "106", + "$id": "102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1093,9 +1056,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "107", + "$id": "103", "Type": { - "$id": "108", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1106,12 +1069,12 @@ "SkipUrlEncoding": false }, { - "$id": "109", + "$id": "105", "Name": "name", "NameInRequest": "name", "Description": "The name of user.", "Type": { - "$id": "110", + "$id": "106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1128,12 +1091,12 @@ "SkipUrlEncoding": false }, { - "$id": "111", + "$id": "107", "Name": "format", "NameInRequest": "format", "Description": "The format of the data.", "Type": { - "$id": "112", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1150,14 +1113,14 @@ "SkipUrlEncoding": false }, { - "$id": "113", + "$id": "109", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "114", + "$id": "110", "kind": "constant", "valueType": { - "$id": "115", + "$id": "111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1179,7 +1142,7 @@ ], "Responses": [ { - "$id": "116", + "$id": "112", "StatusCodes": [ 202 ], @@ -1189,17 +1152,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "117", + "$id": "113", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "118", + "$id": "114", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "119", + "$id": "115", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1221,10 +1184,10 @@ "Path": "/azure/core/lro/standard/users/{name}:export", "BufferResponse": true, "LongRunning": { - "$id": "120", + "$id": "116", "FinalStateVia": 3, "FinalResponse": { - "$id": "121", + "$id": "117", "StatusCodes": [ 200 ], @@ -1242,11 +1205,39 @@ } ], "Protocol": { - "$id": "122" + "$id": "118" }, "Parameters": [ { - "$ref": "61" + "$id": "119", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "120", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "121", + "Type": { + "$id": "122", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/core/model/tspCodeModel.json b/test/CadlRanchProjects/azure/core/model/tspCodeModel.json index ba8f851f64c..e48fa476ece 100644 --- a/test/CadlRanchProjects/azure/core/model/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/model/tspCodeModel.json @@ -138,44 +138,13 @@ "Parameters": [ { "$id": "18", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "19", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "20", - "Type": { - "$id": "21", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "22", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "23", + "$id": "19", "kind": "constant", "valueType": { - "$id": "24", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -197,16 +166,16 @@ ], "Responses": [ { - "$id": "25", + "$id": "21", "StatusCodes": [ 200 ], "BodyType": { - "$id": "26", + "$id": "22", "kind": "array", "name": "EmbeddingVector", "valueType": { - "$id": "27", + "$id": "23", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -234,25 +203,22 @@ "Decorators": [] }, { - "$id": "28", + "$id": "24", "Name": "put", "ResourceName": "AzureCoreEmbeddingVector", "Description": "put an embedding vector", "Accessibility": "public", "Parameters": [ { - "$ref": "18" - }, - { - "$id": "29", + "$id": "25", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "30", + "$id": "26", "kind": "constant", "valueType": { - "$id": "31", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -272,16 +238,16 @@ "SkipUrlEncoding": false }, { - "$id": "32", + "$id": "28", "Name": "body", "NameInRequest": "body", "Description": "_", "Type": { - "$id": "33", + "$id": "29", "kind": "array", "name": "EmbeddingVector", "valueType": { - "$id": "34", + "$id": "30", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -303,7 +269,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "31", "StatusCodes": [ 204 ], @@ -326,25 +292,22 @@ "Decorators": [] }, { - "$id": "36", + "$id": "32", "Name": "post", "ResourceName": "AzureCoreEmbeddingVector", "Description": "post a model which has an embeddingVector property", "Accessibility": "public", "Parameters": [ { - "$ref": "18" - }, - { - "$id": "37", + "$id": "33", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "38", + "$id": "34", "kind": "constant", "valueType": { - "$id": "39", + "$id": "35", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -364,14 +327,14 @@ "SkipUrlEncoding": false }, { - "$id": "40", + "$id": "36", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "41", + "$id": "37", "kind": "constant", "valueType": { - "$id": "42", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -391,7 +354,7 @@ "SkipUrlEncoding": false }, { - "$id": "43", + "$id": "39", "Name": "body", "NameInRequest": "body", "Description": "_", @@ -411,7 +374,7 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 200 ], @@ -441,12 +404,40 @@ } ], "Protocol": { - "$id": "45" + "$id": "41" }, "Parent": "ModelClient", "Parameters": [ { - "$ref": "18" + "$id": "42", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "43", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "44", + "Type": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/core/page/tspCodeModel.json b/test/CadlRanchProjects/azure/core/page/tspCodeModel.json index 8fcfcab5dca..785c1d4f92f 100644 --- a/test/CadlRanchProjects/azure/core/page/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/page/tspCodeModel.json @@ -618,42 +618,11 @@ "Parameters": [ { "$id": "63", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "64", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "65", - "Type": { - "$id": "66", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "67", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "68", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -667,9 +636,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "69", + "$id": "65", "Type": { - "$id": "70", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -680,14 +649,14 @@ "SkipUrlEncoding": false }, { - "$id": "71", + "$id": "67", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "72", + "$id": "68", "kind": "constant", "valueType": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -709,7 +678,7 @@ ], "Responses": [ { - "$id": "74", + "$id": "70", "StatusCodes": [ 200 ], @@ -730,7 +699,7 @@ "Path": "/azure/core/page/page", "BufferResponse": true, "Paging": { - "$id": "75", + "$id": "71", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -740,22 +709,19 @@ "Decorators": [] }, { - "$id": "76", + "$id": "72", "Name": "listWithParameters", "ResourceName": "Page", "Description": "List with extensible enum parameter Azure.Core.Page<>.", "Accessibility": "public", "Parameters": [ { - "$ref": "63" - }, - { - "$id": "77", + "$id": "73", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "78", + "$id": "74", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -769,9 +735,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "79", + "$id": "75", "Type": { - "$id": "80", + "$id": "76", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -782,7 +748,7 @@ "SkipUrlEncoding": false }, { - "$id": "81", + "$id": "77", "Name": "another", "NameInRequest": "another", "Description": "Another query parameter.", @@ -800,15 +766,15 @@ "SkipUrlEncoding": false }, { - "$id": "82", + "$id": "78", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "83", + "$id": "79", "kind": "constant", "valueType": { - "$id": "84", + "$id": "80", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -828,14 +794,14 @@ "SkipUrlEncoding": false }, { - "$id": "85", + "$id": "81", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "86", + "$id": "82", "kind": "constant", "valueType": { - "$id": "87", + "$id": "83", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -855,7 +821,7 @@ "SkipUrlEncoding": false }, { - "$id": "88", + "$id": "84", "Name": "bodyInput", "NameInRequest": "bodyInput", "Description": "The body of the input.", @@ -875,7 +841,7 @@ ], "Responses": [ { - "$id": "89", + "$id": "85", "StatusCodes": [ 200 ], @@ -899,7 +865,7 @@ ], "BufferResponse": true, "Paging": { - "$id": "90", + "$id": "86", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -909,22 +875,19 @@ "Decorators": [] }, { - "$id": "91", + "$id": "87", "Name": "listWithCustomPageModel", "ResourceName": "Page", "Description": "List with custom page model.", "Accessibility": "public", "Parameters": [ { - "$ref": "63" - }, - { - "$id": "92", + "$id": "88", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "93", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -938,9 +901,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "94", + "$id": "90", "Type": { - "$id": "95", + "$id": "91", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -951,14 +914,14 @@ "SkipUrlEncoding": false }, { - "$id": "96", + "$id": "92", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "97", + "$id": "93", "kind": "constant", "valueType": { - "$id": "98", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -980,7 +943,7 @@ ], "Responses": [ { - "$id": "99", + "$id": "95", "StatusCodes": [ 200 ], @@ -1001,7 +964,7 @@ "Path": "/azure/core/page/custom-page", "BufferResponse": true, "Paging": { - "$id": "100", + "$id": "96", "ItemName": "items", "NextLinkName": "nextLink" }, @@ -1012,11 +975,39 @@ } ], "Protocol": { - "$id": "101" + "$id": "97" }, "Parameters": [ { - "$ref": "63" + "$id": "98", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "99", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "100", + "Type": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1034,42 +1025,11 @@ "Parameters": [ { "$id": "104", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "105", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "106", - "Type": { - "$id": "107", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "108", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "109", + "$id": "105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1083,9 +1043,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "110", + "$id": "106", "Type": { - "$id": "111", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1096,14 +1056,14 @@ "SkipUrlEncoding": false }, { - "$id": "112", + "$id": "108", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "113", + "$id": "109", "kind": "constant", "valueType": { - "$id": "114", + "$id": "110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1125,7 +1085,7 @@ ], "Responses": [ { - "$id": "115", + "$id": "111", "StatusCodes": [ 200 ], @@ -1146,7 +1106,7 @@ "Path": "/azure/core/page/first-item", "BufferResponse": true, "Paging": { - "$id": "116", + "$id": "112", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -1156,22 +1116,19 @@ "Decorators": [] }, { - "$id": "117", + "$id": "113", "Name": "listSecondItem", "ResourceName": "TwoModelsAsPageItem", "Description": "Two operations with two different page item types should be successfully generated. Should generate model for SecondItem.", "Accessibility": "public", "Parameters": [ { - "$ref": "104" - }, - { - "$id": "118", + "$id": "114", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "119", + "$id": "115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1185,9 +1142,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "120", + "$id": "116", "Type": { - "$id": "121", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1198,14 +1155,14 @@ "SkipUrlEncoding": false }, { - "$id": "122", + "$id": "118", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "123", + "$id": "119", "kind": "constant", "valueType": { - "$id": "124", + "$id": "120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1227,7 +1184,7 @@ ], "Responses": [ { - "$id": "125", + "$id": "121", "StatusCodes": [ 200 ], @@ -1248,7 +1205,7 @@ "Path": "/azure/core/page/second-item", "BufferResponse": true, "Paging": { - "$id": "126", + "$id": "122", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -1259,12 +1216,40 @@ } ], "Protocol": { - "$id": "127" + "$id": "123" }, "Parent": "PageClient", "Parameters": [ { - "$ref": "104" + "$id": "124", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "125", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "126", + "Type": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/core/scalar/tspCodeModel.json b/test/CadlRanchProjects/azure/core/scalar/tspCodeModel.json index 8802d2d7835..6eda0080618 100644 --- a/test/CadlRanchProjects/azure/core/scalar/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/scalar/tspCodeModel.json @@ -138,44 +138,13 @@ "Parameters": [ { "$id": "18", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "19", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "20", - "Type": { - "$id": "21", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "22", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "23", + "$id": "19", "kind": "constant", "valueType": { - "$id": "24", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -197,17 +166,17 @@ ], "Responses": [ { - "$id": "25", + "$id": "21", "StatusCodes": [ 200 ], "BodyType": { - "$id": "26", + "$id": "22", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "27", + "$id": "23", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -234,25 +203,22 @@ "Decorators": [] }, { - "$id": "28", + "$id": "24", "Name": "put", "ResourceName": "AzureLocationScalar", "Description": "put azureLocation value", "Accessibility": "public", "Parameters": [ { - "$ref": "18" - }, - { - "$id": "29", + "$id": "25", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "30", + "$id": "26", "kind": "constant", "valueType": { - "$id": "31", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -272,17 +238,17 @@ "SkipUrlEncoding": false }, { - "$id": "32", + "$id": "28", "Name": "body", "NameInRequest": "body", "Description": "_", "Type": { - "$id": "33", + "$id": "29", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "34", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -303,7 +269,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "31", "StatusCodes": [ 204 ], @@ -326,25 +292,22 @@ "Decorators": [] }, { - "$id": "36", + "$id": "32", "Name": "post", "ResourceName": "AzureLocationScalar", "Description": "post a model which has azureLocation property", "Accessibility": "public", "Parameters": [ { - "$ref": "18" - }, - { - "$id": "37", + "$id": "33", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "38", + "$id": "34", "kind": "constant", "valueType": { - "$id": "39", + "$id": "35", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -364,14 +327,14 @@ "SkipUrlEncoding": false }, { - "$id": "40", + "$id": "36", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "41", + "$id": "37", "kind": "constant", "valueType": { - "$id": "42", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -391,7 +354,7 @@ "SkipUrlEncoding": false }, { - "$id": "43", + "$id": "39", "Name": "body", "NameInRequest": "body", "Description": "_", @@ -411,7 +374,7 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 200 ], @@ -440,27 +403,24 @@ "Decorators": [] }, { - "$id": "45", + "$id": "41", "Name": "header", "ResourceName": "AzureLocationScalar", "Description": "azureLocation value header", "Accessibility": "public", "Parameters": [ { - "$ref": "18" - }, - { - "$id": "46", + "$id": "42", "Name": "region", "NameInRequest": "region", "Description": "_", "Type": { - "$id": "47", + "$id": "43", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -481,7 +441,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "45", "StatusCodes": [ 204 ], @@ -501,27 +461,24 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "query", "ResourceName": "AzureLocationScalar", "Description": "azureLocation value query", "Accessibility": "public", "Parameters": [ { - "$ref": "18" - }, - { - "$id": "51", + "$id": "47", "Name": "region", "NameInRequest": "region", "Description": "_", "Type": { - "$id": "52", + "$id": "48", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -542,7 +499,7 @@ ], "Responses": [ { - "$id": "54", + "$id": "50", "StatusCodes": [ 204 ], @@ -563,12 +520,40 @@ } ], "Protocol": { - "$id": "55" + "$id": "51" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "18" + "$id": "52", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "53", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "54", + "Type": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/core/traits/tspCodeModel.json b/test/CadlRanchProjects/azure/core/traits/tspCodeModel.json index c1b2f364e1b..e94204c2423 100644 --- a/test/CadlRanchProjects/azure/core/traits/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/core/traits/tspCodeModel.json @@ -230,42 +230,11 @@ "Parameters": [ { "$id": "25", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "26", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "27", - "Type": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "29", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "30", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -279,9 +248,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "31", + "$id": "27", "Type": { - "$id": "32", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -292,12 +261,12 @@ "SkipUrlEncoding": false }, { - "$id": "33", + "$id": "29", "Name": "id", "NameInRequest": "id", "Description": "The user's id.", "Type": { - "$id": "34", + "$id": "30", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -314,12 +283,12 @@ "SkipUrlEncoding": false }, { - "$id": "35", + "$id": "31", "Name": "foo", "NameInRequest": "foo", "Description": "header in request", "Type": { - "$id": "36", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -336,12 +305,12 @@ "SkipUrlEncoding": false }, { - "$id": "37", + "$id": "33", "Name": "ifMatch", "NameInRequest": "If-Match", "Description": "The request should only proceed if an entity matches this string.", "Type": { - "$id": "38", + "$id": "34", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -358,12 +327,12 @@ "SkipUrlEncoding": false }, { - "$id": "39", + "$id": "35", "Name": "ifNoneMatch", "NameInRequest": "If-None-Match", "Description": "The request should only proceed if no entity matches this string.", "Type": { - "$id": "40", + "$id": "36", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -380,17 +349,17 @@ "SkipUrlEncoding": false }, { - "$id": "41", + "$id": "37", "Name": "ifUnmodifiedSince", "NameInRequest": "If-Unmodified-Since", "Description": "The request should only proceed if the entity was not modified after this time.", "Type": { - "$id": "42", + "$id": "38", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "43", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -410,17 +379,17 @@ "SkipUrlEncoding": false }, { - "$id": "44", + "$id": "40", "Name": "ifModifiedSince", "NameInRequest": "If-Modified-Since", "Description": "The request should only proceed if the entity was modified after this time.", "Type": { - "$id": "45", + "$id": "41", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "46", + "$id": "42", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -440,17 +409,17 @@ "SkipUrlEncoding": false }, { - "$id": "47", + "$id": "43", "Name": "clientRequestId", "NameInRequest": "x-ms-client-request-id", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "48", + "$id": "44", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "49", + "$id": "45", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -469,14 +438,14 @@ "SkipUrlEncoding": false }, { - "$id": "50", + "$id": "46", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "51", + "$id": "47", "kind": "constant", "valueType": { - "$id": "52", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -498,7 +467,7 @@ ], "Responses": [ { - "$id": "53", + "$id": "49", "StatusCodes": [ 200 ], @@ -508,11 +477,11 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "54", + "$id": "50", "Name": "bar", "NameInResponse": "bar", "Type": { - "$id": "55", + "$id": "51", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -520,12 +489,12 @@ } }, { - "$id": "56", + "$id": "52", "Name": "etagHeader", "NameInResponse": "ETag", "Description": "The entity tag for the response.", "Type": { - "$id": "57", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -533,17 +502,17 @@ } }, { - "$id": "58", + "$id": "54", "Name": "clientRequestId", "NameInResponse": "x-ms-client-request-id", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "59", + "$id": "55", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "60", + "$id": "56", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -570,22 +539,19 @@ "Decorators": [] }, { - "$id": "61", + "$id": "57", "Name": "repeatableAction", "ResourceName": "Traits", "Description": "Test for repeatable requests", "Accessibility": "public", "Parameters": [ { - "$ref": "25" - }, - { - "$id": "62", + "$id": "58", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "63", + "$id": "59", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -599,9 +565,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "64", + "$id": "60", "Type": { - "$id": "65", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -612,12 +578,12 @@ "SkipUrlEncoding": false }, { - "$id": "66", + "$id": "62", "Name": "id", "NameInRequest": "id", "Description": "The user's id.", "Type": { - "$id": "67", + "$id": "63", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -634,12 +600,12 @@ "SkipUrlEncoding": false }, { - "$id": "68", + "$id": "64", "Name": "repeatabilityRequestId", "NameInRequest": "Repeatability-Request-ID", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "69", + "$id": "65", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -656,17 +622,17 @@ "SkipUrlEncoding": false }, { - "$id": "70", + "$id": "66", "Name": "repeatabilityFirstSent", "NameInRequest": "Repeatability-First-Sent", "Description": "Specifies the date and time at which the request was first created.", "Type": { - "$id": "71", + "$id": "67", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "72", + "$id": "68", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -686,15 +652,15 @@ "SkipUrlEncoding": false }, { - "$id": "73", + "$id": "69", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "74", + "$id": "70", "kind": "constant", "valueType": { - "$id": "75", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -714,14 +680,14 @@ "SkipUrlEncoding": false }, { - "$id": "76", + "$id": "72", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "77", + "$id": "73", "kind": "constant", "valueType": { - "$id": "78", + "$id": "74", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -741,7 +707,7 @@ "SkipUrlEncoding": false }, { - "$id": "79", + "$id": "75", "Name": "body", "NameInRequest": "body", "Description": "The body parameter.", @@ -761,7 +727,7 @@ ], "Responses": [ { - "$id": "80", + "$id": "76", "StatusCodes": [ 200 ], @@ -771,7 +737,7 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "81", + "$id": "77", "Name": "repeatabilityResult", "NameInResponse": "Repeatability-Result", "Description": "Indicates whether the repeatable request was accepted or rejected.", @@ -801,11 +767,39 @@ } ], "Protocol": { - "$id": "82" + "$id": "78" }, "Parameters": [ { - "$ref": "25" + "$id": "79", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "80", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "81", + "Type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/resource-manager/common-properties/tspCodeModel.json b/test/CadlRanchProjects/azure/resource-manager/common-properties/tspCodeModel.json index 97ad6c5735a..1b3088f3ae4 100644 --- a/test/CadlRanchProjects/azure/resource-manager/common-properties/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/resource-manager/common-properties/tspCodeModel.json @@ -1030,42 +1030,11 @@ "Parameters": [ { "$id": "104", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "105", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "106", - "Type": { - "$id": "107", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "https://management.azure.com" - } - }, - { - "$id": "108", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "109", + "$id": "105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1079,9 +1048,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "110", + "$id": "106", "Type": { - "$id": "111", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1092,12 +1061,12 @@ "SkipUrlEncoding": false }, { - "$id": "112", + "$id": "108", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "113", + "$id": "109", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1114,12 +1083,12 @@ "SkipUrlEncoding": false }, { - "$id": "114", + "$id": "110", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "115", + "$id": "111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1136,12 +1105,12 @@ "SkipUrlEncoding": false }, { - "$id": "116", + "$id": "112", "Name": "managedIdentityTrackedResourceName", "NameInRequest": "managedIdentityTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "117", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1158,14 +1127,14 @@ "SkipUrlEncoding": false }, { - "$id": "118", + "$id": "114", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "119", + "$id": "115", "kind": "constant", "valueType": { - "$id": "120", + "$id": "116", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1187,7 +1156,7 @@ ], "Responses": [ { - "$id": "121", + "$id": "117", "StatusCodes": [ 200 ], @@ -1213,22 +1182,19 @@ "Decorators": [] }, { - "$id": "122", + "$id": "118", "Name": "createWithSystemAssigned", "ResourceName": "ManagedIdentityTrackedResource", "Description": "Create a ManagedIdentityTrackedResource", "Accessibility": "public", "Parameters": [ { - "$ref": "104" - }, - { - "$id": "123", + "$id": "119", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "124", + "$id": "120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1242,9 +1208,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "125", + "$id": "121", "Type": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1255,12 +1221,12 @@ "SkipUrlEncoding": false }, { - "$id": "127", + "$id": "123", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "128", + "$id": "124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1277,12 +1243,12 @@ "SkipUrlEncoding": false }, { - "$id": "129", + "$id": "125", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "130", + "$id": "126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1299,12 +1265,12 @@ "SkipUrlEncoding": false }, { - "$id": "131", + "$id": "127", "Name": "managedIdentityTrackedResourceName", "NameInRequest": "managedIdentityTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "132", + "$id": "128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1321,15 +1287,15 @@ "SkipUrlEncoding": false }, { - "$id": "133", + "$id": "129", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "134", + "$id": "130", "kind": "constant", "valueType": { - "$id": "135", + "$id": "131", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1349,14 +1315,14 @@ "SkipUrlEncoding": false }, { - "$id": "136", + "$id": "132", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "137", + "$id": "133", "kind": "constant", "valueType": { - "$id": "138", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1376,7 +1342,7 @@ "SkipUrlEncoding": false }, { - "$id": "139", + "$id": "135", "Name": "resource", "NameInRequest": "resource", "Description": "Resource create parameters.", @@ -1396,7 +1362,7 @@ ], "Responses": [ { - "$id": "140", + "$id": "136", "StatusCodes": [ 200 ], @@ -1411,7 +1377,7 @@ ] }, { - "$id": "141", + "$id": "137", "StatusCodes": [ 201 ], @@ -1440,22 +1406,19 @@ "Decorators": [] }, { - "$id": "142", + "$id": "138", "Name": "updateWithUserAssignedAndSystemAssigned", "ResourceName": "ManagedIdentityTrackedResource", "Description": "Update a ManagedIdentityTrackedResource", "Accessibility": "public", "Parameters": [ { - "$ref": "104" - }, - { - "$id": "143", + "$id": "139", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "144", + "$id": "140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1469,9 +1432,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "145", + "$id": "141", "Type": { - "$id": "146", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1482,12 +1445,12 @@ "SkipUrlEncoding": false }, { - "$id": "147", + "$id": "143", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "148", + "$id": "144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1504,12 +1467,12 @@ "SkipUrlEncoding": false }, { - "$id": "149", + "$id": "145", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "150", + "$id": "146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1526,12 +1489,12 @@ "SkipUrlEncoding": false }, { - "$id": "151", + "$id": "147", "Name": "managedIdentityTrackedResourceName", "NameInRequest": "managedIdentityTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "152", + "$id": "148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1548,15 +1511,15 @@ "SkipUrlEncoding": false }, { - "$id": "153", + "$id": "149", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "154", + "$id": "150", "kind": "constant", "valueType": { - "$id": "155", + "$id": "151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1576,14 +1539,14 @@ "SkipUrlEncoding": false }, { - "$id": "156", + "$id": "152", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "157", + "$id": "153", "kind": "constant", "valueType": { - "$id": "158", + "$id": "154", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1603,7 +1566,7 @@ "SkipUrlEncoding": false }, { - "$id": "159", + "$id": "155", "Name": "properties", "NameInRequest": "properties", "Description": "The resource properties to be updated.", @@ -1623,7 +1586,7 @@ ], "Responses": [ { - "$id": "160", + "$id": "156", "StatusCodes": [ 200 ], @@ -1653,12 +1616,40 @@ } ], "Protocol": { - "$id": "161" + "$id": "157" }, "Parent": "CommonPropertiesClient", "Parameters": [ { - "$ref": "104" + "$id": "158", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "159", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "160", + "Type": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "https://management.azure.com" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/azure/resource-manager/models/common-types/managed-identity/tspCodeModel.json b/test/CadlRanchProjects/azure/resource-manager/models/common-types/managed-identity/tspCodeModel.json new file mode 100644 index 00000000000..ed8a8f74b52 --- /dev/null +++ b/test/CadlRanchProjects/azure/resource-manager/models/common-types/managed-identity/tspCodeModel.json @@ -0,0 +1,1534 @@ +{ + "$id": "1", + "Name": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity", + "ApiVersions": [ + "2023-12-01-preview" + ], + "Enums": [ + { + "$id": "2", + "Kind": "enum", + "Name": "ManagedServiceIdentityType", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", + "ValueType": { + "$id": "3", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Values": [ + { + "$id": "4", + "Name": "None", + "Value": "None", + "Description": "No managed identity.", + "Decorators": [] + }, + { + "$id": "5", + "Name": "SystemAssigned", + "Value": "SystemAssigned", + "Description": "System assigned managed identity.", + "Decorators": [] + }, + { + "$id": "6", + "Name": "UserAssigned", + "Value": "UserAssigned", + "Description": "User assigned managed identity.", + "Decorators": [] + }, + { + "$id": "7", + "Name": "SystemAndUserAssignedV3", + "Value": "SystemAssigned,UserAssigned", + "Description": "System and user assigned managed identity.", + "Decorators": [] + } + ], + "Description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", + "IsExtensible": true, + "Usage": "Input,Output,Json", + "Decorators": [] + }, + { + "$id": "8", + "Kind": "enum", + "Name": "createdByType", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "ValueType": { + "$id": "9", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Values": [ + { + "$id": "10", + "Name": "User", + "Value": "User", + "Description": "The entity was created by a user.", + "Decorators": [] + }, + { + "$id": "11", + "Name": "Application", + "Value": "Application", + "Description": "The entity was created by an application.", + "Decorators": [] + }, + { + "$id": "12", + "Name": "ManagedIdentity", + "Value": "ManagedIdentity", + "Description": "The entity was created by a managed identity.", + "Decorators": [] + }, + { + "$id": "13", + "Name": "Key", + "Value": "Key", + "Description": "The entity was created by a key.", + "Decorators": [] + } + ], + "Description": "The kind of entity that created the resource.", + "IsExtensible": true, + "Usage": "Output,Json", + "Decorators": [] + }, + { + "$id": "14", + "Kind": "enum", + "Name": "Versions", + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity.Versions", + "ValueType": { + "$id": "15", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Values": [ + { + "$id": "16", + "Name": "v2023_12_01_preview", + "Value": "2023-12-01-preview", + "Description": "Preview API version 2023-12-01-preview.", + "Decorators": [] + } + ], + "Description": "Azure API versions.", + "IsExtensible": false, + "Usage": "ApiVersionEnum", + "Decorators": [] + } + ], + "Models": [ + { + "$id": "17", + "Kind": "model", + "Name": "ManagedIdentityTrackedResource", + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity.ManagedIdentityTrackedResource", + "Usage": "Input,Output,Json", + "Description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", + "Decorators": [], + "BaseModel": { + "$id": "18", + "Kind": "model", + "Name": "TrackedResource", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource", + "Usage": "Input,Output,Json", + "Description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "Decorators": [], + "BaseModel": { + "$id": "19", + "Kind": "model", + "Name": "Resource", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource", + "Usage": "Input,Output,Json", + "Description": "Common fields that are returned in the response for all Azure Resource Manager resources", + "Decorators": [], + "Properties": [ + { + "$id": "20", + "Kind": "property", + "Name": "id", + "SerializedName": "id", + "Description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + "Type": { + "$id": "21", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id" + }, + { + "$id": "22", + "Kind": "property", + "Name": "name", + "SerializedName": "name", + "Description": "The name of the resource", + "Type": { + "$id": "23", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name" + }, + { + "$id": "24", + "Kind": "property", + "Name": "type", + "SerializedName": "type", + "Description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "Type": { + "$id": "25", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type" + }, + { + "$id": "26", + "Kind": "property", + "Name": "systemData", + "SerializedName": "systemData", + "Description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "Type": { + "$id": "27", + "Kind": "model", + "Name": "SystemData", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "Usage": "Output,Json", + "Description": "Metadata pertaining to creation and last modification of the resource.", + "Decorators": [], + "Properties": [ + { + "$id": "28", + "Kind": "property", + "Name": "createdBy", + "SerializedName": "createdBy", + "Description": "The identity that created the resource.", + "Type": { + "$id": "29", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy" + }, + { + "$id": "30", + "Kind": "property", + "Name": "createdByType", + "SerializedName": "createdByType", + "Description": "The type of identity that created the resource.", + "Type": { + "$ref": "8" + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType" + }, + { + "$id": "31", + "Kind": "property", + "Name": "createdAt", + "SerializedName": "createdAt", + "Description": "The timestamp of resource creation (UTC).", + "Type": { + "$id": "32", + "Kind": "utcDateTime", + "Name": "utcDateTime", + "Encode": "rfc3339", + "WireType": { + "$id": "33", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "CrossLanguageDefinitionId": "TypeSpec.utcDateTime", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt" + }, + { + "$id": "34", + "Kind": "property", + "Name": "lastModifiedBy", + "SerializedName": "lastModifiedBy", + "Description": "The identity that last modified the resource.", + "Type": { + "$id": "35", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy" + }, + { + "$id": "36", + "Kind": "property", + "Name": "lastModifiedByType", + "SerializedName": "lastModifiedByType", + "Description": "The type of identity that last modified the resource.", + "Type": { + "$ref": "8" + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType" + }, + { + "$id": "37", + "Kind": "property", + "Name": "lastModifiedAt", + "SerializedName": "lastModifiedAt", + "Description": "The timestamp of resource last modification (UTC)", + "Type": { + "$id": "38", + "Kind": "utcDateTime", + "Name": "utcDateTime", + "Encode": "rfc3339", + "WireType": { + "$id": "39", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "CrossLanguageDefinitionId": "TypeSpec.utcDateTime", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt" + } + ] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData" + } + ] + }, + "Properties": [ + { + "$id": "40", + "Kind": "property", + "Name": "tags", + "SerializedName": "tags", + "Description": "Resource tags.", + "Type": { + "$id": "41", + "Kind": "dict", + "KeyType": { + "$id": "42", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "ValueType": { + "$id": "43", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags" + }, + { + "$id": "44", + "Kind": "property", + "Name": "location", + "SerializedName": "location", + "Description": "The geo-location where the resource lives", + "Type": { + "$id": "45", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location" + } + ] + }, + "Properties": [ + { + "$id": "46", + "Kind": "property", + "Name": "properties", + "SerializedName": "properties", + "Description": "The resource-specific properties for this resource.", + "Type": { + "$id": "47", + "Kind": "model", + "Name": "ManagedIdentityTrackedResourceProperties", + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity.ManagedIdentityTrackedResourceProperties", + "Usage": "Input,Output,Json", + "Description": "Managed Identity Arm Resource Properties.", + "Decorators": [], + "Properties": [ + { + "$id": "48", + "Kind": "property", + "Name": "provisioningState", + "SerializedName": "provisioningState", + "Description": "The status of the last operation.", + "Type": { + "$id": "49", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity.ManagedIdentityTrackedResourceProperties.provisioningState" + } + ] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity.ManagedIdentityTrackedResource.properties" + }, + { + "$id": "50", + "Kind": "property", + "Name": "identity", + "SerializedName": "identity", + "Description": "The managed service identities assigned to this resource.", + "Type": { + "$id": "51", + "Kind": "model", + "Name": "ManagedServiceIdentity", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity", + "Usage": "Input,Output,Json", + "Description": "Managed service identity (system assigned and/or user assigned identities)", + "Decorators": [], + "Properties": [ + { + "$id": "52", + "Kind": "property", + "Name": "principalId", + "SerializedName": "principalId", + "Description": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.", + "Type": { + "$id": "53", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "54", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.principalId" + }, + { + "$id": "55", + "Kind": "property", + "Name": "tenantId", + "SerializedName": "tenantId", + "Description": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.", + "Type": { + "$id": "56", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "57", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.tenantId" + }, + { + "$id": "58", + "Kind": "property", + "Name": "type", + "SerializedName": "type", + "Description": "The type of managed identity assigned to this resource.", + "Type": { + "$ref": "2" + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type" + }, + { + "$id": "59", + "Kind": "property", + "Name": "userAssignedIdentities", + "SerializedName": "userAssignedIdentities", + "Description": "The identities assigned to this resource by the user.", + "Type": { + "$id": "60", + "Kind": "dict", + "KeyType": { + "$id": "61", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "ValueType": { + "$id": "62", + "Kind": "model", + "Name": "UserAssignedIdentity", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity", + "Usage": "Input,Output,Json", + "Description": "User assigned identity properties", + "Decorators": [], + "Properties": [ + { + "$id": "63", + "Kind": "property", + "Name": "principalId", + "SerializedName": "principalId", + "Description": "The principal ID of the assigned identity.", + "Type": { + "$id": "64", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "65", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.principalId" + }, + { + "$id": "66", + "Kind": "property", + "Name": "clientId", + "SerializedName": "clientId", + "Description": "The client ID of the assigned identity.", + "Type": { + "$id": "67", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "68", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.clientId" + } + ] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities" + } + ] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity.ManagedIdentityTrackedResource.identity" + } + ] + }, + { + "$ref": "47" + }, + { + "$ref": "51" + }, + { + "$ref": "62" + }, + { + "$ref": "18" + }, + { + "$ref": "19" + }, + { + "$ref": "27" + }, + { + "$id": "69", + "Kind": "model", + "Name": "ErrorResponse", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "Usage": "Output,Error,Json", + "Description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "Decorators": [], + "Properties": [ + { + "$id": "70", + "Kind": "property", + "Name": "error", + "SerializedName": "error", + "Description": "The error object.", + "Type": { + "$id": "71", + "Kind": "model", + "Name": "ErrorDetail", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "Usage": "Output,Json", + "Description": "The error detail.", + "Decorators": [], + "Properties": [ + { + "$id": "72", + "Kind": "property", + "Name": "code", + "SerializedName": "code", + "Description": "The error code.", + "Type": { + "$id": "73", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code" + }, + { + "$id": "74", + "Kind": "property", + "Name": "message", + "SerializedName": "message", + "Description": "The error message.", + "Type": { + "$id": "75", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message" + }, + { + "$id": "76", + "Kind": "property", + "Name": "target", + "SerializedName": "target", + "Description": "The error target.", + "Type": { + "$id": "77", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target" + }, + { + "$id": "78", + "Kind": "property", + "Name": "details", + "SerializedName": "details", + "Description": "The error details.", + "Type": { + "$id": "79", + "Kind": "array", + "Name": "ArrayErrorDetail", + "ValueType": { + "$ref": "71" + }, + "CrossLanguageDefinitionId": "TypeSpec.Array", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details" + }, + { + "$id": "80", + "Kind": "property", + "Name": "additionalInfo", + "SerializedName": "additionalInfo", + "Description": "The error additional info.", + "Type": { + "$id": "81", + "Kind": "array", + "Name": "ArrayErrorAdditionalInfo", + "ValueType": { + "$id": "82", + "Kind": "model", + "Name": "ErrorAdditionalInfo", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "Usage": "Output,Json", + "Description": "The resource management error additional info.", + "Decorators": [], + "Properties": [ + { + "$id": "83", + "Kind": "property", + "Name": "type", + "SerializedName": "type", + "Description": "The additional info type.", + "Type": { + "$id": "84", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type" + }, + { + "$id": "85", + "Kind": "property", + "Name": "info", + "SerializedName": "info", + "Description": "The additional info.", + "Type": { + "$id": "86", + "Kind": "model", + "Name": "ErrorAdditionalInfoInfo", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info.anonymous", + "Usage": "Output,Json", + "Decorators": [], + "Properties": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info" + } + ] + }, + "CrossLanguageDefinitionId": "TypeSpec.Array", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo" + } + ] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error" + } + ] + }, + { + "$ref": "71" + }, + { + "$ref": "82" + }, + { + "$ref": "86" + } + ], + "Clients": [ + { + "$id": "87", + "Name": "ManagedIdentityClient", + "Description": "Arm Managed Identity Provider management API.", + "Operations": [], + "Protocol": { + "$id": "88" + }, + "Parameters": [ + { + "$id": "89", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Type": { + "$id": "90", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "91", + "Type": { + "$id": "92", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "https://management.azure.com" + } + } + ], + "Decorators": [] + }, + { + "$id": "93", + "Name": "ManagedIdentityTrackedResources", + "Operations": [ + { + "$id": "94", + "Name": "get", + "ResourceName": "ManagedIdentityTrackedResources", + "Description": "Get a ManagedIdentityTrackedResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "95", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "96", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "97", + "Type": { + "$id": "98", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "99", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "100", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "101", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "102", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "103", + "Name": "managedIdentityTrackedResourceName", + "NameInRequest": "managedIdentityTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "104", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "105", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "106", + "Kind": "constant", + "ValueType": { + "$id": "107", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "108", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "17" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "GET", + "RequestBodyMediaType": "None", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.CommonTypes.ManagedIdentity/managedIdentityTrackedResources/{managedIdentityTrackedResourceName}", + "BufferResponse": true, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity.ManagedIdentityTrackedResources.get", + "Decorators": [] + }, + { + "$id": "109", + "Name": "createWithSystemAssigned", + "ResourceName": "ManagedIdentityTrackedResources", + "Description": "Create a ManagedIdentityTrackedResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "110", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "111", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "112", + "Type": { + "$id": "113", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "114", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "115", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "116", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "117", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "118", + "Name": "managedIdentityTrackedResourceName", + "NameInRequest": "managedIdentityTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "119", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "120", + "Name": "contentType", + "NameInRequest": "Content-Type", + "Description": "Body parameter's content type. Known values are application/json", + "Type": { + "$id": "121", + "Kind": "constant", + "ValueType": { + "$id": "122", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": true, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "123", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "124", + "Kind": "constant", + "ValueType": { + "$id": "125", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "126", + "Name": "resource", + "NameInRequest": "resource", + "Description": "Resource create parameters.", + "Type": { + "$ref": "17" + }, + "Location": "Body", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "127", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "17" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + }, + { + "$id": "128", + "StatusCodes": [ + 201 + ], + "BodyType": { + "$ref": "17" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "PUT", + "RequestBodyMediaType": "Json", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.CommonTypes.ManagedIdentity/managedIdentityTrackedResources/{managedIdentityTrackedResourceName}", + "RequestMediaTypes": [ + "application/json" + ], + "BufferResponse": true, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity.ManagedIdentityTrackedResources.createWithSystemAssigned", + "Decorators": [] + }, + { + "$id": "129", + "Name": "updateWithUserAssignedAndSystemAssigned", + "ResourceName": "ManagedIdentityTrackedResources", + "Description": "Update a ManagedIdentityTrackedResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "130", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "131", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "132", + "Type": { + "$id": "133", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "134", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "135", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "136", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "137", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "138", + "Name": "managedIdentityTrackedResourceName", + "NameInRequest": "managedIdentityTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "139", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "140", + "Name": "contentType", + "NameInRequest": "Content-Type", + "Description": "Body parameter's content type. Known values are application/json", + "Type": { + "$id": "141", + "Kind": "constant", + "ValueType": { + "$id": "142", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": true, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "143", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "144", + "Kind": "constant", + "ValueType": { + "$id": "145", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "146", + "Name": "properties", + "NameInRequest": "properties", + "Description": "The resource properties to be updated.", + "Type": { + "$ref": "17" + }, + "Location": "Body", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "147", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "17" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "PATCH", + "RequestBodyMediaType": "Json", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.CommonTypes.ManagedIdentity/managedIdentityTrackedResources/{managedIdentityTrackedResourceName}", + "RequestMediaTypes": [ + "application/json" + ], + "BufferResponse": true, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": false, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.CommonTypes.ManagedIdentity.ManagedIdentityTrackedResources.updateWithUserAssignedAndSystemAssigned", + "Decorators": [] + } + ], + "Protocol": { + "$id": "148" + }, + "Parent": "ManagedIdentityClient", + "Parameters": [ + { + "$id": "149", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Type": { + "$id": "150", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "151", + "Type": { + "$id": "152", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "https://management.azure.com" + } + } + ], + "Decorators": [] + } + ], + "Auth": { + "$id": "153", + "OAuth2": { + "$id": "154", + "Scopes": [ + "user_impersonation" + ] + } + } +} diff --git a/test/CadlRanchProjects/azure/resource-manager/models/resources/tspCodeModel.json b/test/CadlRanchProjects/azure/resource-manager/models/resources/tspCodeModel.json new file mode 100644 index 00000000000..c2eab1a8cca --- /dev/null +++ b/test/CadlRanchProjects/azure/resource-manager/models/resources/tspCodeModel.json @@ -0,0 +1,3408 @@ +{ + "$id": "1", + "Name": "Azure.ResourceManager.Models.Resources", + "ApiVersions": [ + "2023-12-01-preview" + ], + "Enums": [ + { + "$id": "2", + "Kind": "enum", + "Name": "ProvisioningState", + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.ProvisioningState", + "ValueType": { + "$id": "3", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Values": [ + { + "$id": "4", + "Name": "Succeeded", + "Value": "Succeeded", + "Description": "Resource has been created.", + "Decorators": [] + }, + { + "$id": "5", + "Name": "Failed", + "Value": "Failed", + "Description": "Resource creation failed.", + "Decorators": [] + }, + { + "$id": "6", + "Name": "Canceled", + "Value": "Canceled", + "Description": "Resource creation was canceled.", + "Decorators": [] + }, + { + "$id": "7", + "Name": "Provisioning", + "Value": "Provisioning", + "Decorators": [] + }, + { + "$id": "8", + "Name": "Updating", + "Value": "Updating", + "Decorators": [] + }, + { + "$id": "9", + "Name": "Deleting", + "Value": "Deleting", + "Decorators": [] + }, + { + "$id": "10", + "Name": "Accepted", + "Value": "Accepted", + "Decorators": [] + } + ], + "IsExtensible": true, + "Usage": "Output,Json", + "Decorators": [] + }, + { + "$id": "11", + "Kind": "enum", + "Name": "createdByType", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "ValueType": { + "$id": "12", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Values": [ + { + "$id": "13", + "Name": "User", + "Value": "User", + "Description": "The entity was created by a user.", + "Decorators": [] + }, + { + "$id": "14", + "Name": "Application", + "Value": "Application", + "Description": "The entity was created by an application.", + "Decorators": [] + }, + { + "$id": "15", + "Name": "ManagedIdentity", + "Value": "ManagedIdentity", + "Description": "The entity was created by a managed identity.", + "Decorators": [] + }, + { + "$id": "16", + "Name": "Key", + "Value": "Key", + "Description": "The entity was created by a key.", + "Decorators": [] + } + ], + "Description": "The kind of entity that created the resource.", + "IsExtensible": true, + "Usage": "Output,Json", + "Decorators": [] + }, + { + "$id": "17", + "Kind": "enum", + "Name": "Versions", + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.Versions", + "ValueType": { + "$id": "18", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Values": [ + { + "$id": "19", + "Name": "v2023_12_01_preview", + "Value": "2023-12-01-preview", + "Description": "Preview API version 2023-12-01-preview.", + "Decorators": [] + } + ], + "Description": "Azure API versions.", + "IsExtensible": false, + "Usage": "ApiVersionEnum", + "Decorators": [] + } + ], + "Models": [ + { + "$id": "20", + "Kind": "model", + "Name": "NestedProxyResource", + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResource", + "Usage": "Input,Output,Json", + "Description": "Nested child of Top Level Tracked Resource.", + "Decorators": [], + "BaseModel": { + "$id": "21", + "Kind": "model", + "Name": "ProxyResource", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ProxyResource", + "Usage": "Input,Output,Json", + "Description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "Decorators": [], + "BaseModel": { + "$id": "22", + "Kind": "model", + "Name": "Resource", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource", + "Usage": "Input,Output,Json", + "Description": "Common fields that are returned in the response for all Azure Resource Manager resources", + "Decorators": [], + "Properties": [ + { + "$id": "23", + "Kind": "property", + "Name": "id", + "SerializedName": "id", + "Description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + "Type": { + "$id": "24", + "Kind": "string", + "Name": "armResourceIdentifier", + "CrossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "BaseType": { + "$id": "25", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id" + }, + { + "$id": "26", + "Kind": "property", + "Name": "name", + "SerializedName": "name", + "Description": "The name of the resource", + "Type": { + "$id": "27", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name" + }, + { + "$id": "28", + "Kind": "property", + "Name": "type", + "SerializedName": "type", + "Description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "Type": { + "$id": "29", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type" + }, + { + "$id": "30", + "Kind": "property", + "Name": "systemData", + "SerializedName": "systemData", + "Description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "Type": { + "$id": "31", + "Kind": "model", + "Name": "SystemData", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "Usage": "Output,Json", + "Description": "Metadata pertaining to creation and last modification of the resource.", + "Decorators": [], + "Properties": [ + { + "$id": "32", + "Kind": "property", + "Name": "createdBy", + "SerializedName": "createdBy", + "Description": "The identity that created the resource.", + "Type": { + "$id": "33", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy" + }, + { + "$id": "34", + "Kind": "property", + "Name": "createdByType", + "SerializedName": "createdByType", + "Description": "The type of identity that created the resource.", + "Type": { + "$ref": "11" + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType" + }, + { + "$id": "35", + "Kind": "property", + "Name": "createdAt", + "SerializedName": "createdAt", + "Description": "The timestamp of resource creation (UTC).", + "Type": { + "$id": "36", + "Kind": "utcDateTime", + "Name": "utcDateTime", + "Encode": "rfc3339", + "WireType": { + "$id": "37", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "CrossLanguageDefinitionId": "TypeSpec.utcDateTime", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt" + }, + { + "$id": "38", + "Kind": "property", + "Name": "lastModifiedBy", + "SerializedName": "lastModifiedBy", + "Description": "The identity that last modified the resource.", + "Type": { + "$id": "39", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy" + }, + { + "$id": "40", + "Kind": "property", + "Name": "lastModifiedByType", + "SerializedName": "lastModifiedByType", + "Description": "The type of identity that last modified the resource.", + "Type": { + "$ref": "11" + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType" + }, + { + "$id": "41", + "Kind": "property", + "Name": "lastModifiedAt", + "SerializedName": "lastModifiedAt", + "Description": "The timestamp of resource last modification (UTC)", + "Type": { + "$id": "42", + "Kind": "utcDateTime", + "Name": "utcDateTime", + "Encode": "rfc3339", + "WireType": { + "$id": "43", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "CrossLanguageDefinitionId": "TypeSpec.utcDateTime", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt" + } + ] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData" + } + ] + }, + "Properties": [] + }, + "Properties": [ + { + "$id": "44", + "Kind": "property", + "Name": "properties", + "SerializedName": "properties", + "Description": "The resource-specific properties for this resource.", + "Type": { + "$id": "45", + "Kind": "model", + "Name": "NestedProxyResourceProperties", + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResourceProperties", + "Usage": "Input,Output,Json", + "Description": "Nested Proxy Resource Properties.", + "Decorators": [], + "Properties": [ + { + "$id": "46", + "Kind": "property", + "Name": "provisioningState", + "SerializedName": "provisioningState", + "Description": "Provisioning State of the nested child Resource", + "Type": { + "$ref": "2" + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResourceProperties.provisioningState" + }, + { + "$id": "47", + "Kind": "property", + "Name": "description", + "SerializedName": "description", + "Description": "Nested resource description.", + "Type": { + "$id": "48", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResourceProperties.description" + } + ] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResource.properties" + } + ] + }, + { + "$ref": "45" + }, + { + "$ref": "21" + }, + { + "$ref": "22" + }, + { + "$ref": "31" + }, + { + "$id": "49", + "Kind": "model", + "Name": "ErrorResponse", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "Usage": "Output,Error,Json", + "Description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "Decorators": [], + "Properties": [ + { + "$id": "50", + "Kind": "property", + "Name": "error", + "SerializedName": "error", + "Description": "The error object.", + "Type": { + "$id": "51", + "Kind": "model", + "Name": "ErrorDetail", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "Usage": "Output,Json", + "Description": "The error detail.", + "Decorators": [], + "Properties": [ + { + "$id": "52", + "Kind": "property", + "Name": "code", + "SerializedName": "code", + "Description": "The error code.", + "Type": { + "$id": "53", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code" + }, + { + "$id": "54", + "Kind": "property", + "Name": "message", + "SerializedName": "message", + "Description": "The error message.", + "Type": { + "$id": "55", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message" + }, + { + "$id": "56", + "Kind": "property", + "Name": "target", + "SerializedName": "target", + "Description": "The error target.", + "Type": { + "$id": "57", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target" + }, + { + "$id": "58", + "Kind": "property", + "Name": "details", + "SerializedName": "details", + "Description": "The error details.", + "Type": { + "$id": "59", + "Kind": "array", + "Name": "ArrayErrorDetail", + "ValueType": { + "$ref": "51" + }, + "CrossLanguageDefinitionId": "TypeSpec.Array", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details" + }, + { + "$id": "60", + "Kind": "property", + "Name": "additionalInfo", + "SerializedName": "additionalInfo", + "Description": "The error additional info.", + "Type": { + "$id": "61", + "Kind": "array", + "Name": "ArrayErrorAdditionalInfo", + "ValueType": { + "$id": "62", + "Kind": "model", + "Name": "ErrorAdditionalInfo", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "Usage": "Output,Json", + "Description": "The resource management error additional info.", + "Decorators": [], + "Properties": [ + { + "$id": "63", + "Kind": "property", + "Name": "type", + "SerializedName": "type", + "Description": "The additional info type.", + "Type": { + "$id": "64", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type" + }, + { + "$id": "65", + "Kind": "property", + "Name": "info", + "SerializedName": "info", + "Description": "The additional info.", + "Type": { + "$id": "66", + "Kind": "model", + "Name": "ErrorAdditionalInfoInfo", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info.anonymous", + "Usage": "Output,Json", + "Decorators": [], + "Properties": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info" + } + ] + }, + "CrossLanguageDefinitionId": "TypeSpec.Array", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo" + } + ] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error" + } + ] + }, + { + "$ref": "51" + }, + { + "$ref": "62" + }, + { + "$ref": "66" + }, + { + "$id": "67", + "Kind": "model", + "Name": "NestedProxyResourceListResult", + "CrossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "Usage": "Output,Json", + "Description": "The response of a NestedProxyResource list operation.", + "Decorators": [], + "Properties": [ + { + "$id": "68", + "Kind": "property", + "Name": "value", + "SerializedName": "value", + "Description": "The NestedProxyResource items on this page", + "Type": { + "$id": "69", + "Kind": "array", + "Name": "ArrayNestedProxyResource", + "ValueType": { + "$ref": "20" + }, + "CrossLanguageDefinitionId": "TypeSpec.Array", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value" + }, + { + "$id": "70", + "Kind": "property", + "Name": "nextLink", + "SerializedName": "nextLink", + "Description": "The link to the next page of items", + "Type": { + "$id": "71", + "Kind": "url", + "Name": "ResourceLocation", + "CrossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "BaseType": { + "$id": "72", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url", + "Decorators": [] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink" + } + ] + }, + { + "$id": "73", + "Kind": "model", + "Name": "TopLevelTrackedResource", + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResource", + "Usage": "Input,Output,Json", + "Description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", + "Decorators": [], + "BaseModel": { + "$id": "74", + "Kind": "model", + "Name": "TrackedResource", + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource", + "Usage": "Input,Output,Json", + "Description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "Decorators": [], + "BaseModel": { + "$ref": "22" + }, + "Properties": [ + { + "$id": "75", + "Kind": "property", + "Name": "tags", + "SerializedName": "tags", + "Description": "Resource tags.", + "Type": { + "$id": "76", + "Kind": "dict", + "KeyType": { + "$id": "77", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "ValueType": { + "$id": "78", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags" + }, + { + "$id": "79", + "Kind": "property", + "Name": "location", + "SerializedName": "location", + "Description": "The geo-location where the resource lives", + "Type": { + "$id": "80", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location" + } + ] + }, + "Properties": [ + { + "$id": "81", + "Kind": "property", + "Name": "properties", + "SerializedName": "properties", + "Description": "The resource-specific properties for this resource.", + "Type": { + "$id": "82", + "Kind": "model", + "Name": "TopLevelTrackedResourceProperties", + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResourceProperties", + "Usage": "Input,Output,Json", + "Description": "Top Level Arm Resource Properties.", + "Decorators": [], + "Properties": [ + { + "$id": "83", + "Kind": "property", + "Name": "provisioningState", + "SerializedName": "provisioningState", + "Description": "The status of the last operation.", + "Type": { + "$ref": "2" + }, + "Optional": true, + "ReadOnly": true, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResourceProperties.provisioningState" + }, + { + "$id": "84", + "Kind": "property", + "Name": "description", + "SerializedName": "description", + "Description": "The description of the resource.", + "Type": { + "$id": "85", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResourceProperties.description" + } + ] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResource.properties" + } + ] + }, + { + "$ref": "82" + }, + { + "$ref": "74" + }, + { + "$id": "86", + "Kind": "model", + "Name": "TopLevelTrackedResourceListResult", + "CrossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "Usage": "Output,Json", + "Description": "The response of a TopLevelTrackedResource list operation.", + "Decorators": [], + "Properties": [ + { + "$id": "87", + "Kind": "property", + "Name": "value", + "SerializedName": "value", + "Description": "The TopLevelTrackedResource items on this page", + "Type": { + "$id": "88", + "Kind": "array", + "Name": "ArrayTopLevelTrackedResource", + "ValueType": { + "$ref": "73" + }, + "CrossLanguageDefinitionId": "TypeSpec.Array", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value" + }, + { + "$id": "89", + "Kind": "property", + "Name": "nextLink", + "SerializedName": "nextLink", + "Description": "The link to the next page of items", + "Type": { + "$id": "90", + "Kind": "url", + "Name": "ResourceLocation", + "CrossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "BaseType": { + "$id": "91", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url", + "Decorators": [] + }, + "Decorators": [] + }, + "Optional": true, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink" + } + ] + } + ], + "Clients": [ + { + "$id": "92", + "Name": "ResourcesClient", + "Description": "Arm Resource Provider management API.", + "Operations": [], + "Protocol": { + "$id": "93" + }, + "Parameters": [ + { + "$id": "94", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Type": { + "$id": "95", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "96", + "Type": { + "$id": "97", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "https://management.azure.com" + } + } + ], + "Decorators": [] + }, + { + "$id": "98", + "Name": "TopLevelTrackedResources", + "Operations": [ + { + "$id": "99", + "Name": "get", + "ResourceName": "TopLevelTrackedResources", + "Description": "Get a TopLevelTrackedResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "100", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "101", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "102", + "Type": { + "$id": "103", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "104", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "105", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "106", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "107", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "108", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "109", + "Name": "topLevelTrackedResourceName", + "NameInRequest": "topLevelTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "110", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "111", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "112", + "Kind": "constant", + "ValueType": { + "$id": "113", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "114", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "73" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "GET", + "RequestBodyMediaType": "None", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}", + "BufferResponse": true, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResources.get", + "Decorators": [] + }, + { + "$id": "115", + "Name": "createOrReplace", + "ResourceName": "TopLevelTrackedResources", + "Description": "Create a TopLevelTrackedResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "116", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "117", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "118", + "Type": { + "$id": "119", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "120", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "121", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "122", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "123", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "124", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "125", + "Name": "topLevelTrackedResourceName", + "NameInRequest": "topLevelTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "126", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "127", + "Name": "contentType", + "NameInRequest": "Content-Type", + "Description": "Body parameter's content type. Known values are application/json", + "Type": { + "$id": "128", + "Kind": "constant", + "ValueType": { + "$id": "129", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": true, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "130", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "131", + "Kind": "constant", + "ValueType": { + "$id": "132", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "133", + "Name": "resource", + "NameInRequest": "resource", + "Description": "Resource create parameters.", + "Type": { + "$ref": "73" + }, + "Location": "Body", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "134", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "73" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + }, + { + "$id": "135", + "StatusCodes": [ + 201 + ], + "BodyType": { + "$ref": "73" + }, + "BodyMediaType": "Json", + "Headers": [ + { + "$id": "136", + "Name": "azureAsyncOperation", + "NameInResponse": "Azure-AsyncOperation", + "Description": "A link to the status monitor", + "Type": { + "$id": "137", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + } + }, + { + "$id": "138", + "Name": "retryAfter", + "NameInResponse": "Retry-After", + "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "Type": { + "$id": "139", + "Kind": "int32", + "Name": "int32", + "CrossLanguageDefinitionId": "TypeSpec.int32", + "Decorators": [] + } + } + ], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "PUT", + "RequestBodyMediaType": "Json", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}", + "RequestMediaTypes": [ + "application/json" + ], + "BufferResponse": true, + "LongRunning": { + "$id": "140", + "FinalStateVia": 0, + "FinalResponse": { + "$id": "141", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "73" + }, + "BodyMediaType": "Json" + } + }, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResources.createOrReplace", + "Decorators": [] + }, + { + "$id": "142", + "Name": "update", + "ResourceName": "TopLevelTrackedResources", + "Description": "Update a TopLevelTrackedResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "143", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "144", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "145", + "Type": { + "$id": "146", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "147", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "148", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "149", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "150", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "151", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "152", + "Name": "topLevelTrackedResourceName", + "NameInRequest": "topLevelTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "153", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "154", + "Name": "contentType", + "NameInRequest": "Content-Type", + "Description": "Body parameter's content type. Known values are application/json", + "Type": { + "$id": "155", + "Kind": "constant", + "ValueType": { + "$id": "156", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": true, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "157", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "158", + "Kind": "constant", + "ValueType": { + "$id": "159", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "160", + "Name": "properties", + "NameInRequest": "properties", + "Description": "The resource properties to be updated.", + "Type": { + "$ref": "73" + }, + "Location": "Body", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "161", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "73" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + }, + { + "$id": "162", + "StatusCodes": [ + 202 + ], + "BodyMediaType": "Json", + "Headers": [ + { + "$id": "163", + "Name": "location", + "NameInResponse": "Location", + "Description": "The Location header contains the URL where the status of the long running operation can be checked.", + "Type": { + "$id": "164", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + } + }, + { + "$id": "165", + "Name": "retryAfter", + "NameInResponse": "Retry-After", + "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "Type": { + "$id": "166", + "Kind": "int32", + "Name": "int32", + "CrossLanguageDefinitionId": "TypeSpec.int32", + "Decorators": [] + } + } + ], + "IsErrorResponse": false + } + ], + "HttpMethod": "PATCH", + "RequestBodyMediaType": "Json", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}", + "RequestMediaTypes": [ + "application/json" + ], + "BufferResponse": true, + "LongRunning": { + "$id": "167", + "FinalStateVia": 1, + "FinalResponse": { + "$id": "168", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "73" + }, + "BodyMediaType": "Json" + } + }, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": false, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResources.update", + "Decorators": [] + }, + { + "$id": "169", + "Name": "delete", + "ResourceName": "TopLevelTrackedResources", + "Description": "Delete a TopLevelTrackedResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "170", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "171", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "172", + "Type": { + "$id": "173", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "174", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "175", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "176", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "177", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "178", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "179", + "Name": "topLevelTrackedResourceName", + "NameInRequest": "topLevelTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "180", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "181", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "182", + "Kind": "constant", + "ValueType": { + "$id": "183", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "184", + "StatusCodes": [ + 202 + ], + "BodyMediaType": "Json", + "Headers": [ + { + "$id": "185", + "Name": "location", + "NameInResponse": "Location", + "Description": "The Location header contains the URL where the status of the long running operation can be checked.", + "Type": { + "$id": "186", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + } + }, + { + "$id": "187", + "Name": "retryAfter", + "NameInResponse": "Retry-After", + "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "Type": { + "$id": "188", + "Kind": "int32", + "Name": "int32", + "CrossLanguageDefinitionId": "TypeSpec.int32", + "Decorators": [] + } + } + ], + "IsErrorResponse": false + }, + { + "$id": "189", + "StatusCodes": [ + 204 + ], + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false + } + ], + "HttpMethod": "DELETE", + "RequestBodyMediaType": "None", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}", + "BufferResponse": true, + "LongRunning": { + "$id": "190", + "FinalStateVia": 1, + "FinalResponse": { + "$id": "191", + "StatusCodes": [ + 204 + ], + "BodyMediaType": "Json" + } + }, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResources.delete", + "Decorators": [] + }, + { + "$id": "192", + "Name": "listByResourceGroup", + "ResourceName": "TopLevelTrackedResource", + "Description": "List TopLevelTrackedResource resources by resource group", + "Accessibility": "public", + "Parameters": [ + { + "$id": "193", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "194", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "195", + "Type": { + "$id": "196", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "197", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "198", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "199", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "200", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "201", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "202", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "203", + "Kind": "constant", + "ValueType": { + "$id": "204", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "205", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "86" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "GET", + "RequestBodyMediaType": "None", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources", + "BufferResponse": true, + "Paging": { + "$id": "206", + "ItemName": "value", + "NextLinkName": "nextLink" + }, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResources.listByResourceGroup", + "Decorators": [] + }, + { + "$id": "207", + "Name": "listBySubscription", + "ResourceName": "TopLevelTrackedResource", + "Description": "List TopLevelTrackedResource resources by subscription ID", + "Accessibility": "public", + "Parameters": [ + { + "$id": "208", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "209", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "210", + "Type": { + "$id": "211", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "212", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "213", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "214", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "215", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "216", + "Kind": "constant", + "ValueType": { + "$id": "217", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "218", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "86" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "GET", + "RequestBodyMediaType": "None", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources", + "BufferResponse": true, + "Paging": { + "$id": "219", + "ItemName": "value", + "NextLinkName": "nextLink" + }, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.TopLevelTrackedResources.listBySubscription", + "Decorators": [] + } + ], + "Protocol": { + "$id": "220" + }, + "Parent": "ResourcesClient", + "Parameters": [ + { + "$id": "221", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Type": { + "$id": "222", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "223", + "Type": { + "$id": "224", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "https://management.azure.com" + } + } + ], + "Decorators": [] + }, + { + "$id": "225", + "Name": "NestedProxyResources", + "Operations": [ + { + "$id": "226", + "Name": "get", + "ResourceName": "NestedProxyResources", + "Description": "Get a NestedProxyResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "227", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "228", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "229", + "Type": { + "$id": "230", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "231", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "232", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "233", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "234", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "235", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "236", + "Name": "topLevelTrackedResourceName", + "NameInRequest": "topLevelTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "237", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "238", + "Name": "nextedProxyResourceName", + "NameInRequest": "nextedProxyResourceName", + "Description": "Name of the nested resource.", + "Type": { + "$id": "239", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "240", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "241", + "Kind": "constant", + "ValueType": { + "$id": "242", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "243", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "20" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "GET", + "RequestBodyMediaType": "None", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}/nestedProxyResources/{nextedProxyResourceName}", + "BufferResponse": true, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResources.get", + "Decorators": [] + }, + { + "$id": "244", + "Name": "createOrReplace", + "ResourceName": "NestedProxyResources", + "Description": "Create a NestedProxyResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "245", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "246", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "247", + "Type": { + "$id": "248", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "249", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "250", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "251", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "252", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "253", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "254", + "Name": "topLevelTrackedResourceName", + "NameInRequest": "topLevelTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "255", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "256", + "Name": "nextedProxyResourceName", + "NameInRequest": "nextedProxyResourceName", + "Description": "Name of the nested resource.", + "Type": { + "$id": "257", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "258", + "Name": "contentType", + "NameInRequest": "Content-Type", + "Description": "Body parameter's content type. Known values are application/json", + "Type": { + "$id": "259", + "Kind": "constant", + "ValueType": { + "$id": "260", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": true, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "261", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "262", + "Kind": "constant", + "ValueType": { + "$id": "263", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "264", + "Name": "resource", + "NameInRequest": "resource", + "Description": "Resource create parameters.", + "Type": { + "$ref": "20" + }, + "Location": "Body", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "265", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "20" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + }, + { + "$id": "266", + "StatusCodes": [ + 201 + ], + "BodyType": { + "$ref": "20" + }, + "BodyMediaType": "Json", + "Headers": [ + { + "$id": "267", + "Name": "azureAsyncOperation", + "NameInResponse": "Azure-AsyncOperation", + "Description": "A link to the status monitor", + "Type": { + "$id": "268", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + } + }, + { + "$id": "269", + "Name": "retryAfter", + "NameInResponse": "Retry-After", + "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "Type": { + "$id": "270", + "Kind": "int32", + "Name": "int32", + "CrossLanguageDefinitionId": "TypeSpec.int32", + "Decorators": [] + } + } + ], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "PUT", + "RequestBodyMediaType": "Json", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}/nestedProxyResources/{nextedProxyResourceName}", + "RequestMediaTypes": [ + "application/json" + ], + "BufferResponse": true, + "LongRunning": { + "$id": "271", + "FinalStateVia": 0, + "FinalResponse": { + "$id": "272", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "20" + }, + "BodyMediaType": "Json" + } + }, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResources.createOrReplace", + "Decorators": [] + }, + { + "$id": "273", + "Name": "update", + "ResourceName": "NestedProxyResources", + "Description": "Update a NestedProxyResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "274", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "275", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "276", + "Type": { + "$id": "277", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "278", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "279", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "280", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "281", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "282", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "283", + "Name": "topLevelTrackedResourceName", + "NameInRequest": "topLevelTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "284", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "285", + "Name": "nextedProxyResourceName", + "NameInRequest": "nextedProxyResourceName", + "Description": "Name of the nested resource.", + "Type": { + "$id": "286", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "287", + "Name": "contentType", + "NameInRequest": "Content-Type", + "Description": "Body parameter's content type. Known values are application/json", + "Type": { + "$id": "288", + "Kind": "constant", + "ValueType": { + "$id": "289", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": true, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "290", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "291", + "Kind": "constant", + "ValueType": { + "$id": "292", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "293", + "Name": "properties", + "NameInRequest": "properties", + "Description": "The resource properties to be updated.", + "Type": { + "$ref": "20" + }, + "Location": "Body", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "294", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "20" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + }, + { + "$id": "295", + "StatusCodes": [ + 202 + ], + "BodyMediaType": "Json", + "Headers": [ + { + "$id": "296", + "Name": "location", + "NameInResponse": "Location", + "Description": "The Location header contains the URL where the status of the long running operation can be checked.", + "Type": { + "$id": "297", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + } + }, + { + "$id": "298", + "Name": "retryAfter", + "NameInResponse": "Retry-After", + "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "Type": { + "$id": "299", + "Kind": "int32", + "Name": "int32", + "CrossLanguageDefinitionId": "TypeSpec.int32", + "Decorators": [] + } + } + ], + "IsErrorResponse": false + } + ], + "HttpMethod": "PATCH", + "RequestBodyMediaType": "Json", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}/nestedProxyResources/{nextedProxyResourceName}", + "RequestMediaTypes": [ + "application/json" + ], + "BufferResponse": true, + "LongRunning": { + "$id": "300", + "FinalStateVia": 1, + "FinalResponse": { + "$id": "301", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "20" + }, + "BodyMediaType": "Json" + } + }, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": false, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResources.update", + "Decorators": [] + }, + { + "$id": "302", + "Name": "delete", + "ResourceName": "NestedProxyResources", + "Description": "Delete a NestedProxyResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "303", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "304", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "305", + "Type": { + "$id": "306", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "307", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "308", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "309", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "310", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "311", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "312", + "Name": "topLevelTrackedResourceName", + "NameInRequest": "topLevelTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "313", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "314", + "Name": "nextedProxyResourceName", + "NameInRequest": "nextedProxyResourceName", + "Description": "Name of the nested resource.", + "Type": { + "$id": "315", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "316", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "317", + "Kind": "constant", + "ValueType": { + "$id": "318", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "319", + "StatusCodes": [ + 202 + ], + "BodyMediaType": "Json", + "Headers": [ + { + "$id": "320", + "Name": "location", + "NameInResponse": "Location", + "Description": "The Location header contains the URL where the status of the long running operation can be checked.", + "Type": { + "$id": "321", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + } + }, + { + "$id": "322", + "Name": "retryAfter", + "NameInResponse": "Retry-After", + "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "Type": { + "$id": "323", + "Kind": "int32", + "Name": "int32", + "CrossLanguageDefinitionId": "TypeSpec.int32", + "Decorators": [] + } + } + ], + "IsErrorResponse": false + }, + { + "$id": "324", + "StatusCodes": [ + 204 + ], + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false + } + ], + "HttpMethod": "DELETE", + "RequestBodyMediaType": "None", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}/nestedProxyResources/{nextedProxyResourceName}", + "BufferResponse": true, + "LongRunning": { + "$id": "325", + "FinalStateVia": 1, + "FinalResponse": { + "$id": "326", + "StatusCodes": [ + 204 + ], + "BodyMediaType": "Json" + } + }, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResources.delete", + "Decorators": [] + }, + { + "$id": "327", + "Name": "listByTopLevelTrackedResource", + "ResourceName": "NestedProxyResource", + "Description": "List NestedProxyResource resources by TopLevelTrackedResource", + "Accessibility": "public", + "Parameters": [ + { + "$id": "328", + "Name": "apiVersion", + "NameInRequest": "api-version", + "Description": "The API version to use for this operation.", + "Type": { + "$id": "329", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Query", + "IsApiVersion": true, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Client", + "DefaultValue": { + "$id": "330", + "Type": { + "$id": "331", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "2023-12-01-preview" + }, + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "332", + "Name": "subscriptionId", + "NameInRequest": "subscriptionId", + "Description": "The ID of the target subscription. The value must be an UUID.", + "Type": { + "$id": "333", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "334", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "335", + "Name": "resourceGroupName", + "NameInRequest": "resourceGroupName", + "Description": "The name of the resource group. The name is case insensitive.", + "Type": { + "$id": "336", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "337", + "Name": "topLevelTrackedResourceName", + "NameInRequest": "topLevelTrackedResourceName", + "Description": "arm resource name for path", + "Type": { + "$id": "338", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Location": "Path", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "339", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "340", + "Kind": "constant", + "ValueType": { + "$id": "341", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "342", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "67" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "GET", + "RequestBodyMediaType": "None", + "Uri": "{endpoint}", + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Models.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}/nestedProxyResources", + "BufferResponse": true, + "Paging": { + "$id": "343", + "ItemName": "value", + "NextLinkName": "nextLink" + }, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Azure.ResourceManager.Models.Resources.NestedProxyResources.listByTopLevelTrackedResource", + "Decorators": [] + } + ], + "Protocol": { + "$id": "344" + }, + "Parent": "ResourcesClient", + "Parameters": [ + { + "$id": "345", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Type": { + "$id": "346", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "347", + "Type": { + "$id": "348", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "https://management.azure.com" + } + } + ], + "Decorators": [] + } + ], + "Auth": { + "$id": "349", + "OAuth2": { + "$id": "350", + "Scopes": [ + "user_impersonation" + ] + } + } +} diff --git a/test/CadlRanchProjects/azure/resource-manager/resources/tspCodeModel.json b/test/CadlRanchProjects/azure/resource-manager/resources/tspCodeModel.json index 6542732f815..2416ac51d53 100644 --- a/test/CadlRanchProjects/azure/resource-manager/resources/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/resource-manager/resources/tspCodeModel.json @@ -1313,42 +1313,11 @@ "Parameters": [ { "$id": "129", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "130", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "131", - "Type": { - "$id": "132", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "https://management.azure.com" - } - }, - { - "$id": "133", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "134", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1362,9 +1331,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "135", + "$id": "131", "Type": { - "$id": "136", + "$id": "132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1375,17 +1344,17 @@ "SkipUrlEncoding": false }, { - "$id": "137", + "$id": "133", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "138", + "$id": "134", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "139", + "$id": "135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1404,12 +1373,12 @@ "SkipUrlEncoding": false }, { - "$id": "140", + "$id": "136", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "141", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1426,12 +1395,12 @@ "SkipUrlEncoding": false }, { - "$id": "142", + "$id": "138", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "143", + "$id": "139", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1448,14 +1417,14 @@ "SkipUrlEncoding": false }, { - "$id": "144", + "$id": "140", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "145", + "$id": "141", "kind": "constant", "valueType": { - "$id": "146", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1477,7 +1446,7 @@ ], "Responses": [ { - "$id": "147", + "$id": "143", "StatusCodes": [ 200 ], @@ -1503,22 +1472,19 @@ "Decorators": [] }, { - "$id": "148", + "$id": "144", "Name": "createOrReplace", "ResourceName": "TopLevelTrackedResource", "Description": "Create a TopLevelTrackedResource", "Accessibility": "public", "Parameters": [ { - "$ref": "129" - }, - { - "$id": "149", + "$id": "145", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "150", + "$id": "146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1532,9 +1498,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "151", + "$id": "147", "Type": { - "$id": "152", + "$id": "148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1545,17 +1511,17 @@ "SkipUrlEncoding": false }, { - "$id": "153", + "$id": "149", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "154", + "$id": "150", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "155", + "$id": "151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1574,12 +1540,12 @@ "SkipUrlEncoding": false }, { - "$id": "156", + "$id": "152", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "157", + "$id": "153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1596,12 +1562,12 @@ "SkipUrlEncoding": false }, { - "$id": "158", + "$id": "154", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "159", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1618,15 +1584,15 @@ "SkipUrlEncoding": false }, { - "$id": "160", + "$id": "156", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "161", + "$id": "157", "kind": "constant", "valueType": { - "$id": "162", + "$id": "158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1646,14 +1612,14 @@ "SkipUrlEncoding": false }, { - "$id": "163", + "$id": "159", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "164", + "$id": "160", "kind": "constant", "valueType": { - "$id": "165", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1673,7 +1639,7 @@ "SkipUrlEncoding": false }, { - "$id": "166", + "$id": "162", "Name": "resource", "NameInRequest": "resource", "Description": "Resource create parameters.", @@ -1693,7 +1659,7 @@ ], "Responses": [ { - "$id": "167", + "$id": "163", "StatusCodes": [ 200 ], @@ -1708,7 +1674,7 @@ ] }, { - "$id": "168", + "$id": "164", "StatusCodes": [ 201 ], @@ -1718,12 +1684,12 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "169", + "$id": "165", "Name": "azureAsyncOperation", "NameInResponse": "Azure-AsyncOperation", "Description": "A link to the status monitor", "Type": { - "$id": "170", + "$id": "166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1731,12 +1697,12 @@ } }, { - "$id": "171", + "$id": "167", "Name": "retryAfter", "NameInResponse": "Retry-After", "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "Type": { - "$id": "172", + "$id": "168", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1759,10 +1725,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "173", + "$id": "169", "FinalStateVia": 0, "FinalResponse": { - "$id": "174", + "$id": "170", "StatusCodes": [ 200 ], @@ -1778,22 +1744,19 @@ "Decorators": [] }, { - "$id": "175", + "$id": "171", "Name": "update", "ResourceName": "TopLevelTrackedResource", "Description": "Update a TopLevelTrackedResource", "Accessibility": "public", "Parameters": [ { - "$ref": "129" - }, - { - "$id": "176", + "$id": "172", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "177", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1807,9 +1770,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "178", + "$id": "174", "Type": { - "$id": "179", + "$id": "175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1820,17 +1783,17 @@ "SkipUrlEncoding": false }, { - "$id": "180", + "$id": "176", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "181", + "$id": "177", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "182", + "$id": "178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1849,12 +1812,12 @@ "SkipUrlEncoding": false }, { - "$id": "183", + "$id": "179", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "184", + "$id": "180", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1871,12 +1834,12 @@ "SkipUrlEncoding": false }, { - "$id": "185", + "$id": "181", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "186", + "$id": "182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1893,15 +1856,15 @@ "SkipUrlEncoding": false }, { - "$id": "187", + "$id": "183", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "188", + "$id": "184", "kind": "constant", "valueType": { - "$id": "189", + "$id": "185", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1921,14 +1884,14 @@ "SkipUrlEncoding": false }, { - "$id": "190", + "$id": "186", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "191", + "$id": "187", "kind": "constant", "valueType": { - "$id": "192", + "$id": "188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1948,7 +1911,7 @@ "SkipUrlEncoding": false }, { - "$id": "193", + "$id": "189", "Name": "properties", "NameInRequest": "properties", "Description": "The resource properties to be updated.", @@ -1968,7 +1931,7 @@ ], "Responses": [ { - "$id": "194", + "$id": "190", "StatusCodes": [ 200 ], @@ -1983,19 +1946,19 @@ ] }, { - "$id": "195", + "$id": "191", "StatusCodes": [ 202 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "196", + "$id": "192", "Name": "location", "NameInResponse": "Location", "Description": "The Location header contains the URL where the status of the long running operation can be checked.", "Type": { - "$id": "197", + "$id": "193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2003,12 +1966,12 @@ } }, { - "$id": "198", + "$id": "194", "Name": "retryAfter", "NameInResponse": "Retry-After", "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "Type": { - "$id": "199", + "$id": "195", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2028,10 +1991,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "200", + "$id": "196", "FinalStateVia": 1, "FinalResponse": { - "$id": "201", + "$id": "197", "StatusCodes": [ 200 ], @@ -2047,22 +2010,19 @@ "Decorators": [] }, { - "$id": "202", + "$id": "198", "Name": "delete", "ResourceName": "TopLevelTrackedResource", "Description": "Delete a TopLevelTrackedResource", "Accessibility": "public", "Parameters": [ { - "$ref": "129" - }, - { - "$id": "203", + "$id": "199", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "204", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2076,9 +2036,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "205", + "$id": "201", "Type": { - "$id": "206", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2089,17 +2049,17 @@ "SkipUrlEncoding": false }, { - "$id": "207", + "$id": "203", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "208", + "$id": "204", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "209", + "$id": "205", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2118,12 +2078,12 @@ "SkipUrlEncoding": false }, { - "$id": "210", + "$id": "206", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "211", + "$id": "207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2140,12 +2100,12 @@ "SkipUrlEncoding": false }, { - "$id": "212", + "$id": "208", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "213", + "$id": "209", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2162,14 +2122,14 @@ "SkipUrlEncoding": false }, { - "$id": "214", + "$id": "210", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "215", + "$id": "211", "kind": "constant", "valueType": { - "$id": "216", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2191,19 +2151,19 @@ ], "Responses": [ { - "$id": "217", + "$id": "213", "StatusCodes": [ 202 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "218", + "$id": "214", "Name": "location", "NameInResponse": "Location", "Description": "The Location header contains the URL where the status of the long running operation can be checked.", "Type": { - "$id": "219", + "$id": "215", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2211,12 +2171,12 @@ } }, { - "$id": "220", + "$id": "216", "Name": "retryAfter", "NameInResponse": "Retry-After", "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "Type": { - "$id": "221", + "$id": "217", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2227,7 +2187,7 @@ "IsErrorResponse": false }, { - "$id": "222", + "$id": "218", "StatusCodes": [ 204 ], @@ -2242,10 +2202,10 @@ "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}", "BufferResponse": true, "LongRunning": { - "$id": "223", + "$id": "219", "FinalStateVia": 1, "FinalResponse": { - "$id": "224", + "$id": "220", "StatusCodes": [ 204 ], @@ -2258,22 +2218,19 @@ "Decorators": [] }, { - "$id": "225", + "$id": "221", "Name": "listByResourceGroup", "ResourceName": "TopLevelTrackedResource", "Description": "List TopLevelTrackedResource resources by resource group", "Accessibility": "public", "Parameters": [ { - "$ref": "129" - }, - { - "$id": "226", + "$id": "222", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "227", + "$id": "223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2287,9 +2244,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "228", + "$id": "224", "Type": { - "$id": "229", + "$id": "225", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2300,17 +2257,17 @@ "SkipUrlEncoding": false }, { - "$id": "230", + "$id": "226", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "231", + "$id": "227", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "232", + "$id": "228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2329,12 +2286,12 @@ "SkipUrlEncoding": false }, { - "$id": "233", + "$id": "229", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "234", + "$id": "230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2351,14 +2308,14 @@ "SkipUrlEncoding": false }, { - "$id": "235", + "$id": "231", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "236", + "$id": "232", "kind": "constant", "valueType": { - "$id": "237", + "$id": "233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2380,7 +2337,7 @@ ], "Responses": [ { - "$id": "238", + "$id": "234", "StatusCodes": [ 200 ], @@ -2401,7 +2358,7 @@ "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Resources/topLevelTrackedResources", "BufferResponse": true, "Paging": { - "$id": "239", + "$id": "235", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -2411,22 +2368,19 @@ "Decorators": [] }, { - "$id": "240", + "$id": "236", "Name": "listBySubscription", "ResourceName": "TopLevelTrackedResource", "Description": "List TopLevelTrackedResource resources by subscription ID", "Accessibility": "public", "Parameters": [ { - "$ref": "129" - }, - { - "$id": "241", + "$id": "237", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "242", + "$id": "238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2440,9 +2394,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "243", + "$id": "239", "Type": { - "$id": "244", + "$id": "240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2453,17 +2407,17 @@ "SkipUrlEncoding": false }, { - "$id": "245", + "$id": "241", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "246", + "$id": "242", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "247", + "$id": "243", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2482,14 +2436,14 @@ "SkipUrlEncoding": false }, { - "$id": "248", + "$id": "244", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "249", + "$id": "245", "kind": "constant", "valueType": { - "$id": "250", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2511,7 +2465,7 @@ ], "Responses": [ { - "$id": "251", + "$id": "247", "StatusCodes": [ 200 ], @@ -2532,7 +2486,7 @@ "Path": "/subscriptions/{subscriptionId}/providers/Azure.ResourceManager.Resources/topLevelTrackedResources", "BufferResponse": true, "Paging": { - "$id": "252", + "$id": "248", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -2542,22 +2496,19 @@ "Decorators": [] }, { - "$id": "253", + "$id": "249", "Name": "actionSync", "ResourceName": "TopLevel", "Description": "A synchronous resource action that returns no content.", "Accessibility": "public", "Parameters": [ { - "$ref": "129" - }, - { - "$id": "254", + "$id": "250", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "255", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2571,9 +2522,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "256", + "$id": "252", "Type": { - "$id": "257", + "$id": "253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2584,17 +2535,17 @@ "SkipUrlEncoding": false }, { - "$id": "258", + "$id": "254", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "259", + "$id": "255", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "260", + "$id": "256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2613,12 +2564,12 @@ "SkipUrlEncoding": false }, { - "$id": "261", + "$id": "257", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "262", + "$id": "258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2635,12 +2586,12 @@ "SkipUrlEncoding": false }, { - "$id": "263", + "$id": "259", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "264", + "$id": "260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2657,15 +2608,15 @@ "SkipUrlEncoding": false }, { - "$id": "265", + "$id": "261", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "266", + "$id": "262", "kind": "constant", "valueType": { - "$id": "267", + "$id": "263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2685,14 +2636,14 @@ "SkipUrlEncoding": false }, { - "$id": "268", + "$id": "264", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "269", + "$id": "265", "kind": "constant", "valueType": { - "$id": "270", + "$id": "266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2712,7 +2663,7 @@ "SkipUrlEncoding": false }, { - "$id": "271", + "$id": "267", "Name": "body", "NameInRequest": "body", "Description": "The content of the action request", @@ -2732,7 +2683,7 @@ ], "Responses": [ { - "$id": "272", + "$id": "268", "StatusCodes": [ 204 ], @@ -2756,12 +2707,40 @@ } ], "Protocol": { - "$id": "273" + "$id": "269" }, "Parent": "ResourcesClient", "Parameters": [ { - "$ref": "129" + "$id": "270", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "271", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "272", + "Type": { + "$id": "273", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "https://management.azure.com" + } } ], "Decorators": [] @@ -2779,42 +2758,11 @@ "Parameters": [ { "$id": "276", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "277", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "278", - "Type": { - "$id": "279", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "https://management.azure.com" - } - }, - { - "$id": "280", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "281", + "$id": "277", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2828,9 +2776,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "282", + "$id": "278", "Type": { - "$id": "283", + "$id": "279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2841,17 +2789,17 @@ "SkipUrlEncoding": false }, { - "$id": "284", + "$id": "280", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "285", + "$id": "281", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "286", + "$id": "282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2870,12 +2818,12 @@ "SkipUrlEncoding": false }, { - "$id": "287", + "$id": "283", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "288", + "$id": "284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2892,12 +2840,12 @@ "SkipUrlEncoding": false }, { - "$id": "289", + "$id": "285", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "290", + "$id": "286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2914,12 +2862,12 @@ "SkipUrlEncoding": false }, { - "$id": "291", + "$id": "287", "Name": "nextedProxyResourceName", "NameInRequest": "nextedProxyResourceName", "Description": "Name of the nested resource.", "Type": { - "$id": "292", + "$id": "288", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2936,14 +2884,14 @@ "SkipUrlEncoding": false }, { - "$id": "293", + "$id": "289", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "294", + "$id": "290", "kind": "constant", "valueType": { - "$id": "295", + "$id": "291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2965,7 +2913,7 @@ ], "Responses": [ { - "$id": "296", + "$id": "292", "StatusCodes": [ 200 ], @@ -2991,22 +2939,19 @@ "Decorators": [] }, { - "$id": "297", + "$id": "293", "Name": "createOrReplace", "ResourceName": "NestedProxyResource", "Description": "Create a NestedProxyResource", "Accessibility": "public", "Parameters": [ { - "$ref": "276" - }, - { - "$id": "298", + "$id": "294", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "299", + "$id": "295", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3020,9 +2965,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "300", + "$id": "296", "Type": { - "$id": "301", + "$id": "297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3033,17 +2978,17 @@ "SkipUrlEncoding": false }, { - "$id": "302", + "$id": "298", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "303", + "$id": "299", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "304", + "$id": "300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3062,12 +3007,12 @@ "SkipUrlEncoding": false }, { - "$id": "305", + "$id": "301", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "306", + "$id": "302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3084,12 +3029,12 @@ "SkipUrlEncoding": false }, { - "$id": "307", + "$id": "303", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "308", + "$id": "304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3106,12 +3051,12 @@ "SkipUrlEncoding": false }, { - "$id": "309", + "$id": "305", "Name": "nextedProxyResourceName", "NameInRequest": "nextedProxyResourceName", "Description": "Name of the nested resource.", "Type": { - "$id": "310", + "$id": "306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3128,15 +3073,15 @@ "SkipUrlEncoding": false }, { - "$id": "311", + "$id": "307", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "312", + "$id": "308", "kind": "constant", "valueType": { - "$id": "313", + "$id": "309", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3156,14 +3101,14 @@ "SkipUrlEncoding": false }, { - "$id": "314", + "$id": "310", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "315", + "$id": "311", "kind": "constant", "valueType": { - "$id": "316", + "$id": "312", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3183,7 +3128,7 @@ "SkipUrlEncoding": false }, { - "$id": "317", + "$id": "313", "Name": "resource", "NameInRequest": "resource", "Description": "Resource create parameters.", @@ -3203,7 +3148,7 @@ ], "Responses": [ { - "$id": "318", + "$id": "314", "StatusCodes": [ 200 ], @@ -3218,7 +3163,7 @@ ] }, { - "$id": "319", + "$id": "315", "StatusCodes": [ 201 ], @@ -3228,12 +3173,12 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "320", + "$id": "316", "Name": "azureAsyncOperation", "NameInResponse": "Azure-AsyncOperation", "Description": "A link to the status monitor", "Type": { - "$id": "321", + "$id": "317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3241,12 +3186,12 @@ } }, { - "$id": "322", + "$id": "318", "Name": "retryAfter", "NameInResponse": "Retry-After", "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "Type": { - "$id": "323", + "$id": "319", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3269,10 +3214,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "324", + "$id": "320", "FinalStateVia": 0, "FinalResponse": { - "$id": "325", + "$id": "321", "StatusCodes": [ 200 ], @@ -3288,22 +3233,19 @@ "Decorators": [] }, { - "$id": "326", + "$id": "322", "Name": "update", "ResourceName": "NestedProxyResource", "Description": "Update a NestedProxyResource", "Accessibility": "public", "Parameters": [ { - "$ref": "276" - }, - { - "$id": "327", + "$id": "323", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "328", + "$id": "324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3317,9 +3259,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "329", + "$id": "325", "Type": { - "$id": "330", + "$id": "326", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3330,17 +3272,17 @@ "SkipUrlEncoding": false }, { - "$id": "331", + "$id": "327", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "332", + "$id": "328", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "333", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3359,12 +3301,12 @@ "SkipUrlEncoding": false }, { - "$id": "334", + "$id": "330", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "335", + "$id": "331", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3381,12 +3323,12 @@ "SkipUrlEncoding": false }, { - "$id": "336", + "$id": "332", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "337", + "$id": "333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3403,12 +3345,12 @@ "SkipUrlEncoding": false }, { - "$id": "338", + "$id": "334", "Name": "nextedProxyResourceName", "NameInRequest": "nextedProxyResourceName", "Description": "Name of the nested resource.", "Type": { - "$id": "339", + "$id": "335", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3425,15 +3367,15 @@ "SkipUrlEncoding": false }, { - "$id": "340", + "$id": "336", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "341", + "$id": "337", "kind": "constant", "valueType": { - "$id": "342", + "$id": "338", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3453,14 +3395,14 @@ "SkipUrlEncoding": false }, { - "$id": "343", + "$id": "339", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "344", + "$id": "340", "kind": "constant", "valueType": { - "$id": "345", + "$id": "341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3480,7 +3422,7 @@ "SkipUrlEncoding": false }, { - "$id": "346", + "$id": "342", "Name": "properties", "NameInRequest": "properties", "Description": "The resource properties to be updated.", @@ -3500,7 +3442,7 @@ ], "Responses": [ { - "$id": "347", + "$id": "343", "StatusCodes": [ 200 ], @@ -3515,19 +3457,19 @@ ] }, { - "$id": "348", + "$id": "344", "StatusCodes": [ 202 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "349", + "$id": "345", "Name": "location", "NameInResponse": "Location", "Description": "The Location header contains the URL where the status of the long running operation can be checked.", "Type": { - "$id": "350", + "$id": "346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3535,12 +3477,12 @@ } }, { - "$id": "351", + "$id": "347", "Name": "retryAfter", "NameInResponse": "Retry-After", "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "Type": { - "$id": "352", + "$id": "348", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3560,10 +3502,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "353", + "$id": "349", "FinalStateVia": 1, "FinalResponse": { - "$id": "354", + "$id": "350", "StatusCodes": [ 200 ], @@ -3579,22 +3521,19 @@ "Decorators": [] }, { - "$id": "355", + "$id": "351", "Name": "delete", "ResourceName": "NestedProxyResource", "Description": "Delete a NestedProxyResource", "Accessibility": "public", "Parameters": [ { - "$ref": "276" - }, - { - "$id": "356", + "$id": "352", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "357", + "$id": "353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3608,9 +3547,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "358", + "$id": "354", "Type": { - "$id": "359", + "$id": "355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3621,17 +3560,17 @@ "SkipUrlEncoding": false }, { - "$id": "360", + "$id": "356", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "361", + "$id": "357", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "362", + "$id": "358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3650,12 +3589,12 @@ "SkipUrlEncoding": false }, { - "$id": "363", + "$id": "359", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "364", + "$id": "360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3672,12 +3611,12 @@ "SkipUrlEncoding": false }, { - "$id": "365", + "$id": "361", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "366", + "$id": "362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3694,12 +3633,12 @@ "SkipUrlEncoding": false }, { - "$id": "367", + "$id": "363", "Name": "nextedProxyResourceName", "NameInRequest": "nextedProxyResourceName", "Description": "Name of the nested resource.", "Type": { - "$id": "368", + "$id": "364", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3716,14 +3655,14 @@ "SkipUrlEncoding": false }, { - "$id": "369", + "$id": "365", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "370", + "$id": "366", "kind": "constant", "valueType": { - "$id": "371", + "$id": "367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3745,19 +3684,19 @@ ], "Responses": [ { - "$id": "372", + "$id": "368", "StatusCodes": [ 202 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "373", + "$id": "369", "Name": "location", "NameInResponse": "Location", "Description": "The Location header contains the URL where the status of the long running operation can be checked.", "Type": { - "$id": "374", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3765,12 +3704,12 @@ } }, { - "$id": "375", + "$id": "371", "Name": "retryAfter", "NameInResponse": "Retry-After", "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "Type": { - "$id": "376", + "$id": "372", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3781,7 +3720,7 @@ "IsErrorResponse": false }, { - "$id": "377", + "$id": "373", "StatusCodes": [ 204 ], @@ -3796,10 +3735,10 @@ "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}/nestedProxyResources/{nextedProxyResourceName}", "BufferResponse": true, "LongRunning": { - "$id": "378", + "$id": "374", "FinalStateVia": 1, "FinalResponse": { - "$id": "379", + "$id": "375", "StatusCodes": [ 204 ], @@ -3812,22 +3751,19 @@ "Decorators": [] }, { - "$id": "380", + "$id": "376", "Name": "listByTopLevelTrackedResource", "ResourceName": "NestedProxyResource", "Description": "List NestedProxyResource resources by TopLevelTrackedResource", "Accessibility": "public", "Parameters": [ { - "$ref": "276" - }, - { - "$id": "381", + "$id": "377", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "382", + "$id": "378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3841,9 +3777,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "383", + "$id": "379", "Type": { - "$id": "384", + "$id": "380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3854,17 +3790,17 @@ "SkipUrlEncoding": false }, { - "$id": "385", + "$id": "381", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "386", + "$id": "382", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "387", + "$id": "383", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3883,12 +3819,12 @@ "SkipUrlEncoding": false }, { - "$id": "388", + "$id": "384", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "389", + "$id": "385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3905,12 +3841,12 @@ "SkipUrlEncoding": false }, { - "$id": "390", + "$id": "386", "Name": "topLevelTrackedResourceName", "NameInRequest": "topLevelTrackedResourceName", "Description": "arm resource name for path", "Type": { - "$id": "391", + "$id": "387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3927,14 +3863,14 @@ "SkipUrlEncoding": false }, { - "$id": "392", + "$id": "388", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "393", + "$id": "389", "kind": "constant", "valueType": { - "$id": "394", + "$id": "390", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3956,7 +3892,7 @@ ], "Responses": [ { - "$id": "395", + "$id": "391", "StatusCodes": [ 200 ], @@ -3977,7 +3913,7 @@ "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Resources/topLevelTrackedResources/{topLevelTrackedResourceName}/nestedProxyResources", "BufferResponse": true, "Paging": { - "$id": "396", + "$id": "392", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -3988,12 +3924,40 @@ } ], "Protocol": { - "$id": "397" + "$id": "393" }, "Parent": "ResourcesClient", "Parameters": [ { - "$ref": "276" + "$id": "394", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "395", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "396", + "Type": { + "$id": "397", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "https://management.azure.com" + } } ], "Decorators": [] @@ -4011,42 +3975,11 @@ "Parameters": [ { "$id": "400", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "401", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "402", - "Type": { - "$id": "403", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "https://management.azure.com" - } - }, - { - "$id": "404", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "405", + "$id": "401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4060,9 +3993,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "406", + "$id": "402", "Type": { - "$id": "407", + "$id": "403", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4073,17 +4006,17 @@ "SkipUrlEncoding": false }, { - "$id": "408", + "$id": "404", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "409", + "$id": "405", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "410", + "$id": "406", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4102,12 +4035,12 @@ "SkipUrlEncoding": false }, { - "$id": "411", + "$id": "407", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "412", + "$id": "408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4124,14 +4057,14 @@ "SkipUrlEncoding": false }, { - "$id": "413", + "$id": "409", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "414", + "$id": "410", "kind": "constant", "valueType": { - "$id": "415", + "$id": "411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4153,7 +4086,7 @@ ], "Responses": [ { - "$id": "416", + "$id": "412", "StatusCodes": [ 200 ], @@ -4179,22 +4112,19 @@ "Decorators": [] }, { - "$id": "417", + "$id": "413", "Name": "createOrUpdate", "ResourceName": "SingletonTrackedResource", "Description": "Create a SingletonTrackedResource", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "418", + "$id": "414", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "419", + "$id": "415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4208,9 +4138,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "420", + "$id": "416", "Type": { - "$id": "421", + "$id": "417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4221,17 +4151,17 @@ "SkipUrlEncoding": false }, { - "$id": "422", + "$id": "418", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "423", + "$id": "419", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "424", + "$id": "420", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4250,12 +4180,12 @@ "SkipUrlEncoding": false }, { - "$id": "425", + "$id": "421", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "426", + "$id": "422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4272,15 +4202,15 @@ "SkipUrlEncoding": false }, { - "$id": "427", + "$id": "423", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "428", + "$id": "424", "kind": "constant", "valueType": { - "$id": "429", + "$id": "425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4300,14 +4230,14 @@ "SkipUrlEncoding": false }, { - "$id": "430", + "$id": "426", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "431", + "$id": "427", "kind": "constant", "valueType": { - "$id": "432", + "$id": "428", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4327,7 +4257,7 @@ "SkipUrlEncoding": false }, { - "$id": "433", + "$id": "429", "Name": "resource", "NameInRequest": "resource", "Description": "Resource create parameters.", @@ -4347,7 +4277,7 @@ ], "Responses": [ { - "$id": "434", + "$id": "430", "StatusCodes": [ 200 ], @@ -4362,7 +4292,7 @@ ] }, { - "$id": "435", + "$id": "431", "StatusCodes": [ 201 ], @@ -4372,12 +4302,12 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "436", + "$id": "432", "Name": "azureAsyncOperation", "NameInResponse": "Azure-AsyncOperation", "Description": "A link to the status monitor", "Type": { - "$id": "437", + "$id": "433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4385,12 +4315,12 @@ } }, { - "$id": "438", + "$id": "434", "Name": "retryAfter", "NameInResponse": "Retry-After", "Description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "Type": { - "$id": "439", + "$id": "435", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4413,10 +4343,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "440", + "$id": "436", "FinalStateVia": 0, "FinalResponse": { - "$id": "441", + "$id": "437", "StatusCodes": [ 200 ], @@ -4432,22 +4362,19 @@ "Decorators": [] }, { - "$id": "442", + "$id": "438", "Name": "update", "ResourceName": "SingletonTrackedResource", "Description": "Update a SingletonTrackedResource", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "443", + "$id": "439", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "444", + "$id": "440", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4461,9 +4388,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "445", + "$id": "441", "Type": { - "$id": "446", + "$id": "442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4474,17 +4401,17 @@ "SkipUrlEncoding": false }, { - "$id": "447", + "$id": "443", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "448", + "$id": "444", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "449", + "$id": "445", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4503,12 +4430,12 @@ "SkipUrlEncoding": false }, { - "$id": "450", + "$id": "446", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "451", + "$id": "447", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4525,15 +4452,15 @@ "SkipUrlEncoding": false }, { - "$id": "452", + "$id": "448", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "453", + "$id": "449", "kind": "constant", "valueType": { - "$id": "454", + "$id": "450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4553,14 +4480,14 @@ "SkipUrlEncoding": false }, { - "$id": "455", + "$id": "451", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "456", + "$id": "452", "kind": "constant", "valueType": { - "$id": "457", + "$id": "453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4580,7 +4507,7 @@ "SkipUrlEncoding": false }, { - "$id": "458", + "$id": "454", "Name": "properties", "NameInRequest": "properties", "Description": "The resource properties to be updated.", @@ -4600,7 +4527,7 @@ ], "Responses": [ { - "$id": "459", + "$id": "455", "StatusCodes": [ 200 ], @@ -4629,22 +4556,19 @@ "Decorators": [] }, { - "$id": "460", + "$id": "456", "Name": "listByResourceGroup", "ResourceName": "SingletonTrackedResource", "Description": "List SingletonTrackedResource resources by resource group", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "461", + "$id": "457", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "462", + "$id": "458", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4658,9 +4582,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "463", + "$id": "459", "Type": { - "$id": "464", + "$id": "460", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4671,17 +4595,17 @@ "SkipUrlEncoding": false }, { - "$id": "465", + "$id": "461", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Description": "The ID of the target subscription. The value must be an UUID.", "Type": { - "$id": "466", + "$id": "462", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "467", + "$id": "463", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4700,12 +4624,12 @@ "SkipUrlEncoding": false }, { - "$id": "468", + "$id": "464", "Name": "resourceGroupName", "NameInRequest": "resourceGroupName", "Description": "The name of the resource group. The name is case insensitive.", "Type": { - "$id": "469", + "$id": "465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4722,14 +4646,14 @@ "SkipUrlEncoding": false }, { - "$id": "470", + "$id": "466", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "471", + "$id": "467", "kind": "constant", "valueType": { - "$id": "472", + "$id": "468", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4751,7 +4675,7 @@ ], "Responses": [ { - "$id": "473", + "$id": "469", "StatusCodes": [ 200 ], @@ -4772,7 +4696,7 @@ "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Azure.ResourceManager.Resources/singletonTrackedResources", "BufferResponse": true, "Paging": { - "$id": "474", + "$id": "470", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -4783,12 +4707,40 @@ } ], "Protocol": { - "$id": "475" + "$id": "471" }, "Parent": "ResourcesClient", "Parameters": [ { - "$ref": "400" + "$id": "472", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "473", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "474", + "Type": { + "$id": "475", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "https://management.azure.com" + } } ], "Decorators": [] 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 ddc7159288d..7b02f69407b 100644 --- a/test/CadlRanchProjects/azure/special-headers/client-request-id/tspCodeModel.json +++ b/test/CadlRanchProjects/azure/special-headers/client-request-id/tspCodeModel.json @@ -19,41 +19,10 @@ "Parameters": [ { "$id": "4", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "5", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "6", - "Type": { - "$id": "7", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "8", "Name": "clientRequestId", "NameInRequest": "x-ms-client-request-id", "Type": { - "$id": "9", + "$id": "5", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72,7 +41,7 @@ ], "Responses": [ { - "$id": "10", + "$id": "6", "StatusCodes": [ 204 ], @@ -93,11 +62,39 @@ } ], "Protocol": { - "$id": "11" + "$id": "7" }, "Parameters": [ { - "$ref": "4" + "$id": "8", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "9", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "10", + "Type": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/client/naming/tspCodeModel.json b/test/CadlRanchProjects/client/naming/tspCodeModel.json index 4afbde3323e..9dd12ec66cf 100644 --- a/test/CadlRanchProjects/client/naming/tspCodeModel.json +++ b/test/CadlRanchProjects/client/naming/tspCodeModel.json @@ -256,42 +256,10 @@ "Name": "clientName", "ResourceName": "Naming", "Accessibility": "public", - "Parameters": [ - { - "$id": "29", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "30", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "31", - "Type": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "33", + "$id": "29", "StatusCodes": [ 204 ], @@ -311,20 +279,17 @@ "Decorators": [] }, { - "$id": "34", + "$id": "30", "Name": "parameter", "ResourceName": "Naming", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "35", + "$id": "31", "Name": "clientName", "NameInRequest": "defaultName", "Type": { - "$id": "36", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -343,7 +308,7 @@ ], "Responses": [ { - "$id": "37", + "$id": "33", "StatusCodes": [ 204 ], @@ -363,24 +328,21 @@ "Decorators": [] }, { - "$id": "38", + "$id": "34", "Name": "client", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "39", + "$id": "35", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "40", + "$id": "36", "kind": "constant", "valueType": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -400,7 +362,7 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "38", "Name": "body", "NameInRequest": "body", "Type": { @@ -419,7 +381,7 @@ ], "Responses": [ { - "$id": "43", + "$id": "39", "StatusCodes": [ 204 ], @@ -442,24 +404,21 @@ "Decorators": [] }, { - "$id": "44", + "$id": "40", "Name": "language", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "45", + "$id": "41", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "46", + "$id": "42", "kind": "constant", "valueType": { - "$id": "47", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -479,7 +438,7 @@ "SkipUrlEncoding": false }, { - "$id": "48", + "$id": "44", "Name": "body", "NameInRequest": "body", "Type": { @@ -498,7 +457,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "45", "StatusCodes": [ 204 ], @@ -521,24 +480,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "compatibleWithEncodedName", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "51", + "$id": "47", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "48", "kind": "constant", "valueType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -558,7 +514,7 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "50", "Name": "body", "NameInRequest": "body", "Type": { @@ -577,7 +533,7 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 204 ], @@ -600,20 +556,17 @@ "Decorators": [] }, { - "$id": "56", + "$id": "52", "Name": "request", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "57", + "$id": "53", "Name": "clientName", "NameInRequest": "default-name", "Type": { - "$id": "58", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -632,7 +585,7 @@ ], "Responses": [ { - "$id": "59", + "$id": "55", "StatusCodes": [ 204 ], @@ -652,29 +605,25 @@ "Decorators": [] }, { - "$id": "60", + "$id": "56", "Name": "response", "ResourceName": "Header", "Accessibility": "public", - "Parameters": [ - { - "$ref": "29" - } - ], + "Parameters": [], "Responses": [ { - "$id": "61", + "$id": "57", "StatusCodes": [ 204 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "62", + "$id": "58", "Name": "default-name", "NameInResponse": "default-name", "Type": { - "$id": "63", + "$id": "59", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -697,11 +646,39 @@ } ], "Protocol": { - "$id": "64" + "$id": "60" }, "Parameters": [ { - "$ref": "29" + "$id": "61", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "62", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "63", + "Type": { + "$id": "64", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -718,45 +695,14 @@ "Parameters": [ { "$id": "67", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "68", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "69", - "Type": { - "$id": "70", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "71", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "72", + "$id": "68", "kind": "constant", "valueType": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -776,7 +722,7 @@ "SkipUrlEncoding": false }, { - "$id": "74", + "$id": "70", "Name": "body", "NameInRequest": "body", "Type": { @@ -795,7 +741,7 @@ ], "Responses": [ { - "$id": "75", + "$id": "71", "StatusCodes": [ 204 ], @@ -818,24 +764,21 @@ "Decorators": [] }, { - "$id": "76", + "$id": "72", "Name": "language", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "77", + "$id": "73", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "78", + "$id": "74", "kind": "constant", "valueType": { - "$id": "79", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -855,7 +798,7 @@ "SkipUrlEncoding": false }, { - "$id": "80", + "$id": "76", "Name": "body", "NameInRequest": "body", "Type": { @@ -874,7 +817,7 @@ ], "Responses": [ { - "$id": "81", + "$id": "77", "StatusCodes": [ 204 ], @@ -898,12 +841,40 @@ } ], "Protocol": { - "$id": "82" + "$id": "78" }, "Parent": "NamingClient", "Parameters": [ { - "$ref": "67" + "$id": "79", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "80", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "81", + "Type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -920,45 +891,14 @@ "Parameters": [ { "$id": "85", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "86", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "87", - "Type": { - "$id": "88", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "89", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -978,7 +918,7 @@ "SkipUrlEncoding": false }, { - "$id": "92", + "$id": "88", "Name": "body", "NameInRequest": "body", "Type": { @@ -997,7 +937,7 @@ ], "Responses": [ { - "$id": "93", + "$id": "89", "StatusCodes": [ 204 ], @@ -1020,24 +960,21 @@ "Decorators": [] }, { - "$id": "94", + "$id": "90", "Name": "unionEnumMemberName", "ResourceName": "UnionEnum", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "95", + "$id": "91", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "96", + "$id": "92", "kind": "constant", "valueType": { - "$id": "97", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1057,7 +994,7 @@ "SkipUrlEncoding": false }, { - "$id": "98", + "$id": "94", "Name": "body", "NameInRequest": "body", "Type": { @@ -1076,7 +1013,7 @@ ], "Responses": [ { - "$id": "99", + "$id": "95", "StatusCodes": [ 204 ], @@ -1100,12 +1037,40 @@ } ], "Protocol": { - "$id": "100" + "$id": "96" }, "Parent": "NamingClient", "Parameters": [ { - "$ref": "85" + "$id": "97", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "98", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "99", + "Type": { + "$id": "100", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/FirstClient.xml b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/FirstClient.xml index fe71f25e18e..2cbbe08e762 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/FirstClient.xml +++ b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/FirstClient.xml @@ -5,8 +5,8 @@ This sample shows how to call OneAsync. "); -FirstClient client = new FirstClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +FirstClient client = new FirstClient(endpoint, default); Response response = await client.OneAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call OneAsync with all request content. "); -FirstClient client = new FirstClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +FirstClient client = new FirstClient(endpoint, default); Response response = await client.OneAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call One. "); -FirstClient client = new FirstClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +FirstClient client = new FirstClient(endpoint, default); Response response = client.One(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call One with all request content. "); -FirstClient client = new FirstClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +FirstClient client = new FirstClient(endpoint, default); Response response = client.One(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group3.xml b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group3.xml index 8b6ea71b373..8a372ae6a6d 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group3.xml +++ b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group3.xml @@ -5,8 +5,8 @@ This sample shows how to call TwoAsync. "); -Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); +Uri endpoint = new Uri(""); +Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = await client.TwoAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call TwoAsync with all request content. "); -Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); +Uri endpoint = new Uri(""); +Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = await client.TwoAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Two. "); -Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); +Uri endpoint = new Uri(""); +Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = client.Two(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Two with all request content. "); -Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); +Uri endpoint = new Uri(""); +Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = client.Two(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call ThreeAsync. "); -Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); +Uri endpoint = new Uri(""); +Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = await client.ThreeAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ThreeAsync with all request content. "); -Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); +Uri endpoint = new Uri(""); +Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = await client.ThreeAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call Three. "); -Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); +Uri endpoint = new Uri(""); +Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = client.Three(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Three with all request content. "); -Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); +Uri endpoint = new Uri(""); +Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = client.Three(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group4.xml b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group4.xml index 1c7ecb25267..a0bb0900e57 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group4.xml +++ b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group4.xml @@ -5,8 +5,8 @@ This sample shows how to call FourAsync. "); -Group4 client = new FirstClient(endpoint, ClientType.Default).GetGroup4Client(); +Uri endpoint = new Uri(""); +Group4 client = new FirstClient(endpoint, default).GetGroup4Client(); Response response = await client.FourAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call FourAsync with all request content. "); -Group4 client = new FirstClient(endpoint, ClientType.Default).GetGroup4Client(); +Uri endpoint = new Uri(""); +Group4 client = new FirstClient(endpoint, default).GetGroup4Client(); Response response = await client.FourAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Four. "); -Group4 client = new FirstClient(endpoint, ClientType.Default).GetGroup4Client(); +Uri endpoint = new Uri(""); +Group4 client = new FirstClient(endpoint, default).GetGroup4Client(); Response response = client.Four(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Four with all request content. "); -Group4 client = new FirstClient(endpoint, ClientType.Default).GetGroup4Client(); +Uri endpoint = new Uri(""); +Group4 client = new FirstClient(endpoint, default).GetGroup4Client(); Response response = client.Four(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group5.xml b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group5.xml index 973c06e808c..7956e6196d5 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group5.xml +++ b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/Group5.xml @@ -5,8 +5,8 @@ This sample shows how to call SixAsync. "); -Group5 client = new SubNamespaceSecondClient(endpoint, ClientType.Default).GetGroup5Client(); +Uri endpoint = new Uri(""); +Group5 client = new SubNamespaceSecondClient(endpoint, default).GetGroup5Client(); Response response = await client.SixAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call SixAsync with all request content. "); -Group5 client = new SubNamespaceSecondClient(endpoint, ClientType.Default).GetGroup5Client(); +Uri endpoint = new Uri(""); +Group5 client = new SubNamespaceSecondClient(endpoint, default).GetGroup5Client(); Response response = await client.SixAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Six. "); -Group5 client = new SubNamespaceSecondClient(endpoint, ClientType.Default).GetGroup5Client(); +Uri endpoint = new Uri(""); +Group5 client = new SubNamespaceSecondClient(endpoint, default).GetGroup5Client(); Response response = client.Six(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Six with all request content. "); -Group5 client = new SubNamespaceSecondClient(endpoint, ClientType.Default).GetGroup5Client(); +Uri endpoint = new Uri(""); +Group5 client = new SubNamespaceSecondClient(endpoint, default).GetGroup5Client(); Response response = client.Six(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/SubNamespaceSecondClient.xml b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/SubNamespaceSecondClient.xml index 26525c906a4..de6a2588a6b 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/SubNamespaceSecondClient.xml +++ b/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated/Docs/SubNamespaceSecondClient.xml @@ -5,8 +5,8 @@ This sample shows how to call FiveAsync. "); -SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, default); Response response = await client.FiveAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call FiveAsync with all request content. "); -SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, default); Response response = await client.FiveAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Five. "); -SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, default); Response response = client.Five(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Five with all request content. "); -SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, default); Response response = client.Five(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_FirstClient.cs b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_FirstClient.cs index ae12265242f..17dab7293e0 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_FirstClient.cs +++ b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_FirstClient.cs @@ -20,8 +20,8 @@ public partial class Samples_FirstClient [Ignore("Only validating compilation of examples")] public void Example_ClientOperationGroup_One_ShortVersion() { - Uri endpoint = new Uri(""); - FirstClient client = new FirstClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + FirstClient client = new FirstClient(endpoint, default); Response response = client.One(); @@ -32,8 +32,8 @@ public void Example_ClientOperationGroup_One_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ClientOperationGroup_One_ShortVersion_Async() { - Uri endpoint = new Uri(""); - FirstClient client = new FirstClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + FirstClient client = new FirstClient(endpoint, default); Response response = await client.OneAsync(); @@ -44,8 +44,8 @@ public async Task Example_ClientOperationGroup_One_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientOperationGroup_One_AllParameters() { - Uri endpoint = new Uri(""); - FirstClient client = new FirstClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + FirstClient client = new FirstClient(endpoint, default); Response response = client.One(); @@ -56,8 +56,8 @@ public void Example_ClientOperationGroup_One_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ClientOperationGroup_One_AllParameters_Async() { - Uri endpoint = new Uri(""); - FirstClient client = new FirstClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + FirstClient client = new FirstClient(endpoint, default); Response response = await client.OneAsync(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group3.cs b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group3.cs index 78b70e206d1..8617a04a573 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group3.cs +++ b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group3.cs @@ -20,8 +20,8 @@ public partial class Samples_Group3 [Ignore("Only validating compilation of examples")] public void Example_Group3_Two_ShortVersion() { - Uri endpoint = new Uri(""); - Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); + Uri endpoint = new Uri(""); + Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = client.Two(); @@ -32,8 +32,8 @@ public void Example_Group3_Two_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group3_Two_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); + Uri endpoint = new Uri(""); + Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = await client.TwoAsync(); @@ -44,8 +44,8 @@ public async Task Example_Group3_Two_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group3_Two_AllParameters() { - Uri endpoint = new Uri(""); - Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); + Uri endpoint = new Uri(""); + Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = client.Two(); @@ -56,8 +56,8 @@ public void Example_Group3_Two_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group3_Two_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); + Uri endpoint = new Uri(""); + Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = await client.TwoAsync(); @@ -68,8 +68,8 @@ public async Task Example_Group3_Two_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Group3_Three_ShortVersion() { - Uri endpoint = new Uri(""); - Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); + Uri endpoint = new Uri(""); + Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = client.Three(); @@ -80,8 +80,8 @@ public void Example_Group3_Three_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group3_Three_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); + Uri endpoint = new Uri(""); + Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = await client.ThreeAsync(); @@ -92,8 +92,8 @@ public async Task Example_Group3_Three_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group3_Three_AllParameters() { - Uri endpoint = new Uri(""); - Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); + Uri endpoint = new Uri(""); + Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = client.Three(); @@ -104,8 +104,8 @@ public void Example_Group3_Three_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group3_Three_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group3 client = new FirstClient(endpoint, ClientType.Default).GetGroup3Client(); + Uri endpoint = new Uri(""); + Group3 client = new FirstClient(endpoint, default).GetGroup3Client(); Response response = await client.ThreeAsync(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group4.cs b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group4.cs index 64118377350..84b9f0e2950 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group4.cs +++ b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group4.cs @@ -20,8 +20,8 @@ public partial class Samples_Group4 [Ignore("Only validating compilation of examples")] public void Example_Group4_Four_ShortVersion() { - Uri endpoint = new Uri(""); - Group4 client = new FirstClient(endpoint, ClientType.Default).GetGroup4Client(); + Uri endpoint = new Uri(""); + Group4 client = new FirstClient(endpoint, default).GetGroup4Client(); Response response = client.Four(); @@ -32,8 +32,8 @@ public void Example_Group4_Four_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group4_Four_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group4 client = new FirstClient(endpoint, ClientType.Default).GetGroup4Client(); + Uri endpoint = new Uri(""); + Group4 client = new FirstClient(endpoint, default).GetGroup4Client(); Response response = await client.FourAsync(); @@ -44,8 +44,8 @@ public async Task Example_Group4_Four_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group4_Four_AllParameters() { - Uri endpoint = new Uri(""); - Group4 client = new FirstClient(endpoint, ClientType.Default).GetGroup4Client(); + Uri endpoint = new Uri(""); + Group4 client = new FirstClient(endpoint, default).GetGroup4Client(); Response response = client.Four(); @@ -56,8 +56,8 @@ public void Example_Group4_Four_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group4_Four_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group4 client = new FirstClient(endpoint, ClientType.Default).GetGroup4Client(); + Uri endpoint = new Uri(""); + Group4 client = new FirstClient(endpoint, default).GetGroup4Client(); Response response = await client.FourAsync(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group5.cs b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group5.cs index 37b00c07f47..078fbaa67ed 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group5.cs +++ b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_Group5.cs @@ -20,8 +20,8 @@ public partial class Samples_Group5 [Ignore("Only validating compilation of examples")] public void Example_Group5_Six_ShortVersion() { - Uri endpoint = new Uri(""); - Group5 client = new SubNamespaceSecondClient(endpoint, ClientType.Default).GetGroup5Client(); + Uri endpoint = new Uri(""); + Group5 client = new SubNamespaceSecondClient(endpoint, default).GetGroup5Client(); Response response = client.Six(); @@ -32,8 +32,8 @@ public void Example_Group5_Six_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group5_Six_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group5 client = new SubNamespaceSecondClient(endpoint, ClientType.Default).GetGroup5Client(); + Uri endpoint = new Uri(""); + Group5 client = new SubNamespaceSecondClient(endpoint, default).GetGroup5Client(); Response response = await client.SixAsync(); @@ -44,8 +44,8 @@ public async Task Example_Group5_Six_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group5_Six_AllParameters() { - Uri endpoint = new Uri(""); - Group5 client = new SubNamespaceSecondClient(endpoint, ClientType.Default).GetGroup5Client(); + Uri endpoint = new Uri(""); + Group5 client = new SubNamespaceSecondClient(endpoint, default).GetGroup5Client(); Response response = client.Six(); @@ -56,8 +56,8 @@ public void Example_Group5_Six_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group5_Six_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group5 client = new SubNamespaceSecondClient(endpoint, ClientType.Default).GetGroup5Client(); + Uri endpoint = new Uri(""); + Group5 client = new SubNamespaceSecondClient(endpoint, default).GetGroup5Client(); Response response = await client.SixAsync(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_SubNamespaceSecondClient.cs b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_SubNamespaceSecondClient.cs index f39dfe5e9be..33657c3da8f 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_SubNamespaceSecondClient.cs +++ b/test/CadlRanchProjects/client/structure/client-operation-group/tests/Generated/Samples/Samples_SubNamespaceSecondClient.cs @@ -20,8 +20,8 @@ public partial class Samples_SubNamespaceSecondClient [Ignore("Only validating compilation of examples")] public void Example_AnotherClientOperationGroup_Five_ShortVersion() { - Uri endpoint = new Uri(""); - SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, default); Response response = client.Five(); @@ -32,8 +32,8 @@ public void Example_AnotherClientOperationGroup_Five_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_AnotherClientOperationGroup_Five_ShortVersion_Async() { - Uri endpoint = new Uri(""); - SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, default); Response response = await client.FiveAsync(); @@ -44,8 +44,8 @@ public async Task Example_AnotherClientOperationGroup_Five_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_AnotherClientOperationGroup_Five_AllParameters() { - Uri endpoint = new Uri(""); - SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, default); Response response = client.Five(); @@ -56,8 +56,8 @@ public void Example_AnotherClientOperationGroup_Five_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_AnotherClientOperationGroup_Five_AllParameters_Async() { - Uri endpoint = new Uri(""); - SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + SubNamespaceSecondClient client = new SubNamespaceSecondClient(endpoint, default); Response response = await client.FiveAsync(); diff --git a/test/CadlRanchProjects/client/structure/client-operation-group/tspCodeModel.json b/test/CadlRanchProjects/client/structure/client-operation-group/tspCodeModel.json index abcfac43fc9..b9cf9bc3ed4 100644 --- a/test/CadlRanchProjects/client/structure/client-operation-group/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/client-operation-group/tspCodeModel.json @@ -119,50 +119,10 @@ "Name": "one", "ResourceName": "ClientOperationGroup", "Accessibility": "public", - "Parameters": [ - { - "$id": "16", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "17", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "18", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "19", + "$id": "16", "StatusCodes": [ 204 ], @@ -183,14 +143,47 @@ } ], "Protocol": { - "$id": "20" + "$id": "17" }, "Parameters": [ { - "$ref": "16" + "$id": "18", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "19", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "18" + "$id": "20", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -204,50 +197,10 @@ "Name": "two", "ResourceName": "Group3", "Accessibility": "public", - "Parameters": [ - { - "$id": "23", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "24", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "25", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "26", + "$id": "23", "StatusCodes": [ 204 ], @@ -267,21 +220,14 @@ "Decorators": [] }, { - "$id": "27", + "$id": "24", "Name": "three", "ResourceName": "Group3", "Accessibility": "public", - "Parameters": [ - { - "$ref": "23" - }, - { - "$ref": "25" - } - ], + "Parameters": [], "Responses": [ { - "$id": "28", + "$id": "25", "StatusCodes": [ 204 ], @@ -302,15 +248,48 @@ } ], "Protocol": { - "$id": "29" + "$id": "26" }, "Parent": "FirstClient", "Parameters": [ { - "$ref": "23" + "$id": "27", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "28", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "25" + "$id": "29", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -324,50 +303,10 @@ "Name": "four", "ResourceName": "Group4", "Accessibility": "public", - "Parameters": [ - { - "$id": "32", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "33", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "34", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "35", + "$id": "32", "StatusCodes": [ 204 ], @@ -388,15 +327,48 @@ } ], "Protocol": { - "$id": "36" + "$id": "33" }, "Parent": "FirstClient", "Parameters": [ { - "$ref": "32" + "$id": "34", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "35", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "34" + "$id": "36", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -410,50 +382,10 @@ "Name": "five", "ResourceName": "AnotherClientOperationGroup", "Accessibility": "public", - "Parameters": [ - { - "$id": "39", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "40", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "41", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "42", + "$id": "39", "StatusCodes": [ 204 ], @@ -474,14 +406,47 @@ } ], "Protocol": { - "$id": "43" + "$id": "40" }, "Parameters": [ { - "$ref": "39" + "$id": "41", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "42", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "41" + "$id": "43", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -495,50 +460,10 @@ "Name": "six", "ResourceName": "Group5", "Accessibility": "public", - "Parameters": [ - { - "$id": "46", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "47", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "48", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "49", + "$id": "46", "StatusCodes": [ 204 ], @@ -559,15 +484,48 @@ } ], "Protocol": { - "$id": "50" + "$id": "47" }, "Parent": "SubNamespace.SecondClient", "Parameters": [ { - "$ref": "46" + "$id": "48", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "49", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "48" + "$id": "50", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Bar.xml b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Bar.xml index 73cd8ff63fc..06a4ca8cc2c 100644 --- a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Bar.xml +++ b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Bar.xml @@ -5,8 +5,8 @@ This sample shows how to call FiveAsync. "); -Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); +Uri endpoint = new Uri(""); +Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = await client.FiveAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call FiveAsync with all request content. "); -Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); +Uri endpoint = new Uri(""); +Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = await client.FiveAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Five. "); -Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); +Uri endpoint = new Uri(""); +Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = client.Five(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Five with all request content. "); -Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); +Uri endpoint = new Uri(""); +Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = client.Five(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call SixAsync. "); -Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); +Uri endpoint = new Uri(""); +Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = await client.SixAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call SixAsync with all request content. "); -Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); +Uri endpoint = new Uri(""); +Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = await client.SixAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call Six. "); -Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); +Uri endpoint = new Uri(""); +Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = client.Six(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Six with all request content. "); -Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); +Uri endpoint = new Uri(""); +Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = client.Six(); diff --git a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/BazFoo.xml b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/BazFoo.xml index 1aa792ca405..262da834d7d 100644 --- a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/BazFoo.xml +++ b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/BazFoo.xml @@ -5,8 +5,8 @@ This sample shows how to call SevenAsync. "); -BazFoo client = new ServiceClient(endpoint, ClientType.Default).GetBazClient().GetBazFooClient(); +Uri endpoint = new Uri(""); +BazFoo client = new ServiceClient(endpoint, default).GetBazClient().GetBazFooClient(); Response response = await client.SevenAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call SevenAsync with all request content. "); -BazFoo client = new ServiceClient(endpoint, ClientType.Default).GetBazClient().GetBazFooClient(); +Uri endpoint = new Uri(""); +BazFoo client = new ServiceClient(endpoint, default).GetBazClient().GetBazFooClient(); Response response = await client.SevenAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Seven. "); -BazFoo client = new ServiceClient(endpoint, ClientType.Default).GetBazClient().GetBazFooClient(); +Uri endpoint = new Uri(""); +BazFoo client = new ServiceClient(endpoint, default).GetBazClient().GetBazFooClient(); Response response = client.Seven(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Seven with all request content. "); -BazFoo client = new ServiceClient(endpoint, ClientType.Default).GetBazClient().GetBazFooClient(); +Uri endpoint = new Uri(""); +BazFoo client = new ServiceClient(endpoint, default).GetBazClient().GetBazFooClient(); Response response = client.Seven(); diff --git a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Foo.xml b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Foo.xml index dd9dd1285d5..2b91184dee4 100644 --- a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Foo.xml +++ b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Foo.xml @@ -5,8 +5,8 @@ This sample shows how to call ThreeAsync. "); -Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); +Uri endpoint = new Uri(""); +Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = await client.ThreeAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ThreeAsync with all request content. "); -Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); +Uri endpoint = new Uri(""); +Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = await client.ThreeAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Three. "); -Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); +Uri endpoint = new Uri(""); +Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = client.Three(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Three with all request content. "); -Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); +Uri endpoint = new Uri(""); +Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = client.Three(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call FourAsync. "); -Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); +Uri endpoint = new Uri(""); +Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = await client.FourAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call FourAsync with all request content. "); -Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); +Uri endpoint = new Uri(""); +Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = await client.FourAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call Four. "); -Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); +Uri endpoint = new Uri(""); +Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = client.Four(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Four with all request content. "); -Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); +Uri endpoint = new Uri(""); +Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = client.Four(); diff --git a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Qux.xml b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Qux.xml index f71b456ee19..6aed7b02d2e 100644 --- a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Qux.xml +++ b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/Qux.xml @@ -5,8 +5,8 @@ This sample shows how to call EightAsync. "); -Qux client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient(); +Uri endpoint = new Uri(""); +Qux client = new ServiceClient(endpoint, default).GetQuxClient(); Response response = await client.EightAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call EightAsync with all request content. "); -Qux client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient(); +Uri endpoint = new Uri(""); +Qux client = new ServiceClient(endpoint, default).GetQuxClient(); Response response = await client.EightAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Eight. "); -Qux client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient(); +Uri endpoint = new Uri(""); +Qux client = new ServiceClient(endpoint, default).GetQuxClient(); Response response = client.Eight(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Eight with all request content. "); -Qux client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient(); +Uri endpoint = new Uri(""); +Qux client = new ServiceClient(endpoint, default).GetQuxClient(); Response response = client.Eight(); diff --git a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/QuxBar.xml b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/QuxBar.xml index cafeabef9af..a88cf4a8d46 100644 --- a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/QuxBar.xml +++ b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/QuxBar.xml @@ -5,8 +5,8 @@ This sample shows how to call NineAsync. "); -QuxBar client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient().GetQuxBarClient(); +Uri endpoint = new Uri(""); +QuxBar client = new ServiceClient(endpoint, default).GetQuxClient().GetQuxBarClient(); Response response = await client.NineAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call NineAsync with all request content. "); -QuxBar client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient().GetQuxBarClient(); +Uri endpoint = new Uri(""); +QuxBar client = new ServiceClient(endpoint, default).GetQuxClient().GetQuxBarClient(); Response response = await client.NineAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Nine. "); -QuxBar client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient().GetQuxBarClient(); +Uri endpoint = new Uri(""); +QuxBar client = new ServiceClient(endpoint, default).GetQuxClient().GetQuxBarClient(); Response response = client.Nine(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Nine with all request content. "); -QuxBar client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient().GetQuxBarClient(); +Uri endpoint = new Uri(""); +QuxBar client = new ServiceClient(endpoint, default).GetQuxClient().GetQuxBarClient(); Response response = client.Nine(); diff --git a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/ServiceClient.xml b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/ServiceClient.xml index d499a895d98..22944e24e2a 100644 --- a/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/ServiceClient.xml +++ b/test/CadlRanchProjects/client/structure/default/src/Generated/Docs/ServiceClient.xml @@ -5,8 +5,8 @@ This sample shows how to call OneAsync. "); -ServiceClient client = new ServiceClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ServiceClient client = new ServiceClient(endpoint, default); Response response = await client.OneAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call OneAsync with all request content. "); -ServiceClient client = new ServiceClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ServiceClient client = new ServiceClient(endpoint, default); Response response = await client.OneAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call One. "); -ServiceClient client = new ServiceClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ServiceClient client = new ServiceClient(endpoint, default); Response response = client.One(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call One with all request content. "); -ServiceClient client = new ServiceClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ServiceClient client = new ServiceClient(endpoint, default); Response response = client.One(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call TwoAsync. "); -ServiceClient client = new ServiceClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ServiceClient client = new ServiceClient(endpoint, default); Response response = await client.TwoAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call TwoAsync with all request content. "); -ServiceClient client = new ServiceClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ServiceClient client = new ServiceClient(endpoint, default); Response response = await client.TwoAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call Two. "); -ServiceClient client = new ServiceClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ServiceClient client = new ServiceClient(endpoint, default); Response response = client.Two(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Two with all request content. "); -ServiceClient client = new ServiceClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ServiceClient client = new ServiceClient(endpoint, default); Response response = client.Two(); diff --git a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Bar.cs b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Bar.cs index c48025778aa..7ab6e4f4993 100644 --- a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Bar.cs +++ b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Bar.cs @@ -20,8 +20,8 @@ public partial class Samples_Bar [Ignore("Only validating compilation of examples")] public void Example_Bar_Five_ShortVersion() { - Uri endpoint = new Uri(""); - Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); + Uri endpoint = new Uri(""); + Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = client.Five(); @@ -32,8 +32,8 @@ public void Example_Bar_Five_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Bar_Five_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); + Uri endpoint = new Uri(""); + Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = await client.FiveAsync(); @@ -44,8 +44,8 @@ public async Task Example_Bar_Five_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Bar_Five_AllParameters() { - Uri endpoint = new Uri(""); - Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); + Uri endpoint = new Uri(""); + Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = client.Five(); @@ -56,8 +56,8 @@ public void Example_Bar_Five_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Bar_Five_AllParameters_Async() { - Uri endpoint = new Uri(""); - Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); + Uri endpoint = new Uri(""); + Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = await client.FiveAsync(); @@ -68,8 +68,8 @@ public async Task Example_Bar_Five_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Bar_Six_ShortVersion() { - Uri endpoint = new Uri(""); - Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); + Uri endpoint = new Uri(""); + Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = client.Six(); @@ -80,8 +80,8 @@ public void Example_Bar_Six_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Bar_Six_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); + Uri endpoint = new Uri(""); + Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = await client.SixAsync(); @@ -92,8 +92,8 @@ public async Task Example_Bar_Six_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Bar_Six_AllParameters() { - Uri endpoint = new Uri(""); - Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); + Uri endpoint = new Uri(""); + Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = client.Six(); @@ -104,8 +104,8 @@ public void Example_Bar_Six_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Bar_Six_AllParameters_Async() { - Uri endpoint = new Uri(""); - Bar client = new ServiceClient(endpoint, ClientType.Default).GetBarClient(); + Uri endpoint = new Uri(""); + Bar client = new ServiceClient(endpoint, default).GetBarClient(); Response response = await client.SixAsync(); diff --git a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_BazFoo.cs b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_BazFoo.cs index e21fe963c6d..577468dc725 100644 --- a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_BazFoo.cs +++ b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_BazFoo.cs @@ -20,8 +20,8 @@ public partial class Samples_BazFoo [Ignore("Only validating compilation of examples")] public void Example_Foo_Seven_ShortVersion() { - Uri endpoint = new Uri(""); - BazFoo client = new ServiceClient(endpoint, ClientType.Default).GetBazClient().GetBazFooClient(); + Uri endpoint = new Uri(""); + BazFoo client = new ServiceClient(endpoint, default).GetBazClient().GetBazFooClient(); Response response = client.Seven(); @@ -32,8 +32,8 @@ public void Example_Foo_Seven_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Foo_Seven_ShortVersion_Async() { - Uri endpoint = new Uri(""); - BazFoo client = new ServiceClient(endpoint, ClientType.Default).GetBazClient().GetBazFooClient(); + Uri endpoint = new Uri(""); + BazFoo client = new ServiceClient(endpoint, default).GetBazClient().GetBazFooClient(); Response response = await client.SevenAsync(); @@ -44,8 +44,8 @@ public async Task Example_Foo_Seven_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Foo_Seven_AllParameters() { - Uri endpoint = new Uri(""); - BazFoo client = new ServiceClient(endpoint, ClientType.Default).GetBazClient().GetBazFooClient(); + Uri endpoint = new Uri(""); + BazFoo client = new ServiceClient(endpoint, default).GetBazClient().GetBazFooClient(); Response response = client.Seven(); @@ -56,8 +56,8 @@ public void Example_Foo_Seven_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Foo_Seven_AllParameters_Async() { - Uri endpoint = new Uri(""); - BazFoo client = new ServiceClient(endpoint, ClientType.Default).GetBazClient().GetBazFooClient(); + Uri endpoint = new Uri(""); + BazFoo client = new ServiceClient(endpoint, default).GetBazClient().GetBazFooClient(); Response response = await client.SevenAsync(); diff --git a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Foo.cs b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Foo.cs index 316f5fa484d..dbee955bd36 100644 --- a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Foo.cs +++ b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Foo.cs @@ -20,8 +20,8 @@ public partial class Samples_Foo [Ignore("Only validating compilation of examples")] public void Example_Foo_Three_ShortVersion() { - Uri endpoint = new Uri(""); - Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); + Uri endpoint = new Uri(""); + Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = client.Three(); @@ -32,8 +32,8 @@ public void Example_Foo_Three_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Foo_Three_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); + Uri endpoint = new Uri(""); + Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = await client.ThreeAsync(); @@ -44,8 +44,8 @@ public async Task Example_Foo_Three_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Foo_Three_AllParameters() { - Uri endpoint = new Uri(""); - Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); + Uri endpoint = new Uri(""); + Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = client.Three(); @@ -56,8 +56,8 @@ public void Example_Foo_Three_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Foo_Three_AllParameters_Async() { - Uri endpoint = new Uri(""); - Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); + Uri endpoint = new Uri(""); + Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = await client.ThreeAsync(); @@ -68,8 +68,8 @@ public async Task Example_Foo_Three_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Foo_Four_ShortVersion() { - Uri endpoint = new Uri(""); - Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); + Uri endpoint = new Uri(""); + Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = client.Four(); @@ -80,8 +80,8 @@ public void Example_Foo_Four_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Foo_Four_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); + Uri endpoint = new Uri(""); + Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = await client.FourAsync(); @@ -92,8 +92,8 @@ public async Task Example_Foo_Four_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Foo_Four_AllParameters() { - Uri endpoint = new Uri(""); - Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); + Uri endpoint = new Uri(""); + Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = client.Four(); @@ -104,8 +104,8 @@ public void Example_Foo_Four_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Foo_Four_AllParameters_Async() { - Uri endpoint = new Uri(""); - Foo client = new ServiceClient(endpoint, ClientType.Default).GetFooClient(); + Uri endpoint = new Uri(""); + Foo client = new ServiceClient(endpoint, default).GetFooClient(); Response response = await client.FourAsync(); diff --git a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Qux.cs b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Qux.cs index b0e5db5c40f..1cd4920293c 100644 --- a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Qux.cs +++ b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_Qux.cs @@ -20,8 +20,8 @@ public partial class Samples_Qux [Ignore("Only validating compilation of examples")] public void Example_Qux_Eight_ShortVersion() { - Uri endpoint = new Uri(""); - Qux client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient(); + Uri endpoint = new Uri(""); + Qux client = new ServiceClient(endpoint, default).GetQuxClient(); Response response = client.Eight(); @@ -32,8 +32,8 @@ public void Example_Qux_Eight_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Qux_Eight_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Qux client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient(); + Uri endpoint = new Uri(""); + Qux client = new ServiceClient(endpoint, default).GetQuxClient(); Response response = await client.EightAsync(); @@ -44,8 +44,8 @@ public async Task Example_Qux_Eight_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Qux_Eight_AllParameters() { - Uri endpoint = new Uri(""); - Qux client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient(); + Uri endpoint = new Uri(""); + Qux client = new ServiceClient(endpoint, default).GetQuxClient(); Response response = client.Eight(); @@ -56,8 +56,8 @@ public void Example_Qux_Eight_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Qux_Eight_AllParameters_Async() { - Uri endpoint = new Uri(""); - Qux client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient(); + Uri endpoint = new Uri(""); + Qux client = new ServiceClient(endpoint, default).GetQuxClient(); Response response = await client.EightAsync(); diff --git a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_QuxBar.cs b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_QuxBar.cs index ceed9c40b27..947d368049a 100644 --- a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_QuxBar.cs +++ b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_QuxBar.cs @@ -20,8 +20,8 @@ public partial class Samples_QuxBar [Ignore("Only validating compilation of examples")] public void Example_Bar_Nine_ShortVersion() { - Uri endpoint = new Uri(""); - QuxBar client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient().GetQuxBarClient(); + Uri endpoint = new Uri(""); + QuxBar client = new ServiceClient(endpoint, default).GetQuxClient().GetQuxBarClient(); Response response = client.Nine(); @@ -32,8 +32,8 @@ public void Example_Bar_Nine_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Bar_Nine_ShortVersion_Async() { - Uri endpoint = new Uri(""); - QuxBar client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient().GetQuxBarClient(); + Uri endpoint = new Uri(""); + QuxBar client = new ServiceClient(endpoint, default).GetQuxClient().GetQuxBarClient(); Response response = await client.NineAsync(); @@ -44,8 +44,8 @@ public async Task Example_Bar_Nine_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Bar_Nine_AllParameters() { - Uri endpoint = new Uri(""); - QuxBar client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient().GetQuxBarClient(); + Uri endpoint = new Uri(""); + QuxBar client = new ServiceClient(endpoint, default).GetQuxClient().GetQuxBarClient(); Response response = client.Nine(); @@ -56,8 +56,8 @@ public void Example_Bar_Nine_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Bar_Nine_AllParameters_Async() { - Uri endpoint = new Uri(""); - QuxBar client = new ServiceClient(endpoint, ClientType.Default).GetQuxClient().GetQuxBarClient(); + Uri endpoint = new Uri(""); + QuxBar client = new ServiceClient(endpoint, default).GetQuxClient().GetQuxBarClient(); Response response = await client.NineAsync(); diff --git a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_ServiceClient.cs b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_ServiceClient.cs index 72304b57ef0..673a3e79c94 100644 --- a/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_ServiceClient.cs +++ b/test/CadlRanchProjects/client/structure/default/tests/Generated/Samples/Samples_ServiceClient.cs @@ -20,8 +20,8 @@ public partial class Samples_ServiceClient [Ignore("Only validating compilation of examples")] public void Example_Service_One_ShortVersion() { - Uri endpoint = new Uri(""); - ServiceClient client = new ServiceClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ServiceClient client = new ServiceClient(endpoint, default); Response response = client.One(); @@ -32,8 +32,8 @@ public void Example_Service_One_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Service_One_ShortVersion_Async() { - Uri endpoint = new Uri(""); - ServiceClient client = new ServiceClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ServiceClient client = new ServiceClient(endpoint, default); Response response = await client.OneAsync(); @@ -44,8 +44,8 @@ public async Task Example_Service_One_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Service_One_AllParameters() { - Uri endpoint = new Uri(""); - ServiceClient client = new ServiceClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ServiceClient client = new ServiceClient(endpoint, default); Response response = client.One(); @@ -56,8 +56,8 @@ public void Example_Service_One_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Service_One_AllParameters_Async() { - Uri endpoint = new Uri(""); - ServiceClient client = new ServiceClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ServiceClient client = new ServiceClient(endpoint, default); Response response = await client.OneAsync(); @@ -68,8 +68,8 @@ public async Task Example_Service_One_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Service_Two_ShortVersion() { - Uri endpoint = new Uri(""); - ServiceClient client = new ServiceClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ServiceClient client = new ServiceClient(endpoint, default); Response response = client.Two(); @@ -80,8 +80,8 @@ public void Example_Service_Two_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Service_Two_ShortVersion_Async() { - Uri endpoint = new Uri(""); - ServiceClient client = new ServiceClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ServiceClient client = new ServiceClient(endpoint, default); Response response = await client.TwoAsync(); @@ -92,8 +92,8 @@ public async Task Example_Service_Two_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Service_Two_AllParameters() { - Uri endpoint = new Uri(""); - ServiceClient client = new ServiceClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ServiceClient client = new ServiceClient(endpoint, default); Response response = client.Two(); @@ -104,8 +104,8 @@ public void Example_Service_Two_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Service_Two_AllParameters_Async() { - Uri endpoint = new Uri(""); - ServiceClient client = new ServiceClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ServiceClient client = new ServiceClient(endpoint, default); Response response = await client.TwoAsync(); diff --git a/test/CadlRanchProjects/client/structure/default/tspCodeModel.json b/test/CadlRanchProjects/client/structure/default/tspCodeModel.json index 8a30859fc1c..cb970749db7 100644 --- a/test/CadlRanchProjects/client/structure/default/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/default/tspCodeModel.json @@ -120,50 +120,10 @@ "Name": "one", "ResourceName": "Service", "Accessibility": "public", - "Parameters": [ - { - "$id": "16", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "17", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "18", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "19", + "$id": "16", "StatusCodes": [ 204 ], @@ -183,21 +143,14 @@ "Decorators": [] }, { - "$id": "20", + "$id": "17", "Name": "two", "ResourceName": "Service", "Accessibility": "public", - "Parameters": [ - { - "$ref": "16" - }, - { - "$ref": "18" - } - ], + "Parameters": [], "Responses": [ { - "$id": "21", + "$id": "18", "StatusCodes": [ 204 ], @@ -218,14 +171,47 @@ } ], "Protocol": { - "$id": "22" + "$id": "19" }, "Parameters": [ { - "$ref": "16" + "$id": "20", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "21", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "18" + "$id": "22", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -290,50 +276,10 @@ "Name": "seven", "ResourceName": "Foo", "Accessibility": "public", - "Parameters": [ - { - "$id": "30", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "31", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "32", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "33", + "$id": "30", "StatusCodes": [ 204 ], @@ -354,15 +300,48 @@ } ], "Protocol": { - "$id": "34" + "$id": "31" }, "Parent": "Baz", "Parameters": [ { - "$ref": "30" + "$id": "32", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "33", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "32" + "$id": "34", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -376,50 +355,10 @@ "Name": "eight", "ResourceName": "Qux", "Accessibility": "public", - "Parameters": [ - { - "$id": "37", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "38", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "39", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "40", + "$id": "37", "StatusCodes": [ 204 ], @@ -440,15 +379,48 @@ } ], "Protocol": { - "$id": "41" + "$id": "38" }, "Parent": "ServiceClient", "Parameters": [ { - "$ref": "37" + "$id": "39", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "40", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "39" + "$id": "41", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -462,50 +434,10 @@ "Name": "nine", "ResourceName": "Bar", "Accessibility": "public", - "Parameters": [ - { - "$id": "44", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "45", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "46", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "47", + "$id": "44", "StatusCodes": [ 204 ], @@ -526,15 +458,48 @@ } ], "Protocol": { - "$id": "48" + "$id": "45" }, "Parent": "Qux", "Parameters": [ { - "$ref": "44" + "$id": "46", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "47", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "46" + "$id": "48", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -548,50 +513,10 @@ "Name": "three", "ResourceName": "Foo", "Accessibility": "public", - "Parameters": [ - { - "$id": "51", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "52", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "53", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "54", + "$id": "51", "StatusCodes": [ 204 ], @@ -611,21 +536,14 @@ "Decorators": [] }, { - "$id": "55", + "$id": "52", "Name": "four", "ResourceName": "Foo", "Accessibility": "public", - "Parameters": [ - { - "$ref": "51" - }, - { - "$ref": "53" - } - ], + "Parameters": [], "Responses": [ { - "$id": "56", + "$id": "53", "StatusCodes": [ 204 ], @@ -646,15 +564,48 @@ } ], "Protocol": { - "$id": "57" + "$id": "54" }, "Parent": "ServiceClient", "Parameters": [ { - "$ref": "51" + "$id": "55", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "56", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "53" + "$id": "57", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -668,50 +619,10 @@ "Name": "five", "ResourceName": "Bar", "Accessibility": "public", - "Parameters": [ - { - "$id": "60", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "61", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "62", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "63", + "$id": "60", "StatusCodes": [ 204 ], @@ -731,21 +642,14 @@ "Decorators": [] }, { - "$id": "64", + "$id": "61", "Name": "six", "ResourceName": "Bar", "Accessibility": "public", - "Parameters": [ - { - "$ref": "60" - }, - { - "$ref": "62" - } - ], + "Parameters": [], "Responses": [ { - "$id": "65", + "$id": "62", "StatusCodes": [ 204 ], @@ -766,15 +670,48 @@ } ], "Protocol": { - "$id": "66" + "$id": "63" }, "Parent": "ServiceClient", "Parameters": [ { - "$ref": "60" + "$id": "64", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "65", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "62" + "$id": "66", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/client/structure/multi-client/src/Generated/Docs/ClientAClient.xml b/test/CadlRanchProjects/client/structure/multi-client/src/Generated/Docs/ClientAClient.xml index 6ac1180bb82..730ec2fdbd9 100644 --- a/test/CadlRanchProjects/client/structure/multi-client/src/Generated/Docs/ClientAClient.xml +++ b/test/CadlRanchProjects/client/structure/multi-client/src/Generated/Docs/ClientAClient.xml @@ -5,8 +5,8 @@ This sample shows how to call RenamedOneAsync. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedOneAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedOneAsync with all request content. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedOneAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedOne. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedOne(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedOne with all request content. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedOne(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedThreeAsync. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedThreeAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedThreeAsync with all request content. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedThreeAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedThree. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedThree(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedThree with all request content. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedThree(); @@ -89,8 +89,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedFiveAsync. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedFiveAsync(); @@ -98,8 +98,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedFiveAsync with all request content. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedFiveAsync(); @@ -110,8 +110,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedFive. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedFive(); @@ -119,8 +119,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedFive with all request content. "); -ClientAClient client = new ClientAClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedFive(); diff --git a/test/CadlRanchProjects/client/structure/multi-client/src/Generated/Docs/ClientBClient.xml b/test/CadlRanchProjects/client/structure/multi-client/src/Generated/Docs/ClientBClient.xml index 9a68e366054..de4a818d44c 100644 --- a/test/CadlRanchProjects/client/structure/multi-client/src/Generated/Docs/ClientBClient.xml +++ b/test/CadlRanchProjects/client/structure/multi-client/src/Generated/Docs/ClientBClient.xml @@ -5,8 +5,8 @@ This sample shows how to call RenamedTwoAsync. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedTwoAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedTwoAsync with all request content. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedTwoAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedTwo. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedTwo(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedTwo with all request content. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedTwo(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedFourAsync. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedFourAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedFourAsync with all request content. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedFourAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedFour. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedFour(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedFour with all request content. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedFour(); @@ -89,8 +89,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedSixAsync. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedSixAsync(); @@ -98,8 +98,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedSixAsync with all request content. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedSixAsync(); @@ -110,8 +110,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedSix. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedSix(); @@ -119,8 +119,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedSix with all request content. "); -ClientBClient client = new ClientBClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedSix(); diff --git a/test/CadlRanchProjects/client/structure/multi-client/tests/Generated/Samples/Samples_ClientAClient.cs b/test/CadlRanchProjects/client/structure/multi-client/tests/Generated/Samples/Samples_ClientAClient.cs index a278f11abd3..8e299a49e4e 100644 --- a/test/CadlRanchProjects/client/structure/multi-client/tests/Generated/Samples/Samples_ClientAClient.cs +++ b/test/CadlRanchProjects/client/structure/multi-client/tests/Generated/Samples/Samples_ClientAClient.cs @@ -20,8 +20,8 @@ public partial class Samples_ClientAClient [Ignore("Only validating compilation of examples")] public void Example_ClientA_RenamedOne_ShortVersion() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedOne(); @@ -32,8 +32,8 @@ public void Example_ClientA_RenamedOne_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ClientA_RenamedOne_ShortVersion_Async() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedOneAsync(); @@ -44,8 +44,8 @@ public async Task Example_ClientA_RenamedOne_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientA_RenamedOne_AllParameters() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedOne(); @@ -56,8 +56,8 @@ public void Example_ClientA_RenamedOne_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ClientA_RenamedOne_AllParameters_Async() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedOneAsync(); @@ -68,8 +68,8 @@ public async Task Example_ClientA_RenamedOne_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientA_RenamedThree_ShortVersion() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedThree(); @@ -80,8 +80,8 @@ public void Example_ClientA_RenamedThree_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ClientA_RenamedThree_ShortVersion_Async() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedThreeAsync(); @@ -92,8 +92,8 @@ public async Task Example_ClientA_RenamedThree_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientA_RenamedThree_AllParameters() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedThree(); @@ -104,8 +104,8 @@ public void Example_ClientA_RenamedThree_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ClientA_RenamedThree_AllParameters_Async() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedThreeAsync(); @@ -116,8 +116,8 @@ public async Task Example_ClientA_RenamedThree_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientA_RenamedFive_ShortVersion() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedFive(); @@ -128,8 +128,8 @@ public void Example_ClientA_RenamedFive_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ClientA_RenamedFive_ShortVersion_Async() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedFiveAsync(); @@ -140,8 +140,8 @@ public async Task Example_ClientA_RenamedFive_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientA_RenamedFive_AllParameters() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = client.RenamedFive(); @@ -152,8 +152,8 @@ public void Example_ClientA_RenamedFive_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ClientA_RenamedFive_AllParameters_Async() { - Uri endpoint = new Uri(""); - ClientAClient client = new ClientAClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientAClient client = new ClientAClient(endpoint, default); Response response = await client.RenamedFiveAsync(); diff --git a/test/CadlRanchProjects/client/structure/multi-client/tests/Generated/Samples/Samples_ClientBClient.cs b/test/CadlRanchProjects/client/structure/multi-client/tests/Generated/Samples/Samples_ClientBClient.cs index af146f32f51..cd47e34d96e 100644 --- a/test/CadlRanchProjects/client/structure/multi-client/tests/Generated/Samples/Samples_ClientBClient.cs +++ b/test/CadlRanchProjects/client/structure/multi-client/tests/Generated/Samples/Samples_ClientBClient.cs @@ -20,8 +20,8 @@ public partial class Samples_ClientBClient [Ignore("Only validating compilation of examples")] public void Example_ClientB_RenamedTwo_ShortVersion() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedTwo(); @@ -32,8 +32,8 @@ public void Example_ClientB_RenamedTwo_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ClientB_RenamedTwo_ShortVersion_Async() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedTwoAsync(); @@ -44,8 +44,8 @@ public async Task Example_ClientB_RenamedTwo_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientB_RenamedTwo_AllParameters() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedTwo(); @@ -56,8 +56,8 @@ public void Example_ClientB_RenamedTwo_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ClientB_RenamedTwo_AllParameters_Async() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedTwoAsync(); @@ -68,8 +68,8 @@ public async Task Example_ClientB_RenamedTwo_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientB_RenamedFour_ShortVersion() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedFour(); @@ -80,8 +80,8 @@ public void Example_ClientB_RenamedFour_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ClientB_RenamedFour_ShortVersion_Async() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedFourAsync(); @@ -92,8 +92,8 @@ public async Task Example_ClientB_RenamedFour_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientB_RenamedFour_AllParameters() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedFour(); @@ -104,8 +104,8 @@ public void Example_ClientB_RenamedFour_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ClientB_RenamedFour_AllParameters_Async() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedFourAsync(); @@ -116,8 +116,8 @@ public async Task Example_ClientB_RenamedFour_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientB_RenamedSix_ShortVersion() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedSix(); @@ -128,8 +128,8 @@ public void Example_ClientB_RenamedSix_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ClientB_RenamedSix_ShortVersion_Async() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedSixAsync(); @@ -140,8 +140,8 @@ public async Task Example_ClientB_RenamedSix_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ClientB_RenamedSix_AllParameters() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = client.RenamedSix(); @@ -152,8 +152,8 @@ public void Example_ClientB_RenamedSix_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ClientB_RenamedSix_AllParameters_Async() { - Uri endpoint = new Uri(""); - ClientBClient client = new ClientBClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + ClientBClient client = new ClientBClient(endpoint, default); Response response = await client.RenamedSixAsync(); diff --git a/test/CadlRanchProjects/client/structure/multi-client/tspCodeModel.json b/test/CadlRanchProjects/client/structure/multi-client/tspCodeModel.json index b34a0d349fe..1cc4669fc8b 100644 --- a/test/CadlRanchProjects/client/structure/multi-client/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/multi-client/tspCodeModel.json @@ -119,50 +119,10 @@ "Name": "renamedOne", "ResourceName": "ClientA", "Accessibility": "public", - "Parameters": [ - { - "$id": "16", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "17", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "18", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "19", + "$id": "16", "StatusCodes": [ 204 ], @@ -182,21 +142,14 @@ "Decorators": [] }, { - "$id": "20", + "$id": "17", "Name": "renamedThree", "ResourceName": "ClientA", "Accessibility": "public", - "Parameters": [ - { - "$ref": "16" - }, - { - "$ref": "18" - } - ], + "Parameters": [], "Responses": [ { - "$id": "21", + "$id": "18", "StatusCodes": [ 204 ], @@ -216,21 +169,14 @@ "Decorators": [] }, { - "$id": "22", + "$id": "19", "Name": "renamedFive", "ResourceName": "ClientA", "Accessibility": "public", - "Parameters": [ - { - "$ref": "16" - }, - { - "$ref": "18" - } - ], + "Parameters": [], "Responses": [ { - "$id": "23", + "$id": "20", "StatusCodes": [ 204 ], @@ -251,14 +197,47 @@ } ], "Protocol": { - "$id": "24" + "$id": "21" }, "Parameters": [ { - "$ref": "16" + "$id": "22", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "23", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "18" + "$id": "24", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -272,50 +251,10 @@ "Name": "renamedTwo", "ResourceName": "ClientB", "Accessibility": "public", - "Parameters": [ - { - "$id": "27", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "28", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "29", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "30", + "$id": "27", "StatusCodes": [ 204 ], @@ -335,21 +274,14 @@ "Decorators": [] }, { - "$id": "31", + "$id": "28", "Name": "renamedFour", "ResourceName": "ClientB", "Accessibility": "public", - "Parameters": [ - { - "$ref": "27" - }, - { - "$ref": "29" - } - ], + "Parameters": [], "Responses": [ { - "$id": "32", + "$id": "29", "StatusCodes": [ 204 ], @@ -369,21 +301,14 @@ "Decorators": [] }, { - "$id": "33", + "$id": "30", "Name": "renamedSix", "ResourceName": "ClientB", "Accessibility": "public", - "Parameters": [ - { - "$ref": "27" - }, - { - "$ref": "29" - } - ], + "Parameters": [], "Responses": [ { - "$id": "34", + "$id": "31", "StatusCodes": [ 204 ], @@ -404,14 +329,47 @@ } ], "Protocol": { - "$id": "35" + "$id": "32" }, "Parameters": [ { - "$ref": "27" + "$id": "33", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "34", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "29" + "$id": "35", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/client/structure/renamed-operation/src/Generated/Docs/Group.xml b/test/CadlRanchProjects/client/structure/renamed-operation/src/Generated/Docs/Group.xml index 0ae7016d92d..32afba84e82 100644 --- a/test/CadlRanchProjects/client/structure/renamed-operation/src/Generated/Docs/Group.xml +++ b/test/CadlRanchProjects/client/structure/renamed-operation/src/Generated/Docs/Group.xml @@ -5,8 +5,8 @@ This sample shows how to call RenamedTwoAsync. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedTwoAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedTwoAsync with all request content. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedTwoAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedTwo. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedTwo(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedTwo with all request content. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedTwo(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedFourAsync. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedFourAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedFourAsync with all request content. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedFourAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedFour. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedFour(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedFour with all request content. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedFour(); @@ -89,8 +89,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedSixAsync. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedSixAsync(); @@ -98,8 +98,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedSixAsync with all request content. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedSixAsync(); @@ -110,8 +110,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedSix. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedSix(); @@ -119,8 +119,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedSix with all request content. "); -Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); +Uri endpoint = new Uri(""); +Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedSix(); diff --git a/test/CadlRanchProjects/client/structure/renamed-operation/src/Generated/Docs/RenamedOperationClient.xml b/test/CadlRanchProjects/client/structure/renamed-operation/src/Generated/Docs/RenamedOperationClient.xml index ed977876a02..2f1c70692dc 100644 --- a/test/CadlRanchProjects/client/structure/renamed-operation/src/Generated/Docs/RenamedOperationClient.xml +++ b/test/CadlRanchProjects/client/structure/renamed-operation/src/Generated/Docs/RenamedOperationClient.xml @@ -5,8 +5,8 @@ This sample shows how to call RenamedOneAsync. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedOneAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedOneAsync with all request content. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedOneAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedOne. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedOne(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedOne with all request content. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedOne(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedThreeAsync. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedThreeAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedThreeAsync with all request content. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedThreeAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedThree. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedThree(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedThree with all request content. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedThree(); @@ -89,8 +89,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedFiveAsync. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedFiveAsync(); @@ -98,8 +98,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedFiveAsync with all request content. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedFiveAsync(); @@ -110,8 +110,8 @@ Console.WriteLine(response.Status); This sample shows how to call RenamedFive. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedFive(); @@ -119,8 +119,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RenamedFive with all request content. "); -RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); +Uri endpoint = new Uri(""); +RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedFive(); diff --git a/test/CadlRanchProjects/client/structure/renamed-operation/tests/Generated/Samples/Samples_Group.cs b/test/CadlRanchProjects/client/structure/renamed-operation/tests/Generated/Samples/Samples_Group.cs index c1c5cede5a5..a954a8fdd12 100644 --- a/test/CadlRanchProjects/client/structure/renamed-operation/tests/Generated/Samples/Samples_Group.cs +++ b/test/CadlRanchProjects/client/structure/renamed-operation/tests/Generated/Samples/Samples_Group.cs @@ -20,8 +20,8 @@ public partial class Samples_Group [Ignore("Only validating compilation of examples")] public void Example_Group_RenamedTwo_ShortVersion() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedTwo(); @@ -32,8 +32,8 @@ public void Example_Group_RenamedTwo_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group_RenamedTwo_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedTwoAsync(); @@ -44,8 +44,8 @@ public async Task Example_Group_RenamedTwo_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group_RenamedTwo_AllParameters() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedTwo(); @@ -56,8 +56,8 @@ public void Example_Group_RenamedTwo_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group_RenamedTwo_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedTwoAsync(); @@ -68,8 +68,8 @@ public async Task Example_Group_RenamedTwo_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Group_RenamedFour_ShortVersion() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedFour(); @@ -80,8 +80,8 @@ public void Example_Group_RenamedFour_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group_RenamedFour_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedFourAsync(); @@ -92,8 +92,8 @@ public async Task Example_Group_RenamedFour_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group_RenamedFour_AllParameters() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedFour(); @@ -104,8 +104,8 @@ public void Example_Group_RenamedFour_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group_RenamedFour_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedFourAsync(); @@ -116,8 +116,8 @@ public async Task Example_Group_RenamedFour_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Group_RenamedSix_ShortVersion() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedSix(); @@ -128,8 +128,8 @@ public void Example_Group_RenamedSix_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group_RenamedSix_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedSixAsync(); @@ -140,8 +140,8 @@ public async Task Example_Group_RenamedSix_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group_RenamedSix_AllParameters() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = client.RenamedSix(); @@ -152,8 +152,8 @@ public void Example_Group_RenamedSix_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group_RenamedSix_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group client = new RenamedOperationClient(endpoint, ClientType.Default).GetGroupClient(); + Uri endpoint = new Uri(""); + Group client = new RenamedOperationClient(endpoint, default).GetGroupClient(); Response response = await client.RenamedSixAsync(); diff --git a/test/CadlRanchProjects/client/structure/renamed-operation/tests/Generated/Samples/Samples_RenamedOperationClient.cs b/test/CadlRanchProjects/client/structure/renamed-operation/tests/Generated/Samples/Samples_RenamedOperationClient.cs index 704f495fa5a..e925f77957a 100644 --- a/test/CadlRanchProjects/client/structure/renamed-operation/tests/Generated/Samples/Samples_RenamedOperationClient.cs +++ b/test/CadlRanchProjects/client/structure/renamed-operation/tests/Generated/Samples/Samples_RenamedOperationClient.cs @@ -20,8 +20,8 @@ public partial class Samples_RenamedOperationClient [Ignore("Only validating compilation of examples")] public void Example_RenamedOperation_RenamedOne_ShortVersion() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedOne(); @@ -32,8 +32,8 @@ public void Example_RenamedOperation_RenamedOne_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedOperation_RenamedOne_ShortVersion_Async() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedOneAsync(); @@ -44,8 +44,8 @@ public async Task Example_RenamedOperation_RenamedOne_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_RenamedOperation_RenamedOne_AllParameters() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedOne(); @@ -56,8 +56,8 @@ public void Example_RenamedOperation_RenamedOne_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedOperation_RenamedOne_AllParameters_Async() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedOneAsync(); @@ -68,8 +68,8 @@ public async Task Example_RenamedOperation_RenamedOne_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_RenamedOperation_RenamedThree_ShortVersion() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedThree(); @@ -80,8 +80,8 @@ public void Example_RenamedOperation_RenamedThree_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedOperation_RenamedThree_ShortVersion_Async() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedThreeAsync(); @@ -92,8 +92,8 @@ public async Task Example_RenamedOperation_RenamedThree_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_RenamedOperation_RenamedThree_AllParameters() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedThree(); @@ -104,8 +104,8 @@ public void Example_RenamedOperation_RenamedThree_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedOperation_RenamedThree_AllParameters_Async() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedThreeAsync(); @@ -116,8 +116,8 @@ public async Task Example_RenamedOperation_RenamedThree_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_RenamedOperation_RenamedFive_ShortVersion() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedFive(); @@ -128,8 +128,8 @@ public void Example_RenamedOperation_RenamedFive_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedOperation_RenamedFive_ShortVersion_Async() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedFiveAsync(); @@ -140,8 +140,8 @@ public async Task Example_RenamedOperation_RenamedFive_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_RenamedOperation_RenamedFive_AllParameters() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = client.RenamedFive(); @@ -152,8 +152,8 @@ public void Example_RenamedOperation_RenamedFive_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedOperation_RenamedFive_AllParameters_Async() { - Uri endpoint = new Uri(""); - RenamedOperationClient client = new RenamedOperationClient(endpoint, ClientType.Default); + Uri endpoint = new Uri(""); + RenamedOperationClient client = new RenamedOperationClient(endpoint, default); Response response = await client.RenamedFiveAsync(); diff --git a/test/CadlRanchProjects/client/structure/renamed-operation/tspCodeModel.json b/test/CadlRanchProjects/client/structure/renamed-operation/tspCodeModel.json index 946703a6c9e..3a0f6751faf 100644 --- a/test/CadlRanchProjects/client/structure/renamed-operation/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/renamed-operation/tspCodeModel.json @@ -119,50 +119,10 @@ "Name": "renamedOne", "ResourceName": "RenamedOperation", "Accessibility": "public", - "Parameters": [ - { - "$id": "16", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "17", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "18", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "19", + "$id": "16", "StatusCodes": [ 204 ], @@ -182,21 +142,14 @@ "Decorators": [] }, { - "$id": "20", + "$id": "17", "Name": "renamedThree", "ResourceName": "RenamedOperation", "Accessibility": "public", - "Parameters": [ - { - "$ref": "16" - }, - { - "$ref": "18" - } - ], + "Parameters": [], "Responses": [ { - "$id": "21", + "$id": "18", "StatusCodes": [ 204 ], @@ -216,21 +169,14 @@ "Decorators": [] }, { - "$id": "22", + "$id": "19", "Name": "renamedFive", "ResourceName": "RenamedOperation", "Accessibility": "public", - "Parameters": [ - { - "$ref": "16" - }, - { - "$ref": "18" - } - ], + "Parameters": [], "Responses": [ { - "$id": "23", + "$id": "20", "StatusCodes": [ 204 ], @@ -251,14 +197,47 @@ } ], "Protocol": { - "$id": "24" + "$id": "21" }, "Parameters": [ { - "$ref": "16" + "$id": "22", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "23", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "18" + "$id": "24", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -272,50 +251,10 @@ "Name": "renamedTwo", "ResourceName": "Group", "Accessibility": "public", - "Parameters": [ - { - "$id": "27", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "28", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "29", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "30", + "$id": "27", "StatusCodes": [ 204 ], @@ -335,21 +274,14 @@ "Decorators": [] }, { - "$id": "31", + "$id": "28", "Name": "renamedFour", "ResourceName": "Group", "Accessibility": "public", - "Parameters": [ - { - "$ref": "27" - }, - { - "$ref": "29" - } - ], + "Parameters": [], "Responses": [ { - "$id": "32", + "$id": "29", "StatusCodes": [ 204 ], @@ -369,21 +301,14 @@ "Decorators": [] }, { - "$id": "33", + "$id": "30", "Name": "renamedSix", "ResourceName": "Group", "Accessibility": "public", - "Parameters": [ - { - "$ref": "27" - }, - { - "$ref": "29" - } - ], + "Parameters": [], "Responses": [ { - "$id": "34", + "$id": "31", "StatusCodes": [ 204 ], @@ -404,15 +329,48 @@ } ], "Protocol": { - "$id": "35" + "$id": "32" }, "Parent": "RenamedOperationClient", "Parameters": [ { - "$ref": "27" + "$id": "33", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "34", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "29" + "$id": "35", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/client/structure/two-operation-group/src/Generated/Docs/Group1.xml b/test/CadlRanchProjects/client/structure/two-operation-group/src/Generated/Docs/Group1.xml index e7fd4b46c09..ac995b78e76 100644 --- a/test/CadlRanchProjects/client/structure/two-operation-group/src/Generated/Docs/Group1.xml +++ b/test/CadlRanchProjects/client/structure/two-operation-group/src/Generated/Docs/Group1.xml @@ -5,8 +5,8 @@ This sample shows how to call OneAsync. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.OneAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call OneAsync with all request content. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.OneAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call One. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.One(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call One with all request content. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.One(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call ThreeAsync. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.ThreeAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ThreeAsync with all request content. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.ThreeAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call Three. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.Three(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Three with all request content. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.Three(); @@ -89,8 +89,8 @@ Console.WriteLine(response.Status); This sample shows how to call FourAsync. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.FourAsync(); @@ -98,8 +98,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call FourAsync with all request content. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.FourAsync(); @@ -110,8 +110,8 @@ Console.WriteLine(response.Status); This sample shows how to call Four. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.Four(); @@ -119,8 +119,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Four with all request content. "); -Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); +Uri endpoint = new Uri(""); +Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.Four(); diff --git a/test/CadlRanchProjects/client/structure/two-operation-group/src/Generated/Docs/Group2.xml b/test/CadlRanchProjects/client/structure/two-operation-group/src/Generated/Docs/Group2.xml index a01524a18e0..e38a2493318 100644 --- a/test/CadlRanchProjects/client/structure/two-operation-group/src/Generated/Docs/Group2.xml +++ b/test/CadlRanchProjects/client/structure/two-operation-group/src/Generated/Docs/Group2.xml @@ -5,8 +5,8 @@ This sample shows how to call TwoAsync. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.TwoAsync(); @@ -14,8 +14,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call TwoAsync with all request content. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.TwoAsync(); @@ -26,8 +26,8 @@ Console.WriteLine(response.Status); This sample shows how to call Two. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Two(); @@ -35,8 +35,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Two with all request content. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Two(); @@ -47,8 +47,8 @@ Console.WriteLine(response.Status); This sample shows how to call FiveAsync. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.FiveAsync(); @@ -56,8 +56,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call FiveAsync with all request content. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.FiveAsync(); @@ -68,8 +68,8 @@ Console.WriteLine(response.Status); This sample shows how to call Five. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Five(); @@ -77,8 +77,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Five with all request content. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Five(); @@ -89,8 +89,8 @@ Console.WriteLine(response.Status); This sample shows how to call SixAsync. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.SixAsync(); @@ -98,8 +98,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call SixAsync with all request content. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.SixAsync(); @@ -110,8 +110,8 @@ Console.WriteLine(response.Status); This sample shows how to call Six. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Six(); @@ -119,8 +119,8 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Six with all request content. "); -Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); +Uri endpoint = new Uri(""); +Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Six(); diff --git a/test/CadlRanchProjects/client/structure/two-operation-group/tests/Generated/Samples/Samples_Group1.cs b/test/CadlRanchProjects/client/structure/two-operation-group/tests/Generated/Samples/Samples_Group1.cs index 161c374b147..cee3c1d9ea5 100644 --- a/test/CadlRanchProjects/client/structure/two-operation-group/tests/Generated/Samples/Samples_Group1.cs +++ b/test/CadlRanchProjects/client/structure/two-operation-group/tests/Generated/Samples/Samples_Group1.cs @@ -20,8 +20,8 @@ public partial class Samples_Group1 [Ignore("Only validating compilation of examples")] public void Example_Group1_One_ShortVersion() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.One(); @@ -32,8 +32,8 @@ public void Example_Group1_One_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group1_One_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.OneAsync(); @@ -44,8 +44,8 @@ public async Task Example_Group1_One_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group1_One_AllParameters() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.One(); @@ -56,8 +56,8 @@ public void Example_Group1_One_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group1_One_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.OneAsync(); @@ -68,8 +68,8 @@ public async Task Example_Group1_One_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Group1_Three_ShortVersion() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.Three(); @@ -80,8 +80,8 @@ public void Example_Group1_Three_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group1_Three_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.ThreeAsync(); @@ -92,8 +92,8 @@ public async Task Example_Group1_Three_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group1_Three_AllParameters() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.Three(); @@ -104,8 +104,8 @@ public void Example_Group1_Three_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group1_Three_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.ThreeAsync(); @@ -116,8 +116,8 @@ public async Task Example_Group1_Three_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Group1_Four_ShortVersion() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.Four(); @@ -128,8 +128,8 @@ public void Example_Group1_Four_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group1_Four_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.FourAsync(); @@ -140,8 +140,8 @@ public async Task Example_Group1_Four_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group1_Four_AllParameters() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = client.Four(); @@ -152,8 +152,8 @@ public void Example_Group1_Four_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group1_Four_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group1 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup1Client(); + Uri endpoint = new Uri(""); + Group1 client = new TwoOperationGroupClient(endpoint, default).GetGroup1Client(); Response response = await client.FourAsync(); diff --git a/test/CadlRanchProjects/client/structure/two-operation-group/tests/Generated/Samples/Samples_Group2.cs b/test/CadlRanchProjects/client/structure/two-operation-group/tests/Generated/Samples/Samples_Group2.cs index dd58c445a6b..ef628432f26 100644 --- a/test/CadlRanchProjects/client/structure/two-operation-group/tests/Generated/Samples/Samples_Group2.cs +++ b/test/CadlRanchProjects/client/structure/two-operation-group/tests/Generated/Samples/Samples_Group2.cs @@ -20,8 +20,8 @@ public partial class Samples_Group2 [Ignore("Only validating compilation of examples")] public void Example_Group2_Two_ShortVersion() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Two(); @@ -32,8 +32,8 @@ public void Example_Group2_Two_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group2_Two_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.TwoAsync(); @@ -44,8 +44,8 @@ public async Task Example_Group2_Two_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group2_Two_AllParameters() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Two(); @@ -56,8 +56,8 @@ public void Example_Group2_Two_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group2_Two_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.TwoAsync(); @@ -68,8 +68,8 @@ public async Task Example_Group2_Two_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Group2_Five_ShortVersion() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Five(); @@ -80,8 +80,8 @@ public void Example_Group2_Five_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group2_Five_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.FiveAsync(); @@ -92,8 +92,8 @@ public async Task Example_Group2_Five_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group2_Five_AllParameters() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Five(); @@ -104,8 +104,8 @@ public void Example_Group2_Five_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group2_Five_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.FiveAsync(); @@ -116,8 +116,8 @@ public async Task Example_Group2_Five_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Group2_Six_ShortVersion() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Six(); @@ -128,8 +128,8 @@ public void Example_Group2_Six_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Group2_Six_ShortVersion_Async() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.SixAsync(); @@ -140,8 +140,8 @@ public async Task Example_Group2_Six_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Group2_Six_AllParameters() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = client.Six(); @@ -152,8 +152,8 @@ public void Example_Group2_Six_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Group2_Six_AllParameters_Async() { - Uri endpoint = new Uri(""); - Group2 client = new TwoOperationGroupClient(endpoint, ClientType.Default).GetGroup2Client(); + Uri endpoint = new Uri(""); + Group2 client = new TwoOperationGroupClient(endpoint, default).GetGroup2Client(); Response response = await client.SixAsync(); diff --git a/test/CadlRanchProjects/client/structure/two-operation-group/tspCodeModel.json b/test/CadlRanchProjects/client/structure/two-operation-group/tspCodeModel.json index 2882ae7da58..ac9645a8d87 100644 --- a/test/CadlRanchProjects/client/structure/two-operation-group/tspCodeModel.json +++ b/test/CadlRanchProjects/client/structure/two-operation-group/tspCodeModel.json @@ -169,50 +169,10 @@ "Name": "one", "ResourceName": "Group1", "Accessibility": "public", - "Parameters": [ - { - "$id": "21", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "22", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "23", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "24", + "$id": "21", "StatusCodes": [ 204 ], @@ -232,21 +192,14 @@ "Decorators": [] }, { - "$id": "25", + "$id": "22", "Name": "three", "ResourceName": "Group1", "Accessibility": "public", - "Parameters": [ - { - "$ref": "21" - }, - { - "$ref": "23" - } - ], + "Parameters": [], "Responses": [ { - "$id": "26", + "$id": "23", "StatusCodes": [ 204 ], @@ -266,21 +219,14 @@ "Decorators": [] }, { - "$id": "27", + "$id": "24", "Name": "four", "ResourceName": "Group1", "Accessibility": "public", - "Parameters": [ - { - "$ref": "21" - }, - { - "$ref": "23" - } - ], + "Parameters": [], "Responses": [ { - "$id": "28", + "$id": "25", "StatusCodes": [ 204 ], @@ -301,15 +247,48 @@ } ], "Protocol": { - "$id": "29" + "$id": "26" }, "Parent": "TwoOperationGroupClient", "Parameters": [ { - "$ref": "21" + "$id": "27", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "28", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "23" + "$id": "29", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -323,50 +302,10 @@ "Name": "two", "ResourceName": "Group2", "Accessibility": "public", - "Parameters": [ - { - "$id": "32", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "33", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "34", - "Name": "client", - "NameInRequest": "client", - "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "35", + "$id": "32", "StatusCodes": [ 204 ], @@ -386,21 +325,14 @@ "Decorators": [] }, { - "$id": "36", + "$id": "33", "Name": "five", "ResourceName": "Group2", "Accessibility": "public", - "Parameters": [ - { - "$ref": "32" - }, - { - "$ref": "34" - } - ], + "Parameters": [], "Responses": [ { - "$id": "37", + "$id": "34", "StatusCodes": [ 204 ], @@ -420,21 +352,14 @@ "Decorators": [] }, { - "$id": "38", + "$id": "35", "Name": "six", "ResourceName": "Group2", "Accessibility": "public", - "Parameters": [ - { - "$ref": "32" - }, - { - "$ref": "34" - } - ], + "Parameters": [], "Responses": [ { - "$id": "39", + "$id": "36", "StatusCodes": [ 204 ], @@ -455,15 +380,48 @@ } ], "Protocol": { - "$id": "40" + "$id": "37" }, "Parent": "TwoOperationGroupClient", "Parameters": [ { - "$ref": "32" + "$id": "38", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "39", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "34" + "$id": "40", + "Name": "client", + "NameInRequest": "client", + "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/encode/bytes/tspCodeModel.json b/test/CadlRanchProjects/encode/bytes/tspCodeModel.json index 864718c777f..eb105f2d034 100644 --- a/test/CadlRanchProjects/encode/bytes/tspCodeModel.json +++ b/test/CadlRanchProjects/encode/bytes/tspCodeModel.json @@ -196,41 +196,10 @@ "Parameters": [ { "$id": "24", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "25", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "26", - "Type": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "28", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "29", + "$id": "25", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -250,7 +219,7 @@ ], "Responses": [ { - "$id": "30", + "$id": "26", "StatusCodes": [ 204 ], @@ -270,20 +239,17 @@ "Decorators": [] }, { - "$id": "31", + "$id": "27", "Name": "base64", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "24" - }, - { - "$id": "32", + "$id": "28", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "33", + "$id": "29", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -303,7 +269,7 @@ ], "Responses": [ { - "$id": "34", + "$id": "30", "StatusCodes": [ 204 ], @@ -323,20 +289,17 @@ "Decorators": [] }, { - "$id": "35", + "$id": "31", "Name": "base64url", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "24" - }, - { - "$id": "36", + "$id": "32", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "37", + "$id": "33", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -356,7 +319,7 @@ ], "Responses": [ { - "$id": "38", + "$id": "34", "StatusCodes": [ 204 ], @@ -376,30 +339,27 @@ "Decorators": [] }, { - "$id": "39", + "$id": "35", "Name": "base64urlArray", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "24" - }, - { - "$id": "40", + "$id": "36", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "41", + "$id": "37", "kind": "array", "name": "Array", "valueType": { - "$id": "42", + "$id": "38", "kind": "bytes", "name": "base64urlBytes", "encode": "base64url", "crossLanguageDefinitionId": "Encode.Bytes.base64urlBytes", "baseType": { - "$id": "43", + "$id": "39", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -425,7 +385,7 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 204 ], @@ -446,12 +406,40 @@ } ], "Protocol": { - "$id": "45" + "$id": "41" }, "Parent": "BytesClient", "Parameters": [ { - "$ref": "24" + "$id": "42", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "43", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "44", + "Type": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -468,45 +456,14 @@ "Parameters": [ { "$id": "48", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "49", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "50", - "Type": { - "$id": "51", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "52", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "53", + "$id": "49", "kind": "constant", "valueType": { - "$id": "54", + "$id": "50", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -526,14 +483,14 @@ "SkipUrlEncoding": false }, { - "$id": "55", + "$id": "51", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "56", + "$id": "52", "kind": "constant", "valueType": { - "$id": "57", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -553,7 +510,7 @@ "SkipUrlEncoding": false }, { - "$id": "58", + "$id": "54", "Name": "body", "NameInRequest": "body", "Type": { @@ -572,7 +529,7 @@ ], "Responses": [ { - "$id": "59", + "$id": "55", "StatusCodes": [ 200 ], @@ -601,24 +558,21 @@ "Decorators": [] }, { - "$id": "60", + "$id": "56", "Name": "base64", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "48" - }, - { - "$id": "61", + "$id": "57", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "62", + "$id": "58", "kind": "constant", "valueType": { - "$id": "63", + "$id": "59", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -638,14 +592,14 @@ "SkipUrlEncoding": false }, { - "$id": "64", + "$id": "60", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "65", + "$id": "61", "kind": "constant", "valueType": { - "$id": "66", + "$id": "62", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -665,7 +619,7 @@ "SkipUrlEncoding": false }, { - "$id": "67", + "$id": "63", "Name": "body", "NameInRequest": "body", "Type": { @@ -684,7 +638,7 @@ ], "Responses": [ { - "$id": "68", + "$id": "64", "StatusCodes": [ 200 ], @@ -713,24 +667,21 @@ "Decorators": [] }, { - "$id": "69", + "$id": "65", "Name": "base64url", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "48" - }, - { - "$id": "70", + "$id": "66", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "71", + "$id": "67", "kind": "constant", "valueType": { - "$id": "72", + "$id": "68", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -750,14 +701,14 @@ "SkipUrlEncoding": false }, { - "$id": "73", + "$id": "69", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "74", + "$id": "70", "kind": "constant", "valueType": { - "$id": "75", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -777,7 +728,7 @@ "SkipUrlEncoding": false }, { - "$id": "76", + "$id": "72", "Name": "body", "NameInRequest": "body", "Type": { @@ -796,7 +747,7 @@ ], "Responses": [ { - "$id": "77", + "$id": "73", "StatusCodes": [ 200 ], @@ -825,24 +776,21 @@ "Decorators": [] }, { - "$id": "78", + "$id": "74", "Name": "base64urlArray", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "48" - }, - { - "$id": "79", + "$id": "75", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "80", + "$id": "76", "kind": "constant", "valueType": { - "$id": "81", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -862,14 +810,14 @@ "SkipUrlEncoding": false }, { - "$id": "82", + "$id": "78", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "83", + "$id": "79", "kind": "constant", "valueType": { - "$id": "84", + "$id": "80", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -889,7 +837,7 @@ "SkipUrlEncoding": false }, { - "$id": "85", + "$id": "81", "Name": "body", "NameInRequest": "body", "Type": { @@ -908,7 +856,7 @@ ], "Responses": [ { - "$id": "86", + "$id": "82", "StatusCodes": [ 200 ], @@ -938,12 +886,40 @@ } ], "Protocol": { - "$id": "87" + "$id": "83" }, "Parent": "BytesClient", "Parameters": [ { - "$ref": "48" + "$id": "84", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "85", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "86", + "Type": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -960,41 +936,10 @@ "Parameters": [ { "$id": "90", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "91", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "92", - "Type": { - "$id": "93", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "94", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "95", + "$id": "91", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1014,7 +959,7 @@ ], "Responses": [ { - "$id": "96", + "$id": "92", "StatusCodes": [ 204 ], @@ -1034,20 +979,17 @@ "Decorators": [] }, { - "$id": "97", + "$id": "93", "Name": "base64", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "90" - }, - { - "$id": "98", + "$id": "94", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "99", + "$id": "95", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1067,7 +1009,7 @@ ], "Responses": [ { - "$id": "100", + "$id": "96", "StatusCodes": [ 204 ], @@ -1087,20 +1029,17 @@ "Decorators": [] }, { - "$id": "101", + "$id": "97", "Name": "base64url", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "90" - }, - { - "$id": "102", + "$id": "98", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "103", + "$id": "99", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -1120,7 +1059,7 @@ ], "Responses": [ { - "$id": "104", + "$id": "100", "StatusCodes": [ 204 ], @@ -1140,30 +1079,27 @@ "Decorators": [] }, { - "$id": "105", + "$id": "101", "Name": "base64urlArray", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "90" - }, - { - "$id": "106", + "$id": "102", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "107", + "$id": "103", "kind": "array", "name": "Array", "valueType": { - "$id": "108", + "$id": "104", "kind": "bytes", "name": "base64urlBytes", "encode": "base64url", "crossLanguageDefinitionId": "Encode.Bytes.base64urlBytes", "baseType": { - "$id": "109", + "$id": "105", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1189,7 +1125,7 @@ ], "Responses": [ { - "$id": "110", + "$id": "106", "StatusCodes": [ 204 ], @@ -1210,12 +1146,40 @@ } ], "Protocol": { - "$id": "111" + "$id": "107" }, "Parent": "BytesClient", "Parameters": [ { - "$ref": "90" + "$id": "108", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "109", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "110", + "Type": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1232,45 +1196,14 @@ "Parameters": [ { "$id": "114", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "115", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "116", - "Type": { - "$id": "117", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "118", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "119", + "$id": "115", "kind": "constant", "valueType": { - "$id": "120", + "$id": "116", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1290,11 +1223,11 @@ "SkipUrlEncoding": false }, { - "$id": "121", + "$id": "117", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "122", + "$id": "118", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1314,7 +1247,7 @@ ], "Responses": [ { - "$id": "123", + "$id": "119", "StatusCodes": [ 204 ], @@ -1337,23 +1270,20 @@ "Decorators": [] }, { - "$id": "124", + "$id": "120", "Name": "octetStream", "ResourceName": "RequestBody", "Accessibility": "public", "Parameters": [ { - "$ref": "114" - }, - { - "$id": "125", + "$id": "121", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "126", + "$id": "122", "kind": "constant", "valueType": { - "$id": "127", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1373,11 +1303,11 @@ "SkipUrlEncoding": false }, { - "$id": "128", + "$id": "124", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "129", + "$id": "125", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -1396,7 +1326,7 @@ ], "Responses": [ { - "$id": "130", + "$id": "126", "StatusCodes": [ 204 ], @@ -1419,23 +1349,20 @@ "Decorators": [] }, { - "$id": "131", + "$id": "127", "Name": "customContentType", "ResourceName": "RequestBody", "Accessibility": "public", "Parameters": [ { - "$ref": "114" - }, - { - "$id": "132", + "$id": "128", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "133", + "$id": "129", "kind": "constant", "valueType": { - "$id": "134", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1455,11 +1382,11 @@ "SkipUrlEncoding": false }, { - "$id": "135", + "$id": "131", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "136", + "$id": "132", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -1478,7 +1405,7 @@ ], "Responses": [ { - "$id": "137", + "$id": "133", "StatusCodes": [ 204 ], @@ -1501,24 +1428,21 @@ "Decorators": [] }, { - "$id": "138", + "$id": "134", "Name": "base64", "ResourceName": "RequestBody", "Accessibility": "public", "Parameters": [ { - "$ref": "114" - }, - { - "$id": "139", + "$id": "135", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "140", + "$id": "136", "kind": "constant", "valueType": { - "$id": "141", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1538,11 +1462,11 @@ "SkipUrlEncoding": false }, { - "$id": "142", + "$id": "138", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "143", + "$id": "139", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1562,7 +1486,7 @@ ], "Responses": [ { - "$id": "144", + "$id": "140", "StatusCodes": [ 204 ], @@ -1585,24 +1509,21 @@ "Decorators": [] }, { - "$id": "145", + "$id": "141", "Name": "base64url", "ResourceName": "RequestBody", "Accessibility": "public", "Parameters": [ { - "$ref": "114" - }, - { - "$id": "146", + "$id": "142", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "147", + "$id": "143", "kind": "constant", "valueType": { - "$id": "148", + "$id": "144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1622,11 +1543,11 @@ "SkipUrlEncoding": false }, { - "$id": "149", + "$id": "145", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "150", + "$id": "146", "kind": "bytes", "name": "bytes", "encode": "base64url", @@ -1646,7 +1567,7 @@ ], "Responses": [ { - "$id": "151", + "$id": "147", "StatusCodes": [ 204 ], @@ -1670,12 +1591,40 @@ } ], "Protocol": { - "$id": "152" + "$id": "148" }, "Parent": "BytesClient", "Parameters": [ { - "$ref": "114" + "$id": "149", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "150", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "151", + "Type": { + "$id": "152", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1692,44 +1641,13 @@ "Parameters": [ { "$id": "155", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "156", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "157", - "Type": { - "$id": "158", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "159", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "160", + "$id": "156", "kind": "constant", "valueType": { - "$id": "161", + "$id": "157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1751,12 +1669,12 @@ ], "Responses": [ { - "$id": "162", + "$id": "158", "StatusCodes": [ 200 ], "BodyType": { - "$id": "163", + "$id": "159", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1782,23 +1700,20 @@ "Decorators": [] }, { - "$id": "164", + "$id": "160", "Name": "octetStream", "ResourceName": "ResponseBody", "Accessibility": "public", "Parameters": [ { - "$ref": "155" - }, - { - "$id": "165", + "$id": "161", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "166", + "$id": "162", "kind": "constant", "valueType": { - "$id": "167", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1820,12 +1735,12 @@ ], "Responses": [ { - "$id": "168", + "$id": "164", "StatusCodes": [ 200 ], "BodyType": { - "$id": "169", + "$id": "165", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1835,14 +1750,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "170", + "$id": "166", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "171", + "$id": "167", "kind": "constant", "valueType": { - "$id": "172", + "$id": "168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1870,23 +1785,20 @@ "Decorators": [] }, { - "$id": "173", + "$id": "169", "Name": "customContentType", "ResourceName": "ResponseBody", "Accessibility": "public", "Parameters": [ { - "$ref": "155" - }, - { - "$id": "174", + "$id": "170", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "175", + "$id": "171", "kind": "constant", "valueType": { - "$id": "176", + "$id": "172", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1908,12 +1820,12 @@ ], "Responses": [ { - "$id": "177", + "$id": "173", "StatusCodes": [ 200 ], "BodyType": { - "$id": "178", + "$id": "174", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -1923,14 +1835,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "179", + "$id": "175", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "180", + "$id": "176", "kind": "constant", "valueType": { - "$id": "181", + "$id": "177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1958,23 +1870,20 @@ "Decorators": [] }, { - "$id": "182", + "$id": "178", "Name": "base64", "ResourceName": "ResponseBody", "Accessibility": "public", "Parameters": [ { - "$ref": "155" - }, - { - "$id": "183", + "$id": "179", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "184", + "$id": "180", "kind": "constant", "valueType": { - "$id": "185", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1996,12 +1905,12 @@ ], "Responses": [ { - "$id": "186", + "$id": "182", "StatusCodes": [ 200 ], "BodyType": { - "$id": "187", + "$id": "183", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -2027,23 +1936,20 @@ "Decorators": [] }, { - "$id": "188", + "$id": "184", "Name": "base64url", "ResourceName": "ResponseBody", "Accessibility": "public", "Parameters": [ { - "$ref": "155" - }, - { - "$id": "189", + "$id": "185", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "190", + "$id": "186", "kind": "constant", "valueType": { - "$id": "191", + "$id": "187", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2065,18 +1971,18 @@ ], "Responses": [ { - "$id": "192", + "$id": "188", "StatusCodes": [ 200 ], "BodyType": { - "$id": "193", + "$id": "189", "kind": "bytes", "name": "base64urlBytes", "encode": "base64url", "crossLanguageDefinitionId": "Encode.Bytes.base64urlBytes", "baseType": { - "$id": "194", + "$id": "190", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -2105,12 +2011,40 @@ } ], "Protocol": { - "$id": "195" + "$id": "191" }, "Parent": "BytesClient", "Parameters": [ { - "$ref": "155" + "$id": "192", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "193", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "194", + "Type": { + "$id": "195", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/encode/datetime/tspCodeModel.json b/test/CadlRanchProjects/encode/datetime/tspCodeModel.json index b8b048c8ff3..36ee372f315 100644 --- a/test/CadlRanchProjects/encode/datetime/tspCodeModel.json +++ b/test/CadlRanchProjects/encode/datetime/tspCodeModel.json @@ -268,46 +268,15 @@ "Parameters": [ { "$id": "33", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "34", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "35", - "Type": { - "$id": "36", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "37", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "38", + "$id": "34", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "39", + "$id": "35", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -329,7 +298,7 @@ ], "Responses": [ { - "$id": "40", + "$id": "36", "StatusCodes": [ 204 ], @@ -349,25 +318,22 @@ "Decorators": [] }, { - "$id": "41", + "$id": "37", "Name": "rfc3339", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "33" - }, - { - "$id": "42", + "$id": "38", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "43", + "$id": "39", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "44", + "$id": "40", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -389,7 +355,7 @@ ], "Responses": [ { - "$id": "45", + "$id": "41", "StatusCodes": [ 204 ], @@ -409,25 +375,22 @@ "Decorators": [] }, { - "$id": "46", + "$id": "42", "Name": "rfc7231", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "33" - }, - { - "$id": "47", + "$id": "43", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "48", + "$id": "44", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "49", + "$id": "45", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -449,7 +412,7 @@ ], "Responses": [ { - "$id": "50", + "$id": "46", "StatusCodes": [ 204 ], @@ -469,25 +432,22 @@ "Decorators": [] }, { - "$id": "51", + "$id": "47", "Name": "unixTimestamp", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "33" - }, - { - "$id": "52", + "$id": "48", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "53", + "$id": "49", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "54", + "$id": "50", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -509,7 +469,7 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 204 ], @@ -529,29 +489,26 @@ "Decorators": [] }, { - "$id": "56", + "$id": "52", "Name": "unixTimestampArray", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "33" - }, - { - "$id": "57", + "$id": "53", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "58", + "$id": "54", "kind": "array", "name": "Array", "valueType": { - "$id": "59", + "$id": "55", "kind": "utcDateTime", "name": "unixTimestampDatetime", "encode": "unixTimestamp", "wireType": { - "$id": "60", + "$id": "56", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -559,12 +516,12 @@ }, "crossLanguageDefinitionId": "Encode.Datetime.unixTimestampDatetime", "baseType": { - "$id": "61", + "$id": "57", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "62", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -592,7 +549,7 @@ ], "Responses": [ { - "$id": "63", + "$id": "59", "StatusCodes": [ 204 ], @@ -613,12 +570,40 @@ } ], "Protocol": { - "$id": "64" + "$id": "60" }, "Parent": "DatetimeClient", "Parameters": [ { - "$ref": "33" + "$id": "61", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "62", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "63", + "Type": { + "$id": "64", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -635,45 +620,14 @@ "Parameters": [ { "$id": "67", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "68", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "69", - "Type": { - "$id": "70", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "71", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "72", + "$id": "68", "kind": "constant", "valueType": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -693,14 +647,14 @@ "SkipUrlEncoding": false }, { - "$id": "74", + "$id": "70", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "75", + "$id": "71", "kind": "constant", "valueType": { - "$id": "76", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -720,7 +674,7 @@ "SkipUrlEncoding": false }, { - "$id": "77", + "$id": "73", "Name": "body", "NameInRequest": "body", "Type": { @@ -739,7 +693,7 @@ ], "Responses": [ { - "$id": "78", + "$id": "74", "StatusCodes": [ 200 ], @@ -768,24 +722,21 @@ "Decorators": [] }, { - "$id": "79", + "$id": "75", "Name": "rfc3339", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "80", + "$id": "76", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "81", + "$id": "77", "kind": "constant", "valueType": { - "$id": "82", + "$id": "78", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -805,14 +756,14 @@ "SkipUrlEncoding": false }, { - "$id": "83", + "$id": "79", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "84", + "$id": "80", "kind": "constant", "valueType": { - "$id": "85", + "$id": "81", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -832,7 +783,7 @@ "SkipUrlEncoding": false }, { - "$id": "86", + "$id": "82", "Name": "body", "NameInRequest": "body", "Type": { @@ -851,7 +802,7 @@ ], "Responses": [ { - "$id": "87", + "$id": "83", "StatusCodes": [ 200 ], @@ -880,24 +831,21 @@ "Decorators": [] }, { - "$id": "88", + "$id": "84", "Name": "rfc7231", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "89", + "$id": "85", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -917,14 +865,14 @@ "SkipUrlEncoding": false }, { - "$id": "92", + "$id": "88", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "93", + "$id": "89", "kind": "constant", "valueType": { - "$id": "94", + "$id": "90", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -944,7 +892,7 @@ "SkipUrlEncoding": false }, { - "$id": "95", + "$id": "91", "Name": "body", "NameInRequest": "body", "Type": { @@ -963,7 +911,7 @@ ], "Responses": [ { - "$id": "96", + "$id": "92", "StatusCodes": [ 200 ], @@ -992,24 +940,21 @@ "Decorators": [] }, { - "$id": "97", + "$id": "93", "Name": "unixTimestamp", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "98", + "$id": "94", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "99", + "$id": "95", "kind": "constant", "valueType": { - "$id": "100", + "$id": "96", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1029,14 +974,14 @@ "SkipUrlEncoding": false }, { - "$id": "101", + "$id": "97", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "102", + "$id": "98", "kind": "constant", "valueType": { - "$id": "103", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1056,7 +1001,7 @@ "SkipUrlEncoding": false }, { - "$id": "104", + "$id": "100", "Name": "body", "NameInRequest": "body", "Type": { @@ -1075,7 +1020,7 @@ ], "Responses": [ { - "$id": "105", + "$id": "101", "StatusCodes": [ 200 ], @@ -1104,24 +1049,21 @@ "Decorators": [] }, { - "$id": "106", + "$id": "102", "Name": "unixTimestampArray", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "107", + "$id": "103", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "108", + "$id": "104", "kind": "constant", "valueType": { - "$id": "109", + "$id": "105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1141,14 +1083,14 @@ "SkipUrlEncoding": false }, { - "$id": "110", + "$id": "106", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "111", + "$id": "107", "kind": "constant", "valueType": { - "$id": "112", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1168,7 +1110,7 @@ "SkipUrlEncoding": false }, { - "$id": "113", + "$id": "109", "Name": "body", "NameInRequest": "body", "Type": { @@ -1187,7 +1129,7 @@ ], "Responses": [ { - "$id": "114", + "$id": "110", "StatusCodes": [ 200 ], @@ -1217,12 +1159,40 @@ } ], "Protocol": { - "$id": "115" + "$id": "111" }, "Parent": "DatetimeClient", "Parameters": [ { - "$ref": "67" + "$id": "112", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "113", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "114", + "Type": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1239,46 +1209,15 @@ "Parameters": [ { "$id": "118", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "119", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "120", - "Type": { - "$id": "121", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "122", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "123", + "$id": "119", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "124", + "$id": "120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1300,7 +1239,7 @@ ], "Responses": [ { - "$id": "125", + "$id": "121", "StatusCodes": [ 204 ], @@ -1320,25 +1259,22 @@ "Decorators": [] }, { - "$id": "126", + "$id": "122", "Name": "rfc3339", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "118" - }, - { - "$id": "127", + "$id": "123", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "128", + "$id": "124", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "129", + "$id": "125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1360,7 +1296,7 @@ ], "Responses": [ { - "$id": "130", + "$id": "126", "StatusCodes": [ 204 ], @@ -1380,25 +1316,22 @@ "Decorators": [] }, { - "$id": "131", + "$id": "127", "Name": "rfc7231", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "118" - }, - { - "$id": "132", + "$id": "128", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "133", + "$id": "129", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "134", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1420,7 +1353,7 @@ ], "Responses": [ { - "$id": "135", + "$id": "131", "StatusCodes": [ 204 ], @@ -1440,25 +1373,22 @@ "Decorators": [] }, { - "$id": "136", + "$id": "132", "Name": "unixTimestamp", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "118" - }, - { - "$id": "137", + "$id": "133", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "138", + "$id": "134", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "139", + "$id": "135", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -1480,7 +1410,7 @@ ], "Responses": [ { - "$id": "140", + "$id": "136", "StatusCodes": [ 204 ], @@ -1500,29 +1430,26 @@ "Decorators": [] }, { - "$id": "141", + "$id": "137", "Name": "unixTimestampArray", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "118" - }, - { - "$id": "142", + "$id": "138", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "143", + "$id": "139", "kind": "array", "name": "Array", "valueType": { - "$id": "144", + "$id": "140", "kind": "utcDateTime", "name": "unixTimestampDatetime", "encode": "unixTimestamp", "wireType": { - "$id": "145", + "$id": "141", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -1530,12 +1457,12 @@ }, "crossLanguageDefinitionId": "Encode.Datetime.unixTimestampDatetime", "baseType": { - "$id": "146", + "$id": "142", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "147", + "$id": "143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1563,7 +1490,7 @@ ], "Responses": [ { - "$id": "148", + "$id": "144", "StatusCodes": [ 204 ], @@ -1584,12 +1511,40 @@ } ], "Protocol": { - "$id": "149" + "$id": "145" }, "Parent": "DatetimeClient", "Parameters": [ { - "$ref": "118" + "$id": "146", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "147", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "148", + "Type": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1603,58 +1558,26 @@ "Name": "default", "ResourceName": "ResponseHeader", "Accessibility": "public", - "Parameters": [ - { - "$id": "152", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "153", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "154", - "Type": { - "$id": "155", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "156", + "$id": "152", "StatusCodes": [ 204 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "157", + "$id": "153", "Name": "value", "NameInResponse": "value", "Type": { - "$id": "158", + "$id": "154", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "159", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1679,34 +1602,30 @@ "Decorators": [] }, { - "$id": "160", + "$id": "156", "Name": "rfc3339", "ResourceName": "ResponseHeader", "Accessibility": "public", - "Parameters": [ - { - "$ref": "152" - } - ], + "Parameters": [], "Responses": [ { - "$id": "161", + "$id": "157", "StatusCodes": [ 204 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "162", + "$id": "158", "Name": "value", "NameInResponse": "value", "Type": { - "$id": "163", + "$id": "159", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "164", + "$id": "160", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1731,34 +1650,30 @@ "Decorators": [] }, { - "$id": "165", + "$id": "161", "Name": "rfc7231", "ResourceName": "ResponseHeader", "Accessibility": "public", - "Parameters": [ - { - "$ref": "152" - } - ], + "Parameters": [], "Responses": [ { - "$id": "166", + "$id": "162", "StatusCodes": [ 204 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "167", + "$id": "163", "Name": "value", "NameInResponse": "value", "Type": { - "$id": "168", + "$id": "164", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "169", + "$id": "165", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1783,34 +1698,30 @@ "Decorators": [] }, { - "$id": "170", + "$id": "166", "Name": "unixTimestamp", "ResourceName": "ResponseHeader", "Accessibility": "public", - "Parameters": [ - { - "$ref": "152" - } - ], + "Parameters": [], "Responses": [ { - "$id": "171", + "$id": "167", "StatusCodes": [ 204 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "172", + "$id": "168", "Name": "value", "NameInResponse": "value", "Type": { - "$id": "173", + "$id": "169", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "174", + "$id": "170", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -1836,12 +1747,40 @@ } ], "Protocol": { - "$id": "175" + "$id": "171" }, "Parent": "DatetimeClient", "Parameters": [ { - "$ref": "152" + "$id": "172", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "173", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "174", + "Type": { + "$id": "175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/encode/duration/tspCodeModel.json b/test/CadlRanchProjects/encode/duration/tspCodeModel.json index 223000e5196..f260fca7a3b 100644 --- a/test/CadlRanchProjects/encode/duration/tspCodeModel.json +++ b/test/CadlRanchProjects/encode/duration/tspCodeModel.json @@ -305,46 +305,15 @@ "Parameters": [ { "$id": "37", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "38", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "39", - "Type": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "41", "Name": "input", "NameInRequest": "input", "Type": { - "$id": "42", + "$id": "38", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "43", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -366,7 +335,7 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 204 ], @@ -386,25 +355,22 @@ "Decorators": [] }, { - "$id": "45", + "$id": "41", "Name": "iso8601", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "37" - }, - { - "$id": "46", + "$id": "42", "Name": "input", "NameInRequest": "input", "Type": { - "$id": "47", + "$id": "43", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -426,7 +392,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "45", "StatusCodes": [ 204 ], @@ -446,25 +412,22 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "int32Seconds", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "37" - }, - { - "$id": "51", + "$id": "47", "Name": "input", "NameInRequest": "input", "Type": { - "$id": "52", + "$id": "48", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "53", + "$id": "49", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -486,7 +449,7 @@ ], "Responses": [ { - "$id": "54", + "$id": "50", "StatusCodes": [ 204 ], @@ -506,25 +469,22 @@ "Decorators": [] }, { - "$id": "55", + "$id": "51", "Name": "floatSeconds", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "37" - }, - { - "$id": "56", + "$id": "52", "Name": "input", "NameInRequest": "input", "Type": { - "$id": "57", + "$id": "53", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "58", + "$id": "54", "kind": "float", "name": "float", "crossLanguageDefinitionId": "TypeSpec.float", @@ -546,7 +506,7 @@ ], "Responses": [ { - "$id": "59", + "$id": "55", "StatusCodes": [ 204 ], @@ -566,25 +526,22 @@ "Decorators": [] }, { - "$id": "60", + "$id": "56", "Name": "float64Seconds", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "37" - }, - { - "$id": "61", + "$id": "57", "Name": "input", "NameInRequest": "input", "Type": { - "$id": "62", + "$id": "58", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "63", + "$id": "59", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -606,7 +563,7 @@ ], "Responses": [ { - "$id": "64", + "$id": "60", "StatusCodes": [ 204 ], @@ -626,29 +583,26 @@ "Decorators": [] }, { - "$id": "65", + "$id": "61", "Name": "int32SecondsArray", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "37" - }, - { - "$id": "66", + "$id": "62", "Name": "input", "NameInRequest": "input", "Type": { - "$id": "67", + "$id": "63", "kind": "array", "name": "Array", "valueType": { - "$id": "68", + "$id": "64", "kind": "duration", "name": "Int32Duration", "encode": "seconds", "wireType": { - "$id": "69", + "$id": "65", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -656,12 +610,12 @@ }, "crossLanguageDefinitionId": "Encode.Duration.Query.Int32Duration", "baseType": { - "$id": "70", + "$id": "66", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "71", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -689,7 +643,7 @@ ], "Responses": [ { - "$id": "72", + "$id": "68", "StatusCodes": [ 204 ], @@ -710,12 +664,40 @@ } ], "Protocol": { - "$id": "73" + "$id": "69" }, "Parent": "DurationClient", "Parameters": [ { - "$ref": "37" + "$id": "70", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "71", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "72", + "Type": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -732,45 +714,14 @@ "Parameters": [ { "$id": "76", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "77", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "78", - "Type": { - "$id": "79", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "80", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "81", + "$id": "77", "kind": "constant", "valueType": { - "$id": "82", + "$id": "78", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -790,14 +741,14 @@ "SkipUrlEncoding": false }, { - "$id": "83", + "$id": "79", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "84", + "$id": "80", "kind": "constant", "valueType": { - "$id": "85", + "$id": "81", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -817,7 +768,7 @@ "SkipUrlEncoding": false }, { - "$id": "86", + "$id": "82", "Name": "body", "NameInRequest": "body", "Type": { @@ -836,7 +787,7 @@ ], "Responses": [ { - "$id": "87", + "$id": "83", "StatusCodes": [ 200 ], @@ -865,24 +816,21 @@ "Decorators": [] }, { - "$id": "88", + "$id": "84", "Name": "iso8601", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "76" - }, - { - "$id": "89", + "$id": "85", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -902,14 +850,14 @@ "SkipUrlEncoding": false }, { - "$id": "92", + "$id": "88", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "93", + "$id": "89", "kind": "constant", "valueType": { - "$id": "94", + "$id": "90", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -929,7 +877,7 @@ "SkipUrlEncoding": false }, { - "$id": "95", + "$id": "91", "Name": "body", "NameInRequest": "body", "Type": { @@ -948,7 +896,7 @@ ], "Responses": [ { - "$id": "96", + "$id": "92", "StatusCodes": [ 200 ], @@ -977,24 +925,21 @@ "Decorators": [] }, { - "$id": "97", + "$id": "93", "Name": "int32Seconds", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "76" - }, - { - "$id": "98", + "$id": "94", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "99", + "$id": "95", "kind": "constant", "valueType": { - "$id": "100", + "$id": "96", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1014,14 +959,14 @@ "SkipUrlEncoding": false }, { - "$id": "101", + "$id": "97", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "102", + "$id": "98", "kind": "constant", "valueType": { - "$id": "103", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1041,7 +986,7 @@ "SkipUrlEncoding": false }, { - "$id": "104", + "$id": "100", "Name": "body", "NameInRequest": "body", "Type": { @@ -1060,7 +1005,7 @@ ], "Responses": [ { - "$id": "105", + "$id": "101", "StatusCodes": [ 200 ], @@ -1089,24 +1034,21 @@ "Decorators": [] }, { - "$id": "106", + "$id": "102", "Name": "floatSeconds", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "76" - }, - { - "$id": "107", + "$id": "103", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "108", + "$id": "104", "kind": "constant", "valueType": { - "$id": "109", + "$id": "105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1126,14 +1068,14 @@ "SkipUrlEncoding": false }, { - "$id": "110", + "$id": "106", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "111", + "$id": "107", "kind": "constant", "valueType": { - "$id": "112", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1153,7 +1095,7 @@ "SkipUrlEncoding": false }, { - "$id": "113", + "$id": "109", "Name": "body", "NameInRequest": "body", "Type": { @@ -1172,7 +1114,7 @@ ], "Responses": [ { - "$id": "114", + "$id": "110", "StatusCodes": [ 200 ], @@ -1201,24 +1143,21 @@ "Decorators": [] }, { - "$id": "115", + "$id": "111", "Name": "float64Seconds", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "76" - }, - { - "$id": "116", + "$id": "112", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "117", + "$id": "113", "kind": "constant", "valueType": { - "$id": "118", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1238,14 +1177,14 @@ "SkipUrlEncoding": false }, { - "$id": "119", + "$id": "115", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "120", + "$id": "116", "kind": "constant", "valueType": { - "$id": "121", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1265,7 +1204,7 @@ "SkipUrlEncoding": false }, { - "$id": "122", + "$id": "118", "Name": "body", "NameInRequest": "body", "Type": { @@ -1284,7 +1223,7 @@ ], "Responses": [ { - "$id": "123", + "$id": "119", "StatusCodes": [ 200 ], @@ -1313,24 +1252,21 @@ "Decorators": [] }, { - "$id": "124", + "$id": "120", "Name": "floatSecondsArray", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "76" - }, - { - "$id": "125", + "$id": "121", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "126", + "$id": "122", "kind": "constant", "valueType": { - "$id": "127", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1350,14 +1286,14 @@ "SkipUrlEncoding": false }, { - "$id": "128", + "$id": "124", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "129", + "$id": "125", "kind": "constant", "valueType": { - "$id": "130", + "$id": "126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1377,7 +1313,7 @@ "SkipUrlEncoding": false }, { - "$id": "131", + "$id": "127", "Name": "body", "NameInRequest": "body", "Type": { @@ -1396,7 +1332,7 @@ ], "Responses": [ { - "$id": "132", + "$id": "128", "StatusCodes": [ 200 ], @@ -1426,12 +1362,40 @@ } ], "Protocol": { - "$id": "133" + "$id": "129" }, "Parent": "DurationClient", "Parameters": [ { - "$ref": "76" + "$id": "130", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "131", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "132", + "Type": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1448,46 +1412,15 @@ "Parameters": [ { "$id": "136", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "137", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "138", - "Type": { - "$id": "139", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "140", "Name": "duration", "NameInRequest": "duration", "Type": { - "$id": "141", + "$id": "137", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "142", + "$id": "138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1509,7 +1442,7 @@ ], "Responses": [ { - "$id": "143", + "$id": "139", "StatusCodes": [ 204 ], @@ -1529,25 +1462,22 @@ "Decorators": [] }, { - "$id": "144", + "$id": "140", "Name": "iso8601", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "136" - }, - { - "$id": "145", + "$id": "141", "Name": "duration", "NameInRequest": "duration", "Type": { - "$id": "146", + "$id": "142", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "147", + "$id": "143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1569,7 +1499,7 @@ ], "Responses": [ { - "$id": "148", + "$id": "144", "StatusCodes": [ 204 ], @@ -1589,29 +1519,26 @@ "Decorators": [] }, { - "$id": "149", + "$id": "145", "Name": "iso8601Array", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "136" - }, - { - "$id": "150", + "$id": "146", "Name": "duration", "NameInRequest": "duration", "Type": { - "$id": "151", + "$id": "147", "kind": "array", "name": "Array", "valueType": { - "$id": "152", + "$id": "148", "kind": "duration", "name": "Iso8601Duration", "encode": "ISO8601", "wireType": { - "$id": "153", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1619,12 +1546,12 @@ }, "crossLanguageDefinitionId": "Encode.Duration.Header.Iso8601Duration", "baseType": { - "$id": "154", + "$id": "150", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "155", + "$id": "151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1652,7 +1579,7 @@ ], "Responses": [ { - "$id": "156", + "$id": "152", "StatusCodes": [ 204 ], @@ -1672,25 +1599,22 @@ "Decorators": [] }, { - "$id": "157", + "$id": "153", "Name": "int32Seconds", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "136" - }, - { - "$id": "158", + "$id": "154", "Name": "duration", "NameInRequest": "duration", "Type": { - "$id": "159", + "$id": "155", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "160", + "$id": "156", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1712,7 +1636,7 @@ ], "Responses": [ { - "$id": "161", + "$id": "157", "StatusCodes": [ 204 ], @@ -1732,25 +1656,22 @@ "Decorators": [] }, { - "$id": "162", + "$id": "158", "Name": "floatSeconds", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "136" - }, - { - "$id": "163", + "$id": "159", "Name": "duration", "NameInRequest": "duration", "Type": { - "$id": "164", + "$id": "160", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "165", + "$id": "161", "kind": "float", "name": "float", "crossLanguageDefinitionId": "TypeSpec.float", @@ -1772,7 +1693,7 @@ ], "Responses": [ { - "$id": "166", + "$id": "162", "StatusCodes": [ 204 ], @@ -1792,25 +1713,22 @@ "Decorators": [] }, { - "$id": "167", + "$id": "163", "Name": "float64Seconds", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "136" - }, - { - "$id": "168", + "$id": "164", "Name": "duration", "NameInRequest": "duration", "Type": { - "$id": "169", + "$id": "165", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "170", + "$id": "166", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -1832,7 +1750,7 @@ ], "Responses": [ { - "$id": "171", + "$id": "167", "StatusCodes": [ 204 ], @@ -1853,12 +1771,40 @@ } ], "Protocol": { - "$id": "172" + "$id": "168" }, "Parent": "DurationClient", "Parameters": [ { - "$ref": "136" + "$id": "169", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "170", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "171", + "Type": { + "$id": "172", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/encode/numeric/tspCodeModel.json b/test/CadlRanchProjects/encode/numeric/tspCodeModel.json index c4196abc4aa..f22f89ca1a5 100644 --- a/test/CadlRanchProjects/encode/numeric/tspCodeModel.json +++ b/test/CadlRanchProjects/encode/numeric/tspCodeModel.json @@ -151,45 +151,14 @@ "Parameters": [ { "$id": "19", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "20", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "21", - "Type": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "23", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "24", + "$id": "20", "kind": "constant", "valueType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -209,14 +178,14 @@ "SkipUrlEncoding": false }, { - "$id": "26", + "$id": "22", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "27", + "$id": "23", "kind": "constant", "valueType": { - "$id": "28", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -236,7 +205,7 @@ "SkipUrlEncoding": false }, { - "$id": "29", + "$id": "25", "Name": "value", "NameInRequest": "value", "Type": { @@ -255,7 +224,7 @@ ], "Responses": [ { - "$id": "30", + "$id": "26", "StatusCodes": [ 200 ], @@ -284,24 +253,21 @@ "Decorators": [] }, { - "$id": "31", + "$id": "27", "Name": "uint32AsStringOptional", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "19" - }, - { - "$id": "32", + "$id": "28", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "33", + "$id": "29", "kind": "constant", "valueType": { - "$id": "34", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -321,14 +287,14 @@ "SkipUrlEncoding": false }, { - "$id": "35", + "$id": "31", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "36", + "$id": "32", "kind": "constant", "valueType": { - "$id": "37", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -348,7 +314,7 @@ "SkipUrlEncoding": false }, { - "$id": "38", + "$id": "34", "Name": "value", "NameInRequest": "value", "Type": { @@ -367,7 +333,7 @@ ], "Responses": [ { - "$id": "39", + "$id": "35", "StatusCodes": [ 200 ], @@ -396,24 +362,21 @@ "Decorators": [] }, { - "$id": "40", + "$id": "36", "Name": "uint8AsString", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "19" - }, - { - "$id": "41", + "$id": "37", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "42", + "$id": "38", "kind": "constant", "valueType": { - "$id": "43", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -433,14 +396,14 @@ "SkipUrlEncoding": false }, { - "$id": "44", + "$id": "40", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "45", + "$id": "41", "kind": "constant", "valueType": { - "$id": "46", + "$id": "42", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -460,7 +423,7 @@ "SkipUrlEncoding": false }, { - "$id": "47", + "$id": "43", "Name": "value", "NameInRequest": "value", "Type": { @@ -479,7 +442,7 @@ ], "Responses": [ { - "$id": "48", + "$id": "44", "StatusCodes": [ 200 ], @@ -509,12 +472,40 @@ } ], "Protocol": { - "$id": "49" + "$id": "45" }, "Parent": "NumericClient", "Parameters": [ { - "$ref": "19" + "$id": "46", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "47", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "48", + "Type": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/parameters/basic/tspCodeModel.json b/test/CadlRanchProjects/parameters/basic/tspCodeModel.json index d592a78fa0c..497d8c7a531 100644 --- a/test/CadlRanchProjects/parameters/basic/tspCodeModel.json +++ b/test/CadlRanchProjects/parameters/basic/tspCodeModel.json @@ -120,45 +120,14 @@ "Parameters": [ { "$id": "16", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "17", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "18", - "Type": { - "$id": "19", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "20", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "21", + "$id": "17", "kind": "constant", "valueType": { - "$id": "22", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -178,7 +147,7 @@ "SkipUrlEncoding": false }, { - "$id": "23", + "$id": "19", "Name": "body", "NameInRequest": "body", "Type": { @@ -197,7 +166,7 @@ ], "Responses": [ { - "$id": "24", + "$id": "20", "StatusCodes": [ 204 ], @@ -221,12 +190,40 @@ } ], "Protocol": { - "$id": "25" + "$id": "21" }, "Parent": "BasicClient", "Parameters": [ { - "$ref": "16" + "$id": "22", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "23", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "24", + "Type": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -243,45 +240,14 @@ "Parameters": [ { "$id": "28", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "29", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "30", - "Type": { - "$id": "31", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "32", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "33", + "$id": "29", "kind": "constant", "valueType": { - "$id": "34", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -301,7 +267,7 @@ "SkipUrlEncoding": false }, { - "$id": "35", + "$id": "31", "Name": "simpleRequest", "NameInRequest": "simpleRequest", "Type": { @@ -320,7 +286,7 @@ ], "Responses": [ { - "$id": "36", + "$id": "32", "StatusCodes": [ 204 ], @@ -344,12 +310,40 @@ } ], "Protocol": { - "$id": "37" + "$id": "33" }, "Parent": "BasicClient", "Parameters": [ { - "$ref": "28" + "$id": "34", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "35", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "36", + "Type": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/parameters/body-optionality/tspCodeModel.json b/test/CadlRanchProjects/parameters/body-optionality/tspCodeModel.json index f9edde75043..b67afd40a95 100644 --- a/test/CadlRanchProjects/parameters/body-optionality/tspCodeModel.json +++ b/test/CadlRanchProjects/parameters/body-optionality/tspCodeModel.json @@ -48,45 +48,14 @@ "Parameters": [ { "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "9", - "Type": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "11", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "12", + "$id": "8", "kind": "constant", "valueType": { - "$id": "13", + "$id": "9", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106,7 +75,7 @@ "SkipUrlEncoding": false }, { - "$id": "14", + "$id": "10", "Name": "body", "NameInRequest": "body", "Type": { @@ -125,7 +94,7 @@ ], "Responses": [ { - "$id": "15", + "$id": "11", "StatusCodes": [ 204 ], @@ -148,24 +117,21 @@ "Decorators": [] }, { - "$id": "16", + "$id": "12", "Name": "requiredImplicit", "ResourceName": "BodyOptionality", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "17", + "$id": "13", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -185,7 +151,7 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "16", "Name": "bodyModel", "NameInRequest": "bodyModel", "Type": { @@ -204,7 +170,7 @@ ], "Responses": [ { - "$id": "21", + "$id": "17", "StatusCodes": [ 204 ], @@ -228,11 +194,39 @@ } ], "Protocol": { - "$id": "22" + "$id": "18" }, "Parameters": [ { - "$ref": "7" + "$id": "19", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "20", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "21", + "Type": { + "$id": "22", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -249,45 +243,14 @@ "Parameters": [ { "$id": "25", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "26", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "27", - "Type": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "29", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "30", + "$id": "26", "kind": "constant", "valueType": { - "$id": "31", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -307,7 +270,7 @@ "SkipUrlEncoding": false }, { - "$id": "32", + "$id": "28", "Name": "body", "NameInRequest": "body", "Type": { @@ -326,7 +289,7 @@ ], "Responses": [ { - "$id": "33", + "$id": "29", "StatusCodes": [ 204 ], @@ -349,24 +312,21 @@ "Decorators": [] }, { - "$id": "34", + "$id": "30", "Name": "omit", "ResourceName": "OptionalExplicit", "Accessibility": "public", "Parameters": [ { - "$ref": "25" - }, - { - "$id": "35", + "$id": "31", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "36", + "$id": "32", "kind": "constant", "valueType": { - "$id": "37", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -386,7 +346,7 @@ "SkipUrlEncoding": false }, { - "$id": "38", + "$id": "34", "Name": "body", "NameInRequest": "body", "Type": { @@ -405,7 +365,7 @@ ], "Responses": [ { - "$id": "39", + "$id": "35", "StatusCodes": [ 204 ], @@ -429,12 +389,40 @@ } ], "Protocol": { - "$id": "40" + "$id": "36" }, "Parent": "BodyOptionalityClient", "Parameters": [ { - "$ref": "25" + "$id": "37", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "38", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "39", + "Type": { + "$id": "40", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/parameters/collection-format/tspCodeModel.json b/test/CadlRanchProjects/parameters/collection-format/tspCodeModel.json index 11c9ccd3849..28a3f46e996 100644 --- a/test/CadlRanchProjects/parameters/collection-format/tspCodeModel.json +++ b/test/CadlRanchProjects/parameters/collection-format/tspCodeModel.json @@ -60,46 +60,15 @@ "Parameters": [ { "$id": "10", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "11", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "12", - "Type": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "14", "Name": "colors", "NameInRequest": "colors", "Description": "Possible values for colors are [blue,red,green]", "Type": { - "$id": "15", + "$id": "11", "kind": "array", "name": "Array", "valueType": { - "$id": "16", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121,7 +90,7 @@ ], "Responses": [ { - "$id": "17", + "$id": "13", "StatusCodes": [ 204 ], @@ -141,25 +110,22 @@ "Decorators": [] }, { - "$id": "18", + "$id": "14", "Name": "ssv", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "19", + "$id": "15", "Name": "colors", "NameInRequest": "colors", "Description": "Possible values for colors are [blue,red,green]", "Type": { - "$id": "20", + "$id": "16", "kind": "array", "name": "Array", "valueType": { - "$id": "21", + "$id": "17", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -182,7 +148,7 @@ ], "Responses": [ { - "$id": "22", + "$id": "18", "StatusCodes": [ 204 ], @@ -202,25 +168,22 @@ "Decorators": [] }, { - "$id": "23", + "$id": "19", "Name": "tsv", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "24", + "$id": "20", "Name": "colors", "NameInRequest": "colors", "Description": "Possible values for colors are [blue,red,green]", "Type": { - "$id": "25", + "$id": "21", "kind": "array", "name": "Array", "valueType": { - "$id": "26", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -243,7 +206,7 @@ ], "Responses": [ { - "$id": "27", + "$id": "23", "StatusCodes": [ 204 ], @@ -263,25 +226,22 @@ "Decorators": [] }, { - "$id": "28", + "$id": "24", "Name": "pipes", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "29", + "$id": "25", "Name": "colors", "NameInRequest": "colors", "Description": "Possible values for colors are [blue,red,green]", "Type": { - "$id": "30", + "$id": "26", "kind": "array", "name": "Array", "valueType": { - "$id": "31", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -304,7 +264,7 @@ ], "Responses": [ { - "$id": "32", + "$id": "28", "StatusCodes": [ 204 ], @@ -324,25 +284,22 @@ "Decorators": [] }, { - "$id": "33", + "$id": "29", "Name": "csv", "ResourceName": "Query", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "34", + "$id": "30", "Name": "colors", "NameInRequest": "colors", "Description": "Possible values for colors are [blue,red,green]", "Type": { - "$id": "35", + "$id": "31", "kind": "array", "name": "Array", "valueType": { - "$id": "36", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -365,7 +322,7 @@ ], "Responses": [ { - "$id": "37", + "$id": "33", "StatusCodes": [ 204 ], @@ -386,12 +343,40 @@ } ], "Protocol": { - "$id": "38" + "$id": "34" }, "Parent": "CollectionFormatClient", "Parameters": [ { - "$ref": "10" + "$id": "35", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "36", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "37", + "Type": { + "$id": "38", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -408,46 +393,15 @@ "Parameters": [ { "$id": "41", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "42", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "43", - "Type": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "45", "Name": "colors", "NameInRequest": "colors", "Description": "Possible values for colors are [blue,red,green]", "Type": { - "$id": "46", + "$id": "42", "kind": "array", "name": "Array", "valueType": { - "$id": "47", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -470,7 +424,7 @@ ], "Responses": [ { - "$id": "48", + "$id": "44", "StatusCodes": [ 204 ], @@ -491,12 +445,40 @@ } ], "Protocol": { - "$id": "49" + "$id": "45" }, "Parent": "CollectionFormatClient", "Parameters": [ { - "$ref": "41" + "$id": "46", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "47", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "48", + "Type": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/parameters/spread/tspCodeModel.json b/test/CadlRanchProjects/parameters/spread/tspCodeModel.json index 65c3268444c..3cc532ba734 100644 --- a/test/CadlRanchProjects/parameters/spread/tspCodeModel.json +++ b/test/CadlRanchProjects/parameters/spread/tspCodeModel.json @@ -361,45 +361,14 @@ "Parameters": [ { "$id": "41", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "42", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "43", - "Type": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "45", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "46", + "$id": "42", "kind": "constant", "valueType": { - "$id": "47", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -419,7 +388,7 @@ "SkipUrlEncoding": false }, { - "$id": "48", + "$id": "44", "Name": "bodyParameter", "NameInRequest": "bodyParameter", "Type": { @@ -438,7 +407,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "45", "StatusCodes": [ 204 ], @@ -461,24 +430,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "spreadCompositeRequestOnlyWithBody", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "41" - }, - { - "$id": "51", + "$id": "47", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "48", "kind": "constant", "valueType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -498,7 +464,7 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "50", "Name": "body", "NameInRequest": "body", "Type": { @@ -517,7 +483,7 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 204 ], @@ -540,20 +506,17 @@ "Decorators": [] }, { - "$id": "56", + "$id": "52", "Name": "spreadCompositeRequestWithoutBody", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "41" - }, - { - "$id": "57", + "$id": "53", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "58", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -570,11 +533,11 @@ "SkipUrlEncoding": false }, { - "$id": "59", + "$id": "55", "Name": "testHeader", "NameInRequest": "test-header", "Type": { - "$id": "60", + "$id": "56", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -593,7 +556,7 @@ ], "Responses": [ { - "$id": "61", + "$id": "57", "StatusCodes": [ 204 ], @@ -613,20 +576,17 @@ "Decorators": [] }, { - "$id": "62", + "$id": "58", "Name": "spreadCompositeRequest", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "41" - }, - { - "$id": "63", + "$id": "59", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "64", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -643,11 +603,11 @@ "SkipUrlEncoding": false }, { - "$id": "65", + "$id": "61", "Name": "testHeader", "NameInRequest": "test-header", "Type": { - "$id": "66", + "$id": "62", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -664,15 +624,15 @@ "SkipUrlEncoding": false }, { - "$id": "67", + "$id": "63", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "68", + "$id": "64", "kind": "constant", "valueType": { - "$id": "69", + "$id": "65", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -692,7 +652,7 @@ "SkipUrlEncoding": false }, { - "$id": "70", + "$id": "66", "Name": "body", "NameInRequest": "body", "Type": { @@ -711,7 +671,7 @@ ], "Responses": [ { - "$id": "71", + "$id": "67", "StatusCodes": [ 204 ], @@ -734,20 +694,17 @@ "Decorators": [] }, { - "$id": "72", + "$id": "68", "Name": "spreadCompositeRequestMix", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "41" - }, - { - "$id": "73", + "$id": "69", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "74", + "$id": "70", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -764,11 +721,11 @@ "SkipUrlEncoding": false }, { - "$id": "75", + "$id": "71", "Name": "testHeader", "NameInRequest": "test-header", "Type": { - "$id": "76", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -785,15 +742,15 @@ "SkipUrlEncoding": false }, { - "$id": "77", + "$id": "73", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "78", + "$id": "74", "kind": "constant", "valueType": { - "$id": "79", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -813,7 +770,7 @@ "SkipUrlEncoding": false }, { - "$id": "80", + "$id": "76", "Name": "spreadCompositeRequestMixRequest", "NameInRequest": "spreadCompositeRequestMixRequest", "Type": { @@ -832,7 +789,7 @@ ], "Responses": [ { - "$id": "81", + "$id": "77", "StatusCodes": [ 204 ], @@ -856,12 +813,40 @@ } ], "Protocol": { - "$id": "82" + "$id": "78" }, "Parent": "SpreadClient", "Parameters": [ { - "$ref": "41" + "$id": "79", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "80", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "81", + "Type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -878,45 +863,14 @@ "Parameters": [ { "$id": "85", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "86", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "87", - "Type": { - "$id": "88", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "89", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -936,7 +890,7 @@ "SkipUrlEncoding": false }, { - "$id": "92", + "$id": "88", "Name": "spreadAsRequestBodyRequest", "NameInRequest": "spreadAsRequestBodyRequest", "Type": { @@ -955,7 +909,7 @@ ], "Responses": [ { - "$id": "93", + "$id": "89", "StatusCodes": [ 204 ], @@ -978,20 +932,17 @@ "Decorators": [] }, { - "$id": "94", + "$id": "90", "Name": "spreadParameterWithInnerModel", "ResourceName": "Alias", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "95", + "$id": "91", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "96", + "$id": "92", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1008,11 +959,11 @@ "SkipUrlEncoding": false }, { - "$id": "97", + "$id": "93", "Name": "x-ms-test-header", "NameInRequest": "x-ms-test-header", "Type": { - "$id": "98", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1029,15 +980,15 @@ "SkipUrlEncoding": false }, { - "$id": "99", + "$id": "95", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "100", + "$id": "96", "kind": "constant", "valueType": { - "$id": "101", + "$id": "97", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1057,7 +1008,7 @@ "SkipUrlEncoding": false }, { - "$id": "102", + "$id": "98", "Name": "spreadParameterWithInnerModelRequest", "NameInRequest": "spreadParameterWithInnerModelRequest", "Type": { @@ -1076,7 +1027,7 @@ ], "Responses": [ { - "$id": "103", + "$id": "99", "StatusCodes": [ 204 ], @@ -1099,20 +1050,17 @@ "Decorators": [] }, { - "$id": "104", + "$id": "100", "Name": "spreadAsRequestParameter", "ResourceName": "Alias", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "105", + "$id": "101", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "106", + "$id": "102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1129,11 +1077,11 @@ "SkipUrlEncoding": false }, { - "$id": "107", + "$id": "103", "Name": "x-ms-test-header", "NameInRequest": "x-ms-test-header", "Type": { - "$id": "108", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1150,15 +1098,15 @@ "SkipUrlEncoding": false }, { - "$id": "109", + "$id": "105", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "110", + "$id": "106", "kind": "constant", "valueType": { - "$id": "111", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1178,7 +1126,7 @@ "SkipUrlEncoding": false }, { - "$id": "112", + "$id": "108", "Name": "spreadAsRequestParameterRequest", "NameInRequest": "spreadAsRequestParameterRequest", "Type": { @@ -1197,7 +1145,7 @@ ], "Responses": [ { - "$id": "113", + "$id": "109", "StatusCodes": [ 204 ], @@ -1220,20 +1168,17 @@ "Decorators": [] }, { - "$id": "114", + "$id": "110", "Name": "spreadWithMultipleParameters", "ResourceName": "Alias", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "115", + "$id": "111", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "116", + "$id": "112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1250,11 +1195,11 @@ "SkipUrlEncoding": false }, { - "$id": "117", + "$id": "113", "Name": "x-ms-test-header", "NameInRequest": "x-ms-test-header", "Type": { - "$id": "118", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1271,15 +1216,15 @@ "SkipUrlEncoding": false }, { - "$id": "119", + "$id": "115", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "120", + "$id": "116", "kind": "constant", "valueType": { - "$id": "121", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1299,7 +1244,7 @@ "SkipUrlEncoding": false }, { - "$id": "122", + "$id": "118", "Name": "spreadWithMultipleParametersRequest", "NameInRequest": "spreadWithMultipleParametersRequest", "Type": { @@ -1318,7 +1263,7 @@ ], "Responses": [ { - "$id": "123", + "$id": "119", "StatusCodes": [ 204 ], @@ -1341,21 +1286,18 @@ "Decorators": [] }, { - "$id": "124", + "$id": "120", "Name": "spreadParameterWithInnerAlias", "ResourceName": "Alias", "Description": "spread an alias with contains another alias property as body.", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "125", + "$id": "121", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1372,11 +1314,11 @@ "SkipUrlEncoding": false }, { - "$id": "127", + "$id": "123", "Name": "x-ms-test-header", "NameInRequest": "x-ms-test-header", "Type": { - "$id": "128", + "$id": "124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1393,15 +1335,15 @@ "SkipUrlEncoding": false }, { - "$id": "129", + "$id": "125", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "130", + "$id": "126", "kind": "constant", "valueType": { - "$id": "131", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1421,7 +1363,7 @@ "SkipUrlEncoding": false }, { - "$id": "132", + "$id": "128", "Name": "spreadParameterWithInnerAliasRequest", "NameInRequest": "spreadParameterWithInnerAliasRequest", "Type": { @@ -1440,7 +1382,7 @@ ], "Responses": [ { - "$id": "133", + "$id": "129", "StatusCodes": [ 204 ], @@ -1464,12 +1406,40 @@ } ], "Protocol": { - "$id": "134" + "$id": "130" }, "Parent": "SpreadClient", "Parameters": [ { - "$ref": "85" + "$id": "131", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "132", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "133", + "Type": { + "$id": "134", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/payload/content-negotiation/tspCodeModel.json b/test/CadlRanchProjects/payload/content-negotiation/tspCodeModel.json index 3505ab70f79..c01cf7b6fac 100644 --- a/test/CadlRanchProjects/payload/content-negotiation/tspCodeModel.json +++ b/test/CadlRanchProjects/payload/content-negotiation/tspCodeModel.json @@ -91,44 +91,13 @@ "Parameters": [ { "$id": "13", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "14", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "15", - "Type": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "17", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150,12 +119,12 @@ ], "Responses": [ { - "$id": "20", + "$id": "16", "StatusCodes": [ 200 ], "BodyType": { - "$id": "21", + "$id": "17", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -165,14 +134,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "22", + "$id": "18", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "23", + "$id": "19", "kind": "constant", "valueType": { - "$id": "24", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -200,23 +169,20 @@ "Decorators": [] }, { - "$id": "25", + "$id": "21", "Name": "getAvatarAsJpeg", "ResourceName": "SameBody", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "26", + "$id": "22", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "27", + "$id": "23", "kind": "constant", "valueType": { - "$id": "28", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -238,12 +204,12 @@ ], "Responses": [ { - "$id": "29", + "$id": "25", "StatusCodes": [ 200 ], "BodyType": { - "$id": "30", + "$id": "26", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -253,14 +219,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "31", + "$id": "27", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "32", + "$id": "28", "kind": "constant", "valueType": { - "$id": "33", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -289,12 +255,40 @@ } ], "Protocol": { - "$id": "34" + "$id": "30" }, "Parent": "ContentNegotiationClient", "Parameters": [ { - "$ref": "13" + "$id": "31", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "32", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "33", + "Type": { + "$id": "34", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -311,44 +305,13 @@ "Parameters": [ { "$id": "37", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "38", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "39", - "Type": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "41", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "42", + "$id": "38", "kind": "constant", "valueType": { - "$id": "43", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -370,12 +333,12 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 200 ], "BodyType": { - "$id": "45", + "$id": "41", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -385,14 +348,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "46", + "$id": "42", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "47", + "$id": "43", "kind": "constant", "valueType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -420,23 +383,20 @@ "Decorators": [] }, { - "$id": "49", + "$id": "45", "Name": "getAvatarAsJson", "ResourceName": "DifferentBody", "Accessibility": "public", "Parameters": [ { - "$ref": "37" - }, - { - "$id": "50", + "$id": "46", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "51", + "$id": "47", "kind": "constant", "valueType": { - "$id": "52", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -458,7 +418,7 @@ ], "Responses": [ { - "$id": "53", + "$id": "49", "StatusCodes": [ 200 ], @@ -468,14 +428,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "54", + "$id": "50", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "55", + "$id": "51", "kind": "constant", "valueType": { - "$id": "56", + "$id": "52", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -504,12 +464,40 @@ } ], "Protocol": { - "$id": "57" + "$id": "53" }, "Parent": "ContentNegotiationClient", "Parameters": [ { - "$ref": "37" + "$id": "54", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "55", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "56", + "Type": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/payload/media-type/tspCodeModel.json b/test/CadlRanchProjects/payload/media-type/tspCodeModel.json index 8aa7f42a5cb..3fb458ca142 100644 --- a/test/CadlRanchProjects/payload/media-type/tspCodeModel.json +++ b/test/CadlRanchProjects/payload/media-type/tspCodeModel.json @@ -60,44 +60,13 @@ "Parameters": [ { "$id": "10", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "11", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "12", - "Type": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "14", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "15", + "$id": "11", "kind": "constant", "valueType": { - "$id": "16", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117,11 +86,11 @@ "SkipUrlEncoding": false }, { - "$id": "17", + "$id": "13", "Name": "text", "NameInRequest": "text", "Type": { - "$id": "18", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140,7 +109,7 @@ ], "Responses": [ { - "$id": "19", + "$id": "15", "StatusCodes": [ 200 ], @@ -163,23 +132,20 @@ "Decorators": [] }, { - "$id": "20", + "$id": "16", "Name": "getAsText", "ResourceName": "StringBody", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "21", + "$id": "17", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "22", + "$id": "18", "kind": "constant", "valueType": { - "$id": "23", + "$id": "19", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -201,12 +167,12 @@ ], "Responses": [ { - "$id": "24", + "$id": "20", "StatusCodes": [ 200 ], "BodyType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -215,14 +181,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "26", + "$id": "22", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "27", + "$id": "23", "kind": "constant", "valueType": { - "$id": "28", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -250,23 +216,20 @@ "Decorators": [] }, { - "$id": "29", + "$id": "25", "Name": "sendAsJson", "ResourceName": "StringBody", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "30", + "$id": "26", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "31", + "$id": "27", "kind": "constant", "valueType": { - "$id": "32", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -286,11 +249,11 @@ "SkipUrlEncoding": false }, { - "$id": "33", + "$id": "29", "Name": "text", "NameInRequest": "text", "Type": { - "$id": "34", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -309,7 +272,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "31", "StatusCodes": [ 200 ], @@ -332,23 +295,20 @@ "Decorators": [] }, { - "$id": "36", + "$id": "32", "Name": "getAsJson", "ResourceName": "StringBody", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "37", + "$id": "33", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "38", + "$id": "34", "kind": "constant", "valueType": { - "$id": "39", + "$id": "35", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -370,12 +330,12 @@ ], "Responses": [ { - "$id": "40", + "$id": "36", "StatusCodes": [ 200 ], "BodyType": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -384,14 +344,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "42", + "$id": "38", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "43", + "$id": "39", "kind": "constant", "valueType": { - "$id": "44", + "$id": "40", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -420,12 +380,40 @@ } ], "Protocol": { - "$id": "45" + "$id": "41" }, "Parent": "MediaTypeClient", "Parameters": [ { - "$ref": "10" + "$id": "42", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "43", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "44", + "Type": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/payload/multipart/tspCodeModel.json b/test/CadlRanchProjects/payload/multipart/tspCodeModel.json index 09c32bb00a0..cfc7d5e279b 100644 --- a/test/CadlRanchProjects/payload/multipart/tspCodeModel.json +++ b/test/CadlRanchProjects/payload/multipart/tspCodeModel.json @@ -866,44 +866,13 @@ "Parameters": [ { "$id": "87", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "88", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "89", - "Type": { - "$id": "90", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "91", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "92", + "$id": "88", "kind": "constant", "valueType": { - "$id": "93", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -923,7 +892,7 @@ "SkipUrlEncoding": false }, { - "$id": "94", + "$id": "90", "Name": "body", "NameInRequest": "body", "Type": { @@ -942,7 +911,7 @@ ], "Responses": [ { - "$id": "95", + "$id": "91", "StatusCodes": [ 204 ], @@ -965,24 +934,21 @@ "Decorators": [] }, { - "$id": "96", + "$id": "92", "Name": "fileArrayAndBasic", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data for mixed scenarios", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "97", + "$id": "93", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "98", + "$id": "94", "kind": "constant", "valueType": { - "$id": "99", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1002,7 +968,7 @@ "SkipUrlEncoding": false }, { - "$id": "100", + "$id": "96", "Name": "body", "NameInRequest": "body", "Type": { @@ -1021,7 +987,7 @@ ], "Responses": [ { - "$id": "101", + "$id": "97", "StatusCodes": [ 204 ], @@ -1044,24 +1010,21 @@ "Decorators": [] }, { - "$id": "102", + "$id": "98", "Name": "jsonPart", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data for scenario contains json part and binary part ", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "103", + "$id": "99", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "104", + "$id": "100", "kind": "constant", "valueType": { - "$id": "105", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1081,7 +1044,7 @@ "SkipUrlEncoding": false }, { - "$id": "106", + "$id": "102", "Name": "body", "NameInRequest": "body", "Type": { @@ -1100,7 +1063,7 @@ ], "Responses": [ { - "$id": "107", + "$id": "103", "StatusCodes": [ 204 ], @@ -1123,24 +1086,21 @@ "Decorators": [] }, { - "$id": "108", + "$id": "104", "Name": "binaryArrayParts", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data for scenario contains multi binary parts", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "109", + "$id": "105", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "110", + "$id": "106", "kind": "constant", "valueType": { - "$id": "111", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1160,7 +1120,7 @@ "SkipUrlEncoding": false }, { - "$id": "112", + "$id": "108", "Name": "body", "NameInRequest": "body", "Type": { @@ -1179,7 +1139,7 @@ ], "Responses": [ { - "$id": "113", + "$id": "109", "StatusCodes": [ 204 ], @@ -1202,24 +1162,21 @@ "Decorators": [] }, { - "$id": "114", + "$id": "110", "Name": "multiBinaryParts", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data for scenario contains multi binary parts", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "115", + "$id": "111", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "116", + "$id": "112", "kind": "constant", "valueType": { - "$id": "117", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1239,7 +1196,7 @@ "SkipUrlEncoding": false }, { - "$id": "118", + "$id": "114", "Name": "body", "NameInRequest": "body", "Type": { @@ -1258,7 +1215,7 @@ ], "Responses": [ { - "$id": "119", + "$id": "115", "StatusCodes": [ 204 ], @@ -1281,24 +1238,21 @@ "Decorators": [] }, { - "$id": "120", + "$id": "116", "Name": "checkFileNameAndContentType", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "121", + "$id": "117", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "122", + "$id": "118", "kind": "constant", "valueType": { - "$id": "123", + "$id": "119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1318,7 +1272,7 @@ "SkipUrlEncoding": false }, { - "$id": "124", + "$id": "120", "Name": "body", "NameInRequest": "body", "Type": { @@ -1337,7 +1291,7 @@ ], "Responses": [ { - "$id": "125", + "$id": "121", "StatusCodes": [ 204 ], @@ -1360,24 +1314,21 @@ "Decorators": [] }, { - "$id": "126", + "$id": "122", "Name": "anonymousModel", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "127", + "$id": "123", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "128", + "$id": "124", "kind": "constant", "valueType": { - "$id": "129", + "$id": "125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1397,7 +1348,7 @@ "SkipUrlEncoding": false }, { - "$id": "130", + "$id": "126", "Name": "anonymousModelRequest", "NameInRequest": "anonymousModelRequest", "Type": { @@ -1416,7 +1367,7 @@ ], "Responses": [ { - "$id": "131", + "$id": "127", "StatusCodes": [ 204 ], @@ -1440,12 +1391,40 @@ } ], "Protocol": { - "$id": "132" + "$id": "128" }, "Parent": "MultiPartClient", "Parameters": [ { - "$ref": "87" + "$id": "129", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "130", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "131", + "Type": { + "$id": "132", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1463,44 +1442,13 @@ "Parameters": [ { "$id": "135", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "136", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "137", - "Type": { - "$id": "138", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "139", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "140", + "$id": "136", "kind": "constant", "valueType": { - "$id": "141", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1520,7 +1468,7 @@ "SkipUrlEncoding": false }, { - "$id": "142", + "$id": "138", "Name": "body", "NameInRequest": "body", "Type": { @@ -1539,7 +1487,7 @@ ], "Responses": [ { - "$id": "143", + "$id": "139", "StatusCodes": [ 204 ], @@ -1563,12 +1511,40 @@ } ], "Protocol": { - "$id": "144" + "$id": "140" }, "Parent": "FormData", "Parameters": [ { - "$ref": "135" + "$id": "141", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "142", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "143", + "Type": { + "$id": "144", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1586,44 +1562,13 @@ "Parameters": [ { "$id": "147", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "148", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "149", - "Type": { - "$id": "150", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "151", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "152", + "$id": "148", "kind": "constant", "valueType": { - "$id": "153", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1643,7 +1588,7 @@ "SkipUrlEncoding": false }, { - "$id": "154", + "$id": "150", "Name": "body", "NameInRequest": "body", "Type": { @@ -1662,7 +1607,7 @@ ], "Responses": [ { - "$id": "155", + "$id": "151", "StatusCodes": [ 204 ], @@ -1685,24 +1630,21 @@ "Decorators": [] }, { - "$id": "156", + "$id": "152", "Name": "requiredContentType", "ResourceName": "ContentType", "Description": "Test content-type: multipart/form-data", "Accessibility": "public", "Parameters": [ { - "$ref": "147" - }, - { - "$id": "157", + "$id": "153", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "158", + "$id": "154", "kind": "constant", "valueType": { - "$id": "159", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1722,7 +1664,7 @@ "SkipUrlEncoding": false }, { - "$id": "160", + "$id": "156", "Name": "body", "NameInRequest": "body", "Type": { @@ -1741,7 +1683,7 @@ ], "Responses": [ { - "$id": "161", + "$id": "157", "StatusCodes": [ 204 ], @@ -1764,24 +1706,21 @@ "Decorators": [] }, { - "$id": "162", + "$id": "158", "Name": "optionalContentType", "ResourceName": "ContentType", "Description": "Test content-type: multipart/form-data for optional content type", "Accessibility": "public", "Parameters": [ { - "$ref": "147" - }, - { - "$id": "163", + "$id": "159", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "164", + "$id": "160", "kind": "constant", "valueType": { - "$id": "165", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1801,7 +1740,7 @@ "SkipUrlEncoding": false }, { - "$id": "166", + "$id": "162", "Name": "body", "NameInRequest": "body", "Type": { @@ -1820,7 +1759,7 @@ ], "Responses": [ { - "$id": "167", + "$id": "163", "StatusCodes": [ 204 ], @@ -1844,12 +1783,40 @@ } ], "Protocol": { - "$id": "168" + "$id": "164" }, "Parent": "FormDataHttpParts", "Parameters": [ { - "$ref": "147" + "$id": "165", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "166", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "167", + "Type": { + "$id": "168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1867,44 +1834,13 @@ "Parameters": [ { "$id": "171", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "172", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "173", - "Type": { - "$id": "174", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "175", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "176", + "$id": "172", "kind": "constant", "valueType": { - "$id": "177", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1924,7 +1860,7 @@ "SkipUrlEncoding": false }, { - "$id": "178", + "$id": "174", "Name": "body", "NameInRequest": "body", "Type": { @@ -1943,7 +1879,7 @@ ], "Responses": [ { - "$id": "179", + "$id": "175", "StatusCodes": [ 204 ], @@ -1967,12 +1903,40 @@ } ], "Protocol": { - "$id": "180" + "$id": "176" }, "Parent": "FormDataHttpParts", "Parameters": [ { - "$ref": "171" + "$id": "177", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "178", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "179", + "Type": { + "$id": "180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/payload/pageable/tspCodeModel.json b/test/CadlRanchProjects/payload/pageable/tspCodeModel.json index ee0c3c1395a..fac2b6fdf72 100644 --- a/test/CadlRanchProjects/payload/pageable/tspCodeModel.json +++ b/test/CadlRanchProjects/payload/pageable/tspCodeModel.json @@ -112,42 +112,11 @@ "Parameters": [ { "$id": "13", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "14", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "15", - "Type": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "17", "Name": "maxpagesize", "NameInRequest": "maxpagesize", "Description": "The maximum number of result items per page.", "Type": { - "$id": "18", + "$id": "14", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -164,14 +133,14 @@ "SkipUrlEncoding": false }, { - "$id": "19", + "$id": "15", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "20", + "$id": "16", "kind": "constant", "valueType": { - "$id": "21", + "$id": "17", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -193,7 +162,7 @@ ], "Responses": [ { - "$id": "22", + "$id": "18", "StatusCodes": [ 200 ], @@ -214,7 +183,7 @@ "Path": "/payload/pageable", "BufferResponse": true, "Paging": { - "$id": "23", + "$id": "19", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -225,11 +194,39 @@ } ], "Protocol": { - "$id": "24" + "$id": "20" }, "Parameters": [ { - "$ref": "13" + "$id": "21", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "22", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "23", + "Type": { + "$id": "24", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/serialization/encoded-name/json/tspCodeModel.json b/test/CadlRanchProjects/serialization/encoded-name/json/tspCodeModel.json index 42ed00cbe5c..c0c94e895dc 100644 --- a/test/CadlRanchProjects/serialization/encoded-name/json/tspCodeModel.json +++ b/test/CadlRanchProjects/serialization/encoded-name/json/tspCodeModel.json @@ -91,45 +91,14 @@ "Parameters": [ { "$id": "13", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "14", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "15", - "Type": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "17", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149,7 +118,7 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "16", "Name": "body", "NameInRequest": "body", "Type": { @@ -168,7 +137,7 @@ ], "Responses": [ { - "$id": "21", + "$id": "17", "StatusCodes": [ 204 ], @@ -191,23 +160,20 @@ "Decorators": [] }, { - "$id": "22", + "$id": "18", "Name": "get", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "23", + "$id": "19", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "24", + "$id": "20", "kind": "constant", "valueType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -229,7 +195,7 @@ ], "Responses": [ { - "$id": "26", + "$id": "22", "StatusCodes": [ 200 ], @@ -256,12 +222,40 @@ } ], "Protocol": { - "$id": "27" + "$id": "23" }, "Parent": "JsonClient", "Parameters": [ { - "$ref": "13" + "$id": "24", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "25", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "26", + "Type": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/server/endpoint/not-defined/src/Generated/Docs/NotDefinedClient.xml b/test/CadlRanchProjects/server/endpoint/not-defined/src/Generated/Docs/NotDefinedClient.xml index 9a6aea171a1..edbd0b805f8 100644 --- a/test/CadlRanchProjects/server/endpoint/not-defined/src/Generated/Docs/NotDefinedClient.xml +++ b/test/CadlRanchProjects/server/endpoint/not-defined/src/Generated/Docs/NotDefinedClient.xml @@ -5,7 +5,7 @@ This sample shows how to call ValidAsync. "); +Uri endpoint = new Uri(""); NotDefinedClient client = new NotDefinedClient(endpoint); Response response = await client.ValidAsync(); @@ -14,7 +14,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ValidAsync with all request content. "); +Uri endpoint = new Uri(""); NotDefinedClient client = new NotDefinedClient(endpoint); Response response = await client.ValidAsync(); @@ -26,7 +26,7 @@ Console.WriteLine(response.Status); This sample shows how to call Valid. "); +Uri endpoint = new Uri(""); NotDefinedClient client = new NotDefinedClient(endpoint); Response response = client.Valid(); @@ -35,7 +35,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call Valid with all request content. "); +Uri endpoint = new Uri(""); NotDefinedClient client = new NotDefinedClient(endpoint); Response response = client.Valid(); diff --git a/test/CadlRanchProjects/server/endpoint/not-defined/tests/Generated/Samples/Samples_NotDefinedClient.cs b/test/CadlRanchProjects/server/endpoint/not-defined/tests/Generated/Samples/Samples_NotDefinedClient.cs index 2c87d16703a..f91f3dddceb 100644 --- a/test/CadlRanchProjects/server/endpoint/not-defined/tests/Generated/Samples/Samples_NotDefinedClient.cs +++ b/test/CadlRanchProjects/server/endpoint/not-defined/tests/Generated/Samples/Samples_NotDefinedClient.cs @@ -19,7 +19,7 @@ public partial class Samples_NotDefinedClient [Ignore("Only validating compilation of examples")] public void Example_NotDefined_Valid_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotDefinedClient client = new NotDefinedClient(endpoint); Response response = client.Valid(); @@ -31,7 +31,7 @@ public void Example_NotDefined_Valid_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_NotDefined_Valid_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotDefinedClient client = new NotDefinedClient(endpoint); Response response = await client.ValidAsync(); @@ -43,7 +43,7 @@ public async Task Example_NotDefined_Valid_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_NotDefined_Valid_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotDefinedClient client = new NotDefinedClient(endpoint); Response response = client.Valid(); @@ -55,7 +55,7 @@ public void Example_NotDefined_Valid_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_NotDefined_Valid_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotDefinedClient client = new NotDefinedClient(endpoint); Response response = await client.ValidAsync(); diff --git a/test/CadlRanchProjects/server/endpoint/not-defined/tspCodeModel.json b/test/CadlRanchProjects/server/endpoint/not-defined/tspCodeModel.json index 8138d28f416..097d7cba3a8 100644 --- a/test/CadlRanchProjects/server/endpoint/not-defined/tspCodeModel.json +++ b/test/CadlRanchProjects/server/endpoint/not-defined/tspCodeModel.json @@ -15,32 +15,10 @@ "Name": "valid", "ResourceName": "NotDefined", "Accessibility": "public", - "Parameters": [ - { - "$id": "4", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "5", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "6", + "$id": "4", "StatusCodes": [ 200 ], @@ -61,11 +39,29 @@ } ], "Protocol": { - "$id": "7" + "$id": "5" }, "Parameters": [ { - "$ref": "4" + "$id": "6", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "7", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/server/path/multiple/src/Generated/Docs/MultipleClient.xml b/test/CadlRanchProjects/server/path/multiple/src/Generated/Docs/MultipleClient.xml index 21b3548e343..5788684b725 100644 --- a/test/CadlRanchProjects/server/path/multiple/src/Generated/Docs/MultipleClient.xml +++ b/test/CadlRanchProjects/server/path/multiple/src/Generated/Docs/MultipleClient.xml @@ -5,7 +5,7 @@ This sample shows how to call NoOperationParamsAsync. "); +Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = await client.NoOperationParamsAsync(); @@ -14,7 +14,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call NoOperationParamsAsync with all request content. "); +Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = await client.NoOperationParamsAsync(); @@ -26,7 +26,7 @@ Console.WriteLine(response.Status); This sample shows how to call NoOperationParams. "); +Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = client.NoOperationParams(); @@ -35,7 +35,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call NoOperationParams with all request content. "); +Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = client.NoOperationParams(); @@ -47,7 +47,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithOperationPathParamAsync. "); +Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = await client.WithOperationPathParamAsync(""); @@ -56,7 +56,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithOperationPathParamAsync with all parameters. "); +Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = await client.WithOperationPathParamAsync(""); @@ -68,7 +68,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithOperationPathParam. "); +Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = client.WithOperationPathParam(""); @@ -77,7 +77,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithOperationPathParam with all parameters. "); +Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = client.WithOperationPathParam(""); diff --git a/test/CadlRanchProjects/server/path/multiple/tests/Generated/Samples/Samples_MultipleClient.cs b/test/CadlRanchProjects/server/path/multiple/tests/Generated/Samples/Samples_MultipleClient.cs index b7b672315b2..5bb594b12ca 100644 --- a/test/CadlRanchProjects/server/path/multiple/tests/Generated/Samples/Samples_MultipleClient.cs +++ b/test/CadlRanchProjects/server/path/multiple/tests/Generated/Samples/Samples_MultipleClient.cs @@ -19,7 +19,7 @@ public partial class Samples_MultipleClient [Ignore("Only validating compilation of examples")] public void Example_Multiple_NoOperationParams_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = client.NoOperationParams(); @@ -31,7 +31,7 @@ public void Example_Multiple_NoOperationParams_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Multiple_NoOperationParams_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = await client.NoOperationParamsAsync(); @@ -43,7 +43,7 @@ public async Task Example_Multiple_NoOperationParams_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Multiple_NoOperationParams_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = client.NoOperationParams(); @@ -55,7 +55,7 @@ public void Example_Multiple_NoOperationParams_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Multiple_NoOperationParams_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = await client.NoOperationParamsAsync(); @@ -67,7 +67,7 @@ public async Task Example_Multiple_NoOperationParams_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Multiple_WithOperationPathParam_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = client.WithOperationPathParam(""); @@ -79,7 +79,7 @@ public void Example_Multiple_WithOperationPathParam_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Multiple_WithOperationPathParam_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = await client.WithOperationPathParamAsync(""); @@ -91,7 +91,7 @@ public async Task Example_Multiple_WithOperationPathParam_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Multiple_WithOperationPathParam_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = client.WithOperationPathParam(""); @@ -103,7 +103,7 @@ public void Example_Multiple_WithOperationPathParam_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Multiple_WithOperationPathParam_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); MultipleClient client = new MultipleClient(endpoint); Response response = await client.WithOperationPathParamAsync(""); diff --git a/test/CadlRanchProjects/server/path/multiple/tspCodeModel.json b/test/CadlRanchProjects/server/path/multiple/tspCodeModel.json index 53ff2d2789c..cd1fef80dc8 100644 --- a/test/CadlRanchProjects/server/path/multiple/tspCodeModel.json +++ b/test/CadlRanchProjects/server/path/multiple/tspCodeModel.json @@ -55,60 +55,10 @@ "Name": "noOperationParams", "ResourceName": "Multiple", "Accessibility": "public", - "Parameters": [ - { - "$id": "8", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Pass in http://localhost:3000 for endpoint.", - "Type": { - "$id": "9", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "10", - "Name": "apiVersion", - "NameInRequest": "apiVersion", - "Description": "Pass in v1.0 for API version.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": true, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "11", - "Type": { - "$id": "12", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "v1.0" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "13", + "$id": "8", "StatusCodes": [ 204 ], @@ -128,23 +78,17 @@ "Decorators": [] }, { - "$id": "14", + "$id": "9", "Name": "withOperationPathParam", "ResourceName": "Multiple", "Accessibility": "public", "Parameters": [ { - "$ref": "8" - }, - { - "$ref": "10" - }, - { - "$id": "15", + "$id": "10", "Name": "keyword", "NameInRequest": "keyword", "Type": { - "$id": "16", + "$id": "11", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -163,7 +107,7 @@ ], "Responses": [ { - "$id": "17", + "$id": "12", "StatusCodes": [ 204 ], @@ -184,14 +128,57 @@ } ], "Protocol": { - "$id": "18" + "$id": "13" }, "Parameters": [ { - "$ref": "8" + "$id": "14", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Pass in http://localhost:3000 for endpoint.", + "Type": { + "$id": "15", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "10" + "$id": "16", + "Name": "apiVersion", + "NameInRequest": "apiVersion", + "Description": "Pass in v1.0 for API version.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": true, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "17", + "Type": { + "$id": "18", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "v1.0" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/server/path/single-headAsBoolean/src/Generated/Docs/SingleClient.xml b/test/CadlRanchProjects/server/path/single-headAsBoolean/src/Generated/Docs/SingleClient.xml index 7c3b74c5214..6c5913761dd 100644 --- a/test/CadlRanchProjects/server/path/single-headAsBoolean/src/Generated/Docs/SingleClient.xml +++ b/test/CadlRanchProjects/server/path/single-headAsBoolean/src/Generated/Docs/SingleClient.xml @@ -5,7 +5,7 @@ This sample shows how to call MyOpAsync. "); +Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = await client.MyOpAsync(); @@ -14,7 +14,7 @@ Console.WriteLine(response.GetRawResponse().Status); ]]> This sample shows how to call MyOpAsync with all request content. "); +Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = await client.MyOpAsync(); @@ -26,7 +26,7 @@ Console.WriteLine(response.GetRawResponse().Status); This sample shows how to call MyOp. "); +Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = client.MyOp(); @@ -35,7 +35,7 @@ Console.WriteLine(response.GetRawResponse().Status); ]]> This sample shows how to call MyOp with all request content. "); +Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = client.MyOp(); diff --git a/test/CadlRanchProjects/server/path/single-headAsBoolean/tests/Generated/Samples/Samples_SingleClient.cs b/test/CadlRanchProjects/server/path/single-headAsBoolean/tests/Generated/Samples/Samples_SingleClient.cs index 30016de99a1..e119b355421 100644 --- a/test/CadlRanchProjects/server/path/single-headAsBoolean/tests/Generated/Samples/Samples_SingleClient.cs +++ b/test/CadlRanchProjects/server/path/single-headAsBoolean/tests/Generated/Samples/Samples_SingleClient.cs @@ -19,7 +19,7 @@ public partial class Samples_SingleClient [Ignore("Only validating compilation of examples")] public void Example_Single_MyOp_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = client.MyOp(); @@ -31,7 +31,7 @@ public void Example_Single_MyOp_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Single_MyOp_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = await client.MyOpAsync(); @@ -43,7 +43,7 @@ public async Task Example_Single_MyOp_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Single_MyOp_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = client.MyOp(); @@ -55,7 +55,7 @@ public void Example_Single_MyOp_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Single_MyOp_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = await client.MyOpAsync(); diff --git a/test/CadlRanchProjects/server/path/single-headAsBoolean/tspCodeModel.json b/test/CadlRanchProjects/server/path/single-headAsBoolean/tspCodeModel.json index fce25309b29..636acaa93ef 100644 --- a/test/CadlRanchProjects/server/path/single-headAsBoolean/tspCodeModel.json +++ b/test/CadlRanchProjects/server/path/single-headAsBoolean/tspCodeModel.json @@ -15,32 +15,10 @@ "Name": "myOp", "ResourceName": "Single", "Accessibility": "public", - "Parameters": [ - { - "$id": "4", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "5", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "6", + "$id": "4", "StatusCodes": [ 200 ], @@ -61,11 +39,29 @@ } ], "Protocol": { - "$id": "7" + "$id": "5" }, "Parameters": [ { - "$ref": "4" + "$id": "6", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "7", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/server/path/single/src/Generated/Docs/SingleClient.xml b/test/CadlRanchProjects/server/path/single/src/Generated/Docs/SingleClient.xml index d262e8287e5..4eb73fe0584 100644 --- a/test/CadlRanchProjects/server/path/single/src/Generated/Docs/SingleClient.xml +++ b/test/CadlRanchProjects/server/path/single/src/Generated/Docs/SingleClient.xml @@ -5,7 +5,7 @@ This sample shows how to call MyOpAsync. "); +Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = await client.MyOpAsync(); @@ -14,7 +14,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call MyOpAsync with all request content. "); +Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = await client.MyOpAsync(); @@ -26,7 +26,7 @@ Console.WriteLine(response.Status); This sample shows how to call MyOp. "); +Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = client.MyOp(); @@ -35,7 +35,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call MyOp with all request content. "); +Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = client.MyOp(); diff --git a/test/CadlRanchProjects/server/path/single/tests/Generated/Samples/Samples_SingleClient.cs b/test/CadlRanchProjects/server/path/single/tests/Generated/Samples/Samples_SingleClient.cs index 77bb5de0c77..c64e1ab6451 100644 --- a/test/CadlRanchProjects/server/path/single/tests/Generated/Samples/Samples_SingleClient.cs +++ b/test/CadlRanchProjects/server/path/single/tests/Generated/Samples/Samples_SingleClient.cs @@ -19,7 +19,7 @@ public partial class Samples_SingleClient [Ignore("Only validating compilation of examples")] public void Example_Single_MyOp_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = client.MyOp(); @@ -31,7 +31,7 @@ public void Example_Single_MyOp_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Single_MyOp_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = await client.MyOpAsync(); @@ -43,7 +43,7 @@ public async Task Example_Single_MyOp_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Single_MyOp_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = client.MyOp(); @@ -55,7 +55,7 @@ public void Example_Single_MyOp_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Single_MyOp_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); SingleClient client = new SingleClient(endpoint); Response response = await client.MyOpAsync(); diff --git a/test/CadlRanchProjects/server/path/single/tspCodeModel.json b/test/CadlRanchProjects/server/path/single/tspCodeModel.json index fce25309b29..636acaa93ef 100644 --- a/test/CadlRanchProjects/server/path/single/tspCodeModel.json +++ b/test/CadlRanchProjects/server/path/single/tspCodeModel.json @@ -15,32 +15,10 @@ "Name": "myOp", "ResourceName": "Single", "Accessibility": "public", - "Parameters": [ - { - "$id": "4", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "5", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "6", + "$id": "4", "StatusCodes": [ 200 ], @@ -61,11 +39,29 @@ } ], "Protocol": { - "$id": "7" + "$id": "5" }, "Parameters": [ { - "$ref": "4" + "$id": "6", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "7", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/server/versions/not-versioned/src/Generated/Docs/NotVersionedClient.xml b/test/CadlRanchProjects/server/versions/not-versioned/src/Generated/Docs/NotVersionedClient.xml index 46938f94fa5..4b0463f561e 100644 --- a/test/CadlRanchProjects/server/versions/not-versioned/src/Generated/Docs/NotVersionedClient.xml +++ b/test/CadlRanchProjects/server/versions/not-versioned/src/Generated/Docs/NotVersionedClient.xml @@ -5,7 +5,7 @@ This sample shows how to call WithoutApiVersionAsync. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithoutApiVersionAsync(); @@ -14,7 +14,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithoutApiVersionAsync with all request content. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithoutApiVersionAsync(); @@ -26,7 +26,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithoutApiVersion. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithoutApiVersion(); @@ -35,7 +35,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithoutApiVersion with all request content. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithoutApiVersion(); @@ -47,7 +47,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithQueryApiVersionAsync. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithQueryApiVersionAsync(""); @@ -56,7 +56,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithQueryApiVersionAsync with all parameters. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithQueryApiVersionAsync(""); @@ -68,7 +68,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithQueryApiVersion. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithQueryApiVersion(""); @@ -77,7 +77,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithQueryApiVersion with all parameters. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithQueryApiVersion(""); @@ -89,7 +89,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithPathApiVersionAsync. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithPathApiVersionAsync(""); @@ -98,7 +98,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithPathApiVersionAsync with all parameters. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithPathApiVersionAsync(""); @@ -110,7 +110,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithPathApiVersion. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithPathApiVersion(""); @@ -119,7 +119,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithPathApiVersion with all parameters. "); +Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithPathApiVersion(""); diff --git a/test/CadlRanchProjects/server/versions/not-versioned/tests/Generated/Samples/Samples_NotVersionedClient.cs b/test/CadlRanchProjects/server/versions/not-versioned/tests/Generated/Samples/Samples_NotVersionedClient.cs index ba69df36425..f5a0f432c7e 100644 --- a/test/CadlRanchProjects/server/versions/not-versioned/tests/Generated/Samples/Samples_NotVersionedClient.cs +++ b/test/CadlRanchProjects/server/versions/not-versioned/tests/Generated/Samples/Samples_NotVersionedClient.cs @@ -19,7 +19,7 @@ public partial class Samples_NotVersionedClient [Ignore("Only validating compilation of examples")] public void Example_NotVersioned_WithoutApiVersion_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithoutApiVersion(); @@ -31,7 +31,7 @@ public void Example_NotVersioned_WithoutApiVersion_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_NotVersioned_WithoutApiVersion_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithoutApiVersionAsync(); @@ -43,7 +43,7 @@ public async Task Example_NotVersioned_WithoutApiVersion_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_NotVersioned_WithoutApiVersion_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithoutApiVersion(); @@ -55,7 +55,7 @@ public void Example_NotVersioned_WithoutApiVersion_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_NotVersioned_WithoutApiVersion_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithoutApiVersionAsync(); @@ -67,7 +67,7 @@ public async Task Example_NotVersioned_WithoutApiVersion_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_NotVersioned_WithQueryApiVersion_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithQueryApiVersion(""); @@ -79,7 +79,7 @@ public void Example_NotVersioned_WithQueryApiVersion_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_NotVersioned_WithQueryApiVersion_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithQueryApiVersionAsync(""); @@ -91,7 +91,7 @@ public async Task Example_NotVersioned_WithQueryApiVersion_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_NotVersioned_WithQueryApiVersion_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithQueryApiVersion(""); @@ -103,7 +103,7 @@ public void Example_NotVersioned_WithQueryApiVersion_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_NotVersioned_WithQueryApiVersion_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithQueryApiVersionAsync(""); @@ -115,7 +115,7 @@ public async Task Example_NotVersioned_WithQueryApiVersion_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_NotVersioned_WithPathApiVersion_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithPathApiVersion(""); @@ -127,7 +127,7 @@ public void Example_NotVersioned_WithPathApiVersion_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_NotVersioned_WithPathApiVersion_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithPathApiVersionAsync(""); @@ -139,7 +139,7 @@ public async Task Example_NotVersioned_WithPathApiVersion_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_NotVersioned_WithPathApiVersion_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = client.WithPathApiVersion(""); @@ -151,7 +151,7 @@ public void Example_NotVersioned_WithPathApiVersion_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_NotVersioned_WithPathApiVersion_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); NotVersionedClient client = new NotVersionedClient(endpoint); Response response = await client.WithPathApiVersionAsync(""); diff --git a/test/CadlRanchProjects/server/versions/not-versioned/tspCodeModel.json b/test/CadlRanchProjects/server/versions/not-versioned/tspCodeModel.json index 2b15141a611..d0ce8e8b4ac 100644 --- a/test/CadlRanchProjects/server/versions/not-versioned/tspCodeModel.json +++ b/test/CadlRanchProjects/server/versions/not-versioned/tspCodeModel.json @@ -15,32 +15,10 @@ "Name": "withoutApiVersion", "ResourceName": "NotVersioned", "Accessibility": "public", - "Parameters": [ - { - "$id": "4", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "5", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "6", + "$id": "4", "StatusCodes": [ 200 ], @@ -60,20 +38,17 @@ "Decorators": [] }, { - "$id": "7", + "$id": "5", "Name": "withQueryApiVersion", "ResourceName": "NotVersioned", "Accessibility": "public", "Parameters": [ { - "$ref": "4" - }, - { - "$id": "8", + "$id": "6", "Name": "apiVersion", "NameInRequest": "api-version", "Type": { - "$id": "9", + "$id": "7", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92,7 +67,7 @@ ], "Responses": [ { - "$id": "10", + "$id": "8", "StatusCodes": [ 200 ], @@ -112,20 +87,17 @@ "Decorators": [] }, { - "$id": "11", + "$id": "9", "Name": "withPathApiVersion", "ResourceName": "NotVersioned", "Accessibility": "public", "Parameters": [ { - "$ref": "4" - }, - { - "$id": "12", + "$id": "10", "Name": "apiVersion", "NameInRequest": "apiVersion", "Type": { - "$id": "13", + "$id": "11", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144,7 +116,7 @@ ], "Responses": [ { - "$id": "14", + "$id": "12", "StatusCodes": [ 200 ], @@ -165,11 +137,29 @@ } ], "Protocol": { - "$id": "15" + "$id": "13" }, "Parameters": [ { - "$ref": "4" + "$id": "14", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "15", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/server/versions/versioned/src/Generated/Docs/VersionedClient.xml b/test/CadlRanchProjects/server/versions/versioned/src/Generated/Docs/VersionedClient.xml index 144021ce1e0..d1f47a37fd9 100644 --- a/test/CadlRanchProjects/server/versions/versioned/src/Generated/Docs/VersionedClient.xml +++ b/test/CadlRanchProjects/server/versions/versioned/src/Generated/Docs/VersionedClient.xml @@ -5,7 +5,7 @@ This sample shows how to call WithoutApiVersionAsync. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithoutApiVersionAsync(); @@ -14,7 +14,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithoutApiVersionAsync with all request content. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithoutApiVersionAsync(); @@ -26,7 +26,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithoutApiVersion. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithoutApiVersion(); @@ -35,7 +35,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithoutApiVersion with all request content. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithoutApiVersion(); @@ -47,7 +47,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithQueryApiVersionAsync. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithQueryApiVersionAsync(); @@ -56,7 +56,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithQueryApiVersionAsync with all request content. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithQueryApiVersionAsync(); @@ -68,7 +68,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithQueryApiVersion. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithQueryApiVersion(); @@ -77,7 +77,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithQueryApiVersion with all request content. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithQueryApiVersion(); @@ -89,7 +89,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithPathApiVersionAsync. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithPathApiVersionAsync(); @@ -98,7 +98,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithPathApiVersionAsync with all request content. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithPathApiVersionAsync(); @@ -110,7 +110,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithPathApiVersion. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithPathApiVersion(); @@ -119,7 +119,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithPathApiVersion with all request content. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithPathApiVersion(); @@ -131,7 +131,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithQueryOldApiVersionAsync. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithQueryOldApiVersionAsync(); @@ -140,7 +140,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithQueryOldApiVersionAsync with all request content. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithQueryOldApiVersionAsync(); @@ -152,7 +152,7 @@ Console.WriteLine(response.Status); This sample shows how to call WithQueryOldApiVersion. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithQueryOldApiVersion(); @@ -161,7 +161,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call WithQueryOldApiVersion with all request content. "); +Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithQueryOldApiVersion(); diff --git a/test/CadlRanchProjects/server/versions/versioned/tests/Generated/Samples/Samples_VersionedClient.cs b/test/CadlRanchProjects/server/versions/versioned/tests/Generated/Samples/Samples_VersionedClient.cs index 52c257e062a..2bf59fc8c2c 100644 --- a/test/CadlRanchProjects/server/versions/versioned/tests/Generated/Samples/Samples_VersionedClient.cs +++ b/test/CadlRanchProjects/server/versions/versioned/tests/Generated/Samples/Samples_VersionedClient.cs @@ -19,7 +19,7 @@ public partial class Samples_VersionedClient [Ignore("Only validating compilation of examples")] public void Example_Versioned_WithoutApiVersion_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithoutApiVersion(); @@ -31,7 +31,7 @@ public void Example_Versioned_WithoutApiVersion_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Versioned_WithoutApiVersion_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithoutApiVersionAsync(); @@ -43,7 +43,7 @@ public async Task Example_Versioned_WithoutApiVersion_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Versioned_WithoutApiVersion_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithoutApiVersion(); @@ -55,7 +55,7 @@ public void Example_Versioned_WithoutApiVersion_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Versioned_WithoutApiVersion_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithoutApiVersionAsync(); @@ -67,7 +67,7 @@ public async Task Example_Versioned_WithoutApiVersion_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Versioned_WithQueryApiVersion_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithQueryApiVersion(); @@ -79,7 +79,7 @@ public void Example_Versioned_WithQueryApiVersion_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Versioned_WithQueryApiVersion_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithQueryApiVersionAsync(); @@ -91,7 +91,7 @@ public async Task Example_Versioned_WithQueryApiVersion_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Versioned_WithQueryApiVersion_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithQueryApiVersion(); @@ -103,7 +103,7 @@ public void Example_Versioned_WithQueryApiVersion_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Versioned_WithQueryApiVersion_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithQueryApiVersionAsync(); @@ -115,7 +115,7 @@ public async Task Example_Versioned_WithQueryApiVersion_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Versioned_WithPathApiVersion_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithPathApiVersion(); @@ -127,7 +127,7 @@ public void Example_Versioned_WithPathApiVersion_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Versioned_WithPathApiVersion_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithPathApiVersionAsync(); @@ -139,7 +139,7 @@ public async Task Example_Versioned_WithPathApiVersion_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Versioned_WithPathApiVersion_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithPathApiVersion(); @@ -151,7 +151,7 @@ public void Example_Versioned_WithPathApiVersion_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Versioned_WithPathApiVersion_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithPathApiVersionAsync(); @@ -163,7 +163,7 @@ public async Task Example_Versioned_WithPathApiVersion_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Versioned_WithQueryOldApiVersion_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithQueryOldApiVersion(); @@ -175,7 +175,7 @@ public void Example_Versioned_WithQueryOldApiVersion_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Versioned_WithQueryOldApiVersion_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithQueryOldApiVersionAsync(); @@ -187,7 +187,7 @@ public async Task Example_Versioned_WithQueryOldApiVersion_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Versioned_WithQueryOldApiVersion_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = client.WithQueryOldApiVersion(); @@ -199,7 +199,7 @@ public void Example_Versioned_WithQueryOldApiVersion_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Versioned_WithQueryOldApiVersion_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersionedClient client = new VersionedClient(endpoint); Response response = await client.WithQueryOldApiVersionAsync(); diff --git a/test/CadlRanchProjects/server/versions/versioned/tspCodeModel.json b/test/CadlRanchProjects/server/versions/versioned/tspCodeModel.json index 788c75a1a33..5cdd01c21b6 100644 --- a/test/CadlRanchProjects/server/versions/versioned/tspCodeModel.json +++ b/test/CadlRanchProjects/server/versions/versioned/tspCodeModel.json @@ -75,32 +75,10 @@ "Name": "withoutApiVersion", "ResourceName": "Versioned", "Accessibility": "public", - "Parameters": [ - { - "$id": "10", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "11", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "12", + "$id": "10", "StatusCodes": [ 200 ], @@ -120,20 +98,17 @@ "Decorators": [] }, { - "$id": "13", + "$id": "11", "Name": "withQueryApiVersion", "ResourceName": "Versioned", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "14", + "$id": "12", "Name": "apiVersion", "NameInRequest": "api-version", "Type": { - "$id": "15", + "$id": "13", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147,9 +122,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "16", + "$id": "14", "Type": { - "$id": "17", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -162,7 +137,7 @@ ], "Responses": [ { - "$id": "18", + "$id": "16", "StatusCodes": [ 200 ], @@ -182,20 +157,17 @@ "Decorators": [] }, { - "$id": "19", + "$id": "17", "Name": "withPathApiVersion", "ResourceName": "Versioned", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "20", + "$id": "18", "Name": "apiVersion", "NameInRequest": "apiVersion", "Type": { - "$id": "21", + "$id": "19", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -209,9 +181,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "22", + "$id": "20", "Type": { - "$id": "23", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -224,7 +196,7 @@ ], "Responses": [ { - "$id": "24", + "$id": "22", "StatusCodes": [ 200 ], @@ -244,20 +216,17 @@ "Decorators": [] }, { - "$id": "25", + "$id": "23", "Name": "withQueryOldApiVersion", "ResourceName": "Versioned", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "26", + "$id": "24", "Name": "apiVersion", "NameInRequest": "api-version", "Type": { - "$id": "27", + "$id": "25", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -271,9 +240,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "28", + "$id": "26", "Type": { - "$id": "29", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -286,7 +255,7 @@ ], "Responses": [ { - "$id": "30", + "$id": "28", "StatusCodes": [ 200 ], @@ -307,11 +276,29 @@ } ], "Protocol": { - "$id": "31" + "$id": "29" }, "Parameters": [ { - "$ref": "10" + "$id": "30", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "31", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/special-headers/conditional-request/tspCodeModel.json b/test/CadlRanchProjects/special-headers/conditional-request/tspCodeModel.json index 71d72c21c38..1ee0e40c9e2 100644 --- a/test/CadlRanchProjects/special-headers/conditional-request/tspCodeModel.json +++ b/test/CadlRanchProjects/special-headers/conditional-request/tspCodeModel.json @@ -19,42 +19,11 @@ "Parameters": [ { "$id": "4", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "5", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "6", - "Type": { - "$id": "7", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "8", "Name": "ifMatch", "NameInRequest": "If-Match", "Description": "The request should only proceed if an entity matches this string.", "Type": { - "$id": "9", + "$id": "5", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73,7 +42,7 @@ ], "Responses": [ { - "$id": "10", + "$id": "6", "StatusCodes": [ 204 ], @@ -93,22 +62,19 @@ "Decorators": [] }, { - "$id": "11", + "$id": "7", "Name": "postIfNoneMatch", "ResourceName": "ConditionalRequest", "Description": "Check when only If-None-Match in header is defined.", "Accessibility": "public", "Parameters": [ { - "$ref": "4" - }, - { - "$id": "12", + "$id": "8", "Name": "ifNoneMatch", "NameInRequest": "If-None-Match", "Description": "The request should only proceed if no entity matches this string.", "Type": { - "$id": "13", + "$id": "9", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127,7 +93,7 @@ ], "Responses": [ { - "$id": "14", + "$id": "10", "StatusCodes": [ 204 ], @@ -147,27 +113,24 @@ "Decorators": [] }, { - "$id": "15", + "$id": "11", "Name": "headIfModifiedSince", "ResourceName": "ConditionalRequest", "Description": "Check when only If-Modified-Since in header is defined.", "Accessibility": "public", "Parameters": [ { - "$ref": "4" - }, - { - "$id": "16", + "$id": "12", "Name": "ifModifiedSince", "NameInRequest": "If-Modified-Since", "Description": "A timestamp indicating the last modified time of the resource known to the\nclient. The operation will be performed only if the resource on the service has\nbeen modified since the specified time.", "Type": { - "$id": "17", + "$id": "13", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "18", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -189,7 +152,7 @@ ], "Responses": [ { - "$id": "19", + "$id": "15", "StatusCodes": [ 204 ], @@ -209,27 +172,24 @@ "Decorators": [] }, { - "$id": "20", + "$id": "16", "Name": "postIfUnmodifiedSince", "ResourceName": "ConditionalRequest", "Description": "Check when only If-Unmodified-Since in header is defined.", "Accessibility": "public", "Parameters": [ { - "$ref": "4" - }, - { - "$id": "21", + "$id": "17", "Name": "ifUnmodifiedSince", "NameInRequest": "If-Unmodified-Since", "Description": "A timestamp indicating the last modified time of the resource known to the\nclient. The operation will be performed only if the resource on the service has\nnot been modified since the specified time.", "Type": { - "$id": "22", + "$id": "18", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "23", + "$id": "19", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -251,7 +211,7 @@ ], "Responses": [ { - "$id": "24", + "$id": "20", "StatusCodes": [ 204 ], @@ -272,11 +232,39 @@ } ], "Protocol": { - "$id": "25" + "$id": "21" }, "Parameters": [ { - "$ref": "4" + "$id": "22", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "23", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "24", + "Type": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/special-headers/repeatability/tspCodeModel.json b/test/CadlRanchProjects/special-headers/repeatability/tspCodeModel.json index 8ee3c2522b6..313813feca7 100644 --- a/test/CadlRanchProjects/special-headers/repeatability/tspCodeModel.json +++ b/test/CadlRanchProjects/special-headers/repeatability/tspCodeModel.json @@ -73,41 +73,10 @@ "Parameters": [ { "$id": "10", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "11", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "12", - "Type": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "14", "Name": "repeatabilityRequestID", "NameInRequest": "Repeatability-Request-ID", "Type": { - "$id": "15", + "$id": "11", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124,16 +93,16 @@ "SkipUrlEncoding": false }, { - "$id": "16", + "$id": "12", "Name": "repeatabilityFirstSent", "NameInRequest": "Repeatability-First-Sent", "Type": { - "$id": "17", + "$id": "13", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "18", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -155,14 +124,14 @@ ], "Responses": [ { - "$id": "19", + "$id": "15", "StatusCodes": [ 204 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "20", + "$id": "16", "Name": "repeatabilityResult", "NameInResponse": "Repeatability-Result", "Description": "Indicates whether the repeatable request was accepted or rejected.", @@ -186,11 +155,39 @@ } ], "Protocol": { - "$id": "21" + "$id": "17" }, "Parameters": [ { - "$ref": "10" + "$id": "18", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "19", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "20", + "Type": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/special-words/tspCodeModel.json b/test/CadlRanchProjects/special-words/tspCodeModel.json index fc16aab0e8d..7d34c9f09f2 100644 --- a/test/CadlRanchProjects/special-words/tspCodeModel.json +++ b/test/CadlRanchProjects/special-words/tspCodeModel.json @@ -1048,45 +1048,14 @@ "Parameters": [ { "$id": "112", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "113", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "114", - "Type": { - "$id": "115", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "116", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "117", + "$id": "113", "kind": "constant", "valueType": { - "$id": "118", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1106,7 +1075,7 @@ "SkipUrlEncoding": false }, { - "$id": "119", + "$id": "115", "Name": "body", "NameInRequest": "body", "Type": { @@ -1125,7 +1094,7 @@ ], "Responses": [ { - "$id": "120", + "$id": "116", "StatusCodes": [ 204 ], @@ -1148,24 +1117,21 @@ "Decorators": [] }, { - "$id": "121", + "$id": "117", "Name": "withAs", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "122", + "$id": "118", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "123", + "$id": "119", "kind": "constant", "valueType": { - "$id": "124", + "$id": "120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1185,7 +1151,7 @@ "SkipUrlEncoding": false }, { - "$id": "125", + "$id": "121", "Name": "body", "NameInRequest": "body", "Type": { @@ -1204,7 +1170,7 @@ ], "Responses": [ { - "$id": "126", + "$id": "122", "StatusCodes": [ 204 ], @@ -1227,24 +1193,21 @@ "Decorators": [] }, { - "$id": "127", + "$id": "123", "Name": "withAssert", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "128", + "$id": "124", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "129", + "$id": "125", "kind": "constant", "valueType": { - "$id": "130", + "$id": "126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1264,7 +1227,7 @@ "SkipUrlEncoding": false }, { - "$id": "131", + "$id": "127", "Name": "body", "NameInRequest": "body", "Type": { @@ -1283,7 +1246,7 @@ ], "Responses": [ { - "$id": "132", + "$id": "128", "StatusCodes": [ 204 ], @@ -1306,24 +1269,21 @@ "Decorators": [] }, { - "$id": "133", + "$id": "129", "Name": "withAsync", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "134", + "$id": "130", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "135", + "$id": "131", "kind": "constant", "valueType": { - "$id": "136", + "$id": "132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1343,7 +1303,7 @@ "SkipUrlEncoding": false }, { - "$id": "137", + "$id": "133", "Name": "body", "NameInRequest": "body", "Type": { @@ -1362,7 +1322,7 @@ ], "Responses": [ { - "$id": "138", + "$id": "134", "StatusCodes": [ 204 ], @@ -1385,24 +1345,21 @@ "Decorators": [] }, { - "$id": "139", + "$id": "135", "Name": "withAwait", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "140", + "$id": "136", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "141", + "$id": "137", "kind": "constant", "valueType": { - "$id": "142", + "$id": "138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1422,7 +1379,7 @@ "SkipUrlEncoding": false }, { - "$id": "143", + "$id": "139", "Name": "body", "NameInRequest": "body", "Type": { @@ -1441,7 +1398,7 @@ ], "Responses": [ { - "$id": "144", + "$id": "140", "StatusCodes": [ 204 ], @@ -1464,24 +1421,21 @@ "Decorators": [] }, { - "$id": "145", + "$id": "141", "Name": "withBreak", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "146", + "$id": "142", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "147", + "$id": "143", "kind": "constant", "valueType": { - "$id": "148", + "$id": "144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1501,7 +1455,7 @@ "SkipUrlEncoding": false }, { - "$id": "149", + "$id": "145", "Name": "body", "NameInRequest": "body", "Type": { @@ -1520,7 +1474,7 @@ ], "Responses": [ { - "$id": "150", + "$id": "146", "StatusCodes": [ 204 ], @@ -1543,24 +1497,21 @@ "Decorators": [] }, { - "$id": "151", + "$id": "147", "Name": "withClass", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "152", + "$id": "148", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "153", + "$id": "149", "kind": "constant", "valueType": { - "$id": "154", + "$id": "150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1580,7 +1531,7 @@ "SkipUrlEncoding": false }, { - "$id": "155", + "$id": "151", "Name": "body", "NameInRequest": "body", "Type": { @@ -1599,7 +1550,7 @@ ], "Responses": [ { - "$id": "156", + "$id": "152", "StatusCodes": [ 204 ], @@ -1622,24 +1573,21 @@ "Decorators": [] }, { - "$id": "157", + "$id": "153", "Name": "withConstructor", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "158", + "$id": "154", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "159", + "$id": "155", "kind": "constant", "valueType": { - "$id": "160", + "$id": "156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1659,7 +1607,7 @@ "SkipUrlEncoding": false }, { - "$id": "161", + "$id": "157", "Name": "body", "NameInRequest": "body", "Type": { @@ -1678,7 +1626,7 @@ ], "Responses": [ { - "$id": "162", + "$id": "158", "StatusCodes": [ 204 ], @@ -1701,24 +1649,21 @@ "Decorators": [] }, { - "$id": "163", + "$id": "159", "Name": "withContinue", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "164", + "$id": "160", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "165", + "$id": "161", "kind": "constant", "valueType": { - "$id": "166", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1738,7 +1683,7 @@ "SkipUrlEncoding": false }, { - "$id": "167", + "$id": "163", "Name": "body", "NameInRequest": "body", "Type": { @@ -1757,7 +1702,7 @@ ], "Responses": [ { - "$id": "168", + "$id": "164", "StatusCodes": [ 204 ], @@ -1780,24 +1725,21 @@ "Decorators": [] }, { - "$id": "169", + "$id": "165", "Name": "withDef", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "170", + "$id": "166", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "171", + "$id": "167", "kind": "constant", "valueType": { - "$id": "172", + "$id": "168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1817,7 +1759,7 @@ "SkipUrlEncoding": false }, { - "$id": "173", + "$id": "169", "Name": "body", "NameInRequest": "body", "Type": { @@ -1836,7 +1778,7 @@ ], "Responses": [ { - "$id": "174", + "$id": "170", "StatusCodes": [ 204 ], @@ -1859,24 +1801,21 @@ "Decorators": [] }, { - "$id": "175", + "$id": "171", "Name": "withDel", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "176", + "$id": "172", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "177", + "$id": "173", "kind": "constant", "valueType": { - "$id": "178", + "$id": "174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1896,7 +1835,7 @@ "SkipUrlEncoding": false }, { - "$id": "179", + "$id": "175", "Name": "body", "NameInRequest": "body", "Type": { @@ -1915,7 +1854,7 @@ ], "Responses": [ { - "$id": "180", + "$id": "176", "StatusCodes": [ 204 ], @@ -1938,24 +1877,21 @@ "Decorators": [] }, { - "$id": "181", + "$id": "177", "Name": "withElif", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "182", + "$id": "178", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "183", + "$id": "179", "kind": "constant", "valueType": { - "$id": "184", + "$id": "180", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1975,7 +1911,7 @@ "SkipUrlEncoding": false }, { - "$id": "185", + "$id": "181", "Name": "body", "NameInRequest": "body", "Type": { @@ -1994,7 +1930,7 @@ ], "Responses": [ { - "$id": "186", + "$id": "182", "StatusCodes": [ 204 ], @@ -2017,24 +1953,21 @@ "Decorators": [] }, { - "$id": "187", + "$id": "183", "Name": "withElse", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "188", + "$id": "184", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "189", + "$id": "185", "kind": "constant", "valueType": { - "$id": "190", + "$id": "186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2054,7 +1987,7 @@ "SkipUrlEncoding": false }, { - "$id": "191", + "$id": "187", "Name": "body", "NameInRequest": "body", "Type": { @@ -2073,7 +2006,7 @@ ], "Responses": [ { - "$id": "192", + "$id": "188", "StatusCodes": [ 204 ], @@ -2096,24 +2029,21 @@ "Decorators": [] }, { - "$id": "193", + "$id": "189", "Name": "withExcept", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "194", + "$id": "190", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "195", + "$id": "191", "kind": "constant", "valueType": { - "$id": "196", + "$id": "192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2133,7 +2063,7 @@ "SkipUrlEncoding": false }, { - "$id": "197", + "$id": "193", "Name": "body", "NameInRequest": "body", "Type": { @@ -2152,7 +2082,7 @@ ], "Responses": [ { - "$id": "198", + "$id": "194", "StatusCodes": [ 204 ], @@ -2175,24 +2105,21 @@ "Decorators": [] }, { - "$id": "199", + "$id": "195", "Name": "withExec", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "200", + "$id": "196", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "201", + "$id": "197", "kind": "constant", "valueType": { - "$id": "202", + "$id": "198", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2212,7 +2139,7 @@ "SkipUrlEncoding": false }, { - "$id": "203", + "$id": "199", "Name": "body", "NameInRequest": "body", "Type": { @@ -2231,7 +2158,7 @@ ], "Responses": [ { - "$id": "204", + "$id": "200", "StatusCodes": [ 204 ], @@ -2254,24 +2181,21 @@ "Decorators": [] }, { - "$id": "205", + "$id": "201", "Name": "withFinally", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "206", + "$id": "202", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "207", + "$id": "203", "kind": "constant", "valueType": { - "$id": "208", + "$id": "204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2291,7 +2215,7 @@ "SkipUrlEncoding": false }, { - "$id": "209", + "$id": "205", "Name": "body", "NameInRequest": "body", "Type": { @@ -2310,7 +2234,7 @@ ], "Responses": [ { - "$id": "210", + "$id": "206", "StatusCodes": [ 204 ], @@ -2333,24 +2257,21 @@ "Decorators": [] }, { - "$id": "211", + "$id": "207", "Name": "withFor", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "212", + "$id": "208", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "213", + "$id": "209", "kind": "constant", "valueType": { - "$id": "214", + "$id": "210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2370,7 +2291,7 @@ "SkipUrlEncoding": false }, { - "$id": "215", + "$id": "211", "Name": "body", "NameInRequest": "body", "Type": { @@ -2389,7 +2310,7 @@ ], "Responses": [ { - "$id": "216", + "$id": "212", "StatusCodes": [ 204 ], @@ -2412,24 +2333,21 @@ "Decorators": [] }, { - "$id": "217", + "$id": "213", "Name": "withFrom", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "218", + "$id": "214", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "219", + "$id": "215", "kind": "constant", "valueType": { - "$id": "220", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2449,7 +2367,7 @@ "SkipUrlEncoding": false }, { - "$id": "221", + "$id": "217", "Name": "body", "NameInRequest": "body", "Type": { @@ -2468,7 +2386,7 @@ ], "Responses": [ { - "$id": "222", + "$id": "218", "StatusCodes": [ 204 ], @@ -2491,24 +2409,21 @@ "Decorators": [] }, { - "$id": "223", + "$id": "219", "Name": "withGlobal", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "224", + "$id": "220", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "225", + "$id": "221", "kind": "constant", "valueType": { - "$id": "226", + "$id": "222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2528,7 +2443,7 @@ "SkipUrlEncoding": false }, { - "$id": "227", + "$id": "223", "Name": "body", "NameInRequest": "body", "Type": { @@ -2547,7 +2462,7 @@ ], "Responses": [ { - "$id": "228", + "$id": "224", "StatusCodes": [ 204 ], @@ -2570,24 +2485,21 @@ "Decorators": [] }, { - "$id": "229", + "$id": "225", "Name": "withIf", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "230", + "$id": "226", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "231", + "$id": "227", "kind": "constant", "valueType": { - "$id": "232", + "$id": "228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2607,7 +2519,7 @@ "SkipUrlEncoding": false }, { - "$id": "233", + "$id": "229", "Name": "body", "NameInRequest": "body", "Type": { @@ -2626,7 +2538,7 @@ ], "Responses": [ { - "$id": "234", + "$id": "230", "StatusCodes": [ 204 ], @@ -2649,24 +2561,21 @@ "Decorators": [] }, { - "$id": "235", + "$id": "231", "Name": "withImport", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "236", + "$id": "232", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "237", + "$id": "233", "kind": "constant", "valueType": { - "$id": "238", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2686,7 +2595,7 @@ "SkipUrlEncoding": false }, { - "$id": "239", + "$id": "235", "Name": "body", "NameInRequest": "body", "Type": { @@ -2705,7 +2614,7 @@ ], "Responses": [ { - "$id": "240", + "$id": "236", "StatusCodes": [ 204 ], @@ -2728,24 +2637,21 @@ "Decorators": [] }, { - "$id": "241", + "$id": "237", "Name": "withIn", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "242", + "$id": "238", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "243", + "$id": "239", "kind": "constant", "valueType": { - "$id": "244", + "$id": "240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2765,7 +2671,7 @@ "SkipUrlEncoding": false }, { - "$id": "245", + "$id": "241", "Name": "body", "NameInRequest": "body", "Type": { @@ -2784,7 +2690,7 @@ ], "Responses": [ { - "$id": "246", + "$id": "242", "StatusCodes": [ 204 ], @@ -2807,24 +2713,21 @@ "Decorators": [] }, { - "$id": "247", + "$id": "243", "Name": "withIs", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "248", + "$id": "244", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "249", + "$id": "245", "kind": "constant", "valueType": { - "$id": "250", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2844,7 +2747,7 @@ "SkipUrlEncoding": false }, { - "$id": "251", + "$id": "247", "Name": "body", "NameInRequest": "body", "Type": { @@ -2863,7 +2766,7 @@ ], "Responses": [ { - "$id": "252", + "$id": "248", "StatusCodes": [ 204 ], @@ -2886,24 +2789,21 @@ "Decorators": [] }, { - "$id": "253", + "$id": "249", "Name": "withLambda", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "254", + "$id": "250", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "255", + "$id": "251", "kind": "constant", "valueType": { - "$id": "256", + "$id": "252", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2923,7 +2823,7 @@ "SkipUrlEncoding": false }, { - "$id": "257", + "$id": "253", "Name": "body", "NameInRequest": "body", "Type": { @@ -2942,7 +2842,7 @@ ], "Responses": [ { - "$id": "258", + "$id": "254", "StatusCodes": [ 204 ], @@ -2965,24 +2865,21 @@ "Decorators": [] }, { - "$id": "259", + "$id": "255", "Name": "withNot", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "260", + "$id": "256", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "261", + "$id": "257", "kind": "constant", "valueType": { - "$id": "262", + "$id": "258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3002,7 +2899,7 @@ "SkipUrlEncoding": false }, { - "$id": "263", + "$id": "259", "Name": "body", "NameInRequest": "body", "Type": { @@ -3021,7 +2918,7 @@ ], "Responses": [ { - "$id": "264", + "$id": "260", "StatusCodes": [ 204 ], @@ -3044,24 +2941,21 @@ "Decorators": [] }, { - "$id": "265", + "$id": "261", "Name": "withOr", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "266", + "$id": "262", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "267", + "$id": "263", "kind": "constant", "valueType": { - "$id": "268", + "$id": "264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3081,7 +2975,7 @@ "SkipUrlEncoding": false }, { - "$id": "269", + "$id": "265", "Name": "body", "NameInRequest": "body", "Type": { @@ -3100,7 +2994,7 @@ ], "Responses": [ { - "$id": "270", + "$id": "266", "StatusCodes": [ 204 ], @@ -3123,24 +3017,21 @@ "Decorators": [] }, { - "$id": "271", + "$id": "267", "Name": "withPass", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "272", + "$id": "268", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "273", + "$id": "269", "kind": "constant", "valueType": { - "$id": "274", + "$id": "270", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3160,7 +3051,7 @@ "SkipUrlEncoding": false }, { - "$id": "275", + "$id": "271", "Name": "body", "NameInRequest": "body", "Type": { @@ -3179,7 +3070,7 @@ ], "Responses": [ { - "$id": "276", + "$id": "272", "StatusCodes": [ 204 ], @@ -3202,24 +3093,21 @@ "Decorators": [] }, { - "$id": "277", + "$id": "273", "Name": "withRaise", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "278", + "$id": "274", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "279", + "$id": "275", "kind": "constant", "valueType": { - "$id": "280", + "$id": "276", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3239,7 +3127,7 @@ "SkipUrlEncoding": false }, { - "$id": "281", + "$id": "277", "Name": "body", "NameInRequest": "body", "Type": { @@ -3258,7 +3146,7 @@ ], "Responses": [ { - "$id": "282", + "$id": "278", "StatusCodes": [ 204 ], @@ -3281,24 +3169,21 @@ "Decorators": [] }, { - "$id": "283", + "$id": "279", "Name": "withReturn", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "284", + "$id": "280", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "285", + "$id": "281", "kind": "constant", "valueType": { - "$id": "286", + "$id": "282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3318,7 +3203,7 @@ "SkipUrlEncoding": false }, { - "$id": "287", + "$id": "283", "Name": "body", "NameInRequest": "body", "Type": { @@ -3337,7 +3222,7 @@ ], "Responses": [ { - "$id": "288", + "$id": "284", "StatusCodes": [ 204 ], @@ -3360,24 +3245,21 @@ "Decorators": [] }, { - "$id": "289", + "$id": "285", "Name": "withTry", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "290", + "$id": "286", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "291", + "$id": "287", "kind": "constant", "valueType": { - "$id": "292", + "$id": "288", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3397,7 +3279,7 @@ "SkipUrlEncoding": false }, { - "$id": "293", + "$id": "289", "Name": "body", "NameInRequest": "body", "Type": { @@ -3416,7 +3298,7 @@ ], "Responses": [ { - "$id": "294", + "$id": "290", "StatusCodes": [ 204 ], @@ -3439,24 +3321,21 @@ "Decorators": [] }, { - "$id": "295", + "$id": "291", "Name": "withWhile", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "296", + "$id": "292", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "297", + "$id": "293", "kind": "constant", "valueType": { - "$id": "298", + "$id": "294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3476,7 +3355,7 @@ "SkipUrlEncoding": false }, { - "$id": "299", + "$id": "295", "Name": "body", "NameInRequest": "body", "Type": { @@ -3495,7 +3374,7 @@ ], "Responses": [ { - "$id": "300", + "$id": "296", "StatusCodes": [ 204 ], @@ -3518,24 +3397,21 @@ "Decorators": [] }, { - "$id": "301", + "$id": "297", "Name": "withWith", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "302", + "$id": "298", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "303", + "$id": "299", "kind": "constant", "valueType": { - "$id": "304", + "$id": "300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3555,7 +3431,7 @@ "SkipUrlEncoding": false }, { - "$id": "305", + "$id": "301", "Name": "body", "NameInRequest": "body", "Type": { @@ -3574,7 +3450,7 @@ ], "Responses": [ { - "$id": "306", + "$id": "302", "StatusCodes": [ 204 ], @@ -3597,24 +3473,21 @@ "Decorators": [] }, { - "$id": "307", + "$id": "303", "Name": "withYield", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "308", + "$id": "304", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "309", + "$id": "305", "kind": "constant", "valueType": { - "$id": "310", + "$id": "306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3634,7 +3507,7 @@ "SkipUrlEncoding": false }, { - "$id": "311", + "$id": "307", "Name": "body", "NameInRequest": "body", "Type": { @@ -3653,7 +3526,7 @@ ], "Responses": [ { - "$id": "312", + "$id": "308", "StatusCodes": [ 204 ], @@ -3677,12 +3550,40 @@ } ], "Protocol": { - "$id": "313" + "$id": "309" }, "Parent": "SpecialWordsClient", "Parameters": [ { - "$ref": "112" + "$id": "310", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "311", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "312", + "Type": { + "$id": "313", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3700,45 +3601,14 @@ "Parameters": [ { "$id": "316", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "317", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "318", - "Type": { - "$id": "319", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "320", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "321", + "$id": "317", "kind": "constant", "valueType": { - "$id": "322", + "$id": "318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3758,7 +3628,7 @@ "SkipUrlEncoding": false }, { - "$id": "323", + "$id": "319", "Name": "body", "NameInRequest": "body", "Type": { @@ -3777,7 +3647,7 @@ ], "Responses": [ { - "$id": "324", + "$id": "320", "StatusCodes": [ 204 ], @@ -3801,12 +3671,40 @@ } ], "Protocol": { - "$id": "325" + "$id": "321" }, "Parent": "SpecialWordsClient", "Parameters": [ { - "$ref": "316" + "$id": "322", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "323", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "324", + "Type": { + "$id": "325", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3821,42 +3719,10 @@ "Name": "and", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$id": "328", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "329", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "330", - "Type": { - "$id": "331", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "332", + "$id": "328", "StatusCodes": [ 204 ], @@ -3876,18 +3742,14 @@ "Decorators": [] }, { - "$id": "333", + "$id": "329", "Name": "as", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "334", + "$id": "330", "StatusCodes": [ 204 ], @@ -3907,18 +3769,14 @@ "Decorators": [] }, { - "$id": "335", + "$id": "331", "Name": "assert", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "336", + "$id": "332", "StatusCodes": [ 204 ], @@ -3938,18 +3796,14 @@ "Decorators": [] }, { - "$id": "337", + "$id": "333", "Name": "async", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "338", + "$id": "334", "StatusCodes": [ 204 ], @@ -3969,18 +3823,14 @@ "Decorators": [] }, { - "$id": "339", + "$id": "335", "Name": "await", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "340", + "$id": "336", "StatusCodes": [ 204 ], @@ -4000,18 +3850,14 @@ "Decorators": [] }, { - "$id": "341", + "$id": "337", "Name": "break", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "342", + "$id": "338", "StatusCodes": [ 204 ], @@ -4031,18 +3877,14 @@ "Decorators": [] }, { - "$id": "343", + "$id": "339", "Name": "class", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "344", + "$id": "340", "StatusCodes": [ 204 ], @@ -4062,18 +3904,14 @@ "Decorators": [] }, { - "$id": "345", + "$id": "341", "Name": "constructor", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "346", + "$id": "342", "StatusCodes": [ 204 ], @@ -4093,18 +3931,14 @@ "Decorators": [] }, { - "$id": "347", + "$id": "343", "Name": "continue", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "348", + "$id": "344", "StatusCodes": [ 204 ], @@ -4124,18 +3958,14 @@ "Decorators": [] }, { - "$id": "349", + "$id": "345", "Name": "def", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "350", + "$id": "346", "StatusCodes": [ 204 ], @@ -4155,18 +3985,14 @@ "Decorators": [] }, { - "$id": "351", + "$id": "347", "Name": "del", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "352", + "$id": "348", "StatusCodes": [ 204 ], @@ -4186,18 +4012,14 @@ "Decorators": [] }, { - "$id": "353", + "$id": "349", "Name": "elif", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "354", + "$id": "350", "StatusCodes": [ 204 ], @@ -4217,18 +4039,14 @@ "Decorators": [] }, { - "$id": "355", + "$id": "351", "Name": "else", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "356", + "$id": "352", "StatusCodes": [ 204 ], @@ -4248,18 +4066,14 @@ "Decorators": [] }, { - "$id": "357", + "$id": "353", "Name": "except", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "358", + "$id": "354", "StatusCodes": [ 204 ], @@ -4279,18 +4093,14 @@ "Decorators": [] }, { - "$id": "359", + "$id": "355", "Name": "exec", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "360", + "$id": "356", "StatusCodes": [ 204 ], @@ -4310,18 +4120,14 @@ "Decorators": [] }, { - "$id": "361", + "$id": "357", "Name": "finally", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "362", + "$id": "358", "StatusCodes": [ 204 ], @@ -4341,18 +4147,14 @@ "Decorators": [] }, { - "$id": "363", + "$id": "359", "Name": "for", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "364", + "$id": "360", "StatusCodes": [ 204 ], @@ -4372,18 +4174,14 @@ "Decorators": [] }, { - "$id": "365", + "$id": "361", "Name": "from", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "366", + "$id": "362", "StatusCodes": [ 204 ], @@ -4403,18 +4201,14 @@ "Decorators": [] }, { - "$id": "367", + "$id": "363", "Name": "global", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "368", + "$id": "364", "StatusCodes": [ 204 ], @@ -4434,18 +4228,14 @@ "Decorators": [] }, { - "$id": "369", + "$id": "365", "Name": "if", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "370", + "$id": "366", "StatusCodes": [ 204 ], @@ -4465,18 +4255,14 @@ "Decorators": [] }, { - "$id": "371", + "$id": "367", "Name": "import", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "372", + "$id": "368", "StatusCodes": [ 204 ], @@ -4496,18 +4282,14 @@ "Decorators": [] }, { - "$id": "373", + "$id": "369", "Name": "in", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "374", + "$id": "370", "StatusCodes": [ 204 ], @@ -4527,18 +4309,14 @@ "Decorators": [] }, { - "$id": "375", + "$id": "371", "Name": "is", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "376", + "$id": "372", "StatusCodes": [ 204 ], @@ -4558,18 +4336,14 @@ "Decorators": [] }, { - "$id": "377", + "$id": "373", "Name": "lambda", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "378", + "$id": "374", "StatusCodes": [ 204 ], @@ -4589,18 +4363,14 @@ "Decorators": [] }, { - "$id": "379", + "$id": "375", "Name": "not", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "380", + "$id": "376", "StatusCodes": [ 204 ], @@ -4620,18 +4390,14 @@ "Decorators": [] }, { - "$id": "381", + "$id": "377", "Name": "or", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "382", + "$id": "378", "StatusCodes": [ 204 ], @@ -4651,18 +4417,14 @@ "Decorators": [] }, { - "$id": "383", + "$id": "379", "Name": "pass", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "384", + "$id": "380", "StatusCodes": [ 204 ], @@ -4682,18 +4444,14 @@ "Decorators": [] }, { - "$id": "385", + "$id": "381", "Name": "raise", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "386", + "$id": "382", "StatusCodes": [ 204 ], @@ -4713,18 +4471,14 @@ "Decorators": [] }, { - "$id": "387", + "$id": "383", "Name": "return", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "388", + "$id": "384", "StatusCodes": [ 204 ], @@ -4744,18 +4498,14 @@ "Decorators": [] }, { - "$id": "389", + "$id": "385", "Name": "try", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "390", + "$id": "386", "StatusCodes": [ 204 ], @@ -4775,18 +4525,14 @@ "Decorators": [] }, { - "$id": "391", + "$id": "387", "Name": "while", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "392", + "$id": "388", "StatusCodes": [ 204 ], @@ -4806,18 +4552,14 @@ "Decorators": [] }, { - "$id": "393", + "$id": "389", "Name": "with", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "394", + "$id": "390", "StatusCodes": [ 204 ], @@ -4837,18 +4579,14 @@ "Decorators": [] }, { - "$id": "395", + "$id": "391", "Name": "yield", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "396", + "$id": "392", "StatusCodes": [ 204 ], @@ -4869,12 +4607,40 @@ } ], "Protocol": { - "$id": "397" + "$id": "393" }, "Parent": "SpecialWordsClient", "Parameters": [ { - "$ref": "328" + "$id": "394", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "395", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "396", + "Type": { + "$id": "397", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4892,41 +4658,10 @@ "Parameters": [ { "$id": "400", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "401", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "402", - "Type": { - "$id": "403", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "404", "Name": "and", "NameInRequest": "and", "Type": { - "$id": "405", + "$id": "401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4945,7 +4680,7 @@ ], "Responses": [ { - "$id": "406", + "$id": "402", "StatusCodes": [ 204 ], @@ -4965,20 +4700,17 @@ "Decorators": [] }, { - "$id": "407", + "$id": "403", "Name": "withAs", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "408", + "$id": "404", "Name": "as", "NameInRequest": "as", "Type": { - "$id": "409", + "$id": "405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4997,7 +4729,7 @@ ], "Responses": [ { - "$id": "410", + "$id": "406", "StatusCodes": [ 204 ], @@ -5017,20 +4749,17 @@ "Decorators": [] }, { - "$id": "411", + "$id": "407", "Name": "withAssert", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "412", + "$id": "408", "Name": "assert", "NameInRequest": "assert", "Type": { - "$id": "413", + "$id": "409", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5049,7 +4778,7 @@ ], "Responses": [ { - "$id": "414", + "$id": "410", "StatusCodes": [ 204 ], @@ -5069,20 +4798,17 @@ "Decorators": [] }, { - "$id": "415", + "$id": "411", "Name": "withAsync", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "416", + "$id": "412", "Name": "async", "NameInRequest": "async", "Type": { - "$id": "417", + "$id": "413", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5101,7 +4827,7 @@ ], "Responses": [ { - "$id": "418", + "$id": "414", "StatusCodes": [ 204 ], @@ -5121,20 +4847,17 @@ "Decorators": [] }, { - "$id": "419", + "$id": "415", "Name": "withAwait", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "420", + "$id": "416", "Name": "await", "NameInRequest": "await", "Type": { - "$id": "421", + "$id": "417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5153,7 +4876,7 @@ ], "Responses": [ { - "$id": "422", + "$id": "418", "StatusCodes": [ 204 ], @@ -5173,20 +4896,17 @@ "Decorators": [] }, { - "$id": "423", + "$id": "419", "Name": "withBreak", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "424", + "$id": "420", "Name": "break", "NameInRequest": "break", "Type": { - "$id": "425", + "$id": "421", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5205,7 +4925,7 @@ ], "Responses": [ { - "$id": "426", + "$id": "422", "StatusCodes": [ 204 ], @@ -5225,20 +4945,17 @@ "Decorators": [] }, { - "$id": "427", + "$id": "423", "Name": "withClass", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "428", + "$id": "424", "Name": "class", "NameInRequest": "class", "Type": { - "$id": "429", + "$id": "425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5257,7 +4974,7 @@ ], "Responses": [ { - "$id": "430", + "$id": "426", "StatusCodes": [ 204 ], @@ -5277,20 +4994,17 @@ "Decorators": [] }, { - "$id": "431", + "$id": "427", "Name": "withConstructor", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "432", + "$id": "428", "Name": "constructor", "NameInRequest": "constructor", "Type": { - "$id": "433", + "$id": "429", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5309,7 +5023,7 @@ ], "Responses": [ { - "$id": "434", + "$id": "430", "StatusCodes": [ 204 ], @@ -5329,20 +5043,17 @@ "Decorators": [] }, { - "$id": "435", + "$id": "431", "Name": "withContinue", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "436", + "$id": "432", "Name": "continue", "NameInRequest": "continue", "Type": { - "$id": "437", + "$id": "433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5361,7 +5072,7 @@ ], "Responses": [ { - "$id": "438", + "$id": "434", "StatusCodes": [ 204 ], @@ -5381,20 +5092,17 @@ "Decorators": [] }, { - "$id": "439", + "$id": "435", "Name": "withDef", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "440", + "$id": "436", "Name": "def", "NameInRequest": "def", "Type": { - "$id": "441", + "$id": "437", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5413,7 +5121,7 @@ ], "Responses": [ { - "$id": "442", + "$id": "438", "StatusCodes": [ 204 ], @@ -5433,20 +5141,17 @@ "Decorators": [] }, { - "$id": "443", + "$id": "439", "Name": "withDel", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "444", + "$id": "440", "Name": "del", "NameInRequest": "del", "Type": { - "$id": "445", + "$id": "441", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5465,7 +5170,7 @@ ], "Responses": [ { - "$id": "446", + "$id": "442", "StatusCodes": [ 204 ], @@ -5485,20 +5190,17 @@ "Decorators": [] }, { - "$id": "447", + "$id": "443", "Name": "withElif", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "448", + "$id": "444", "Name": "elif", "NameInRequest": "elif", "Type": { - "$id": "449", + "$id": "445", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5517,7 +5219,7 @@ ], "Responses": [ { - "$id": "450", + "$id": "446", "StatusCodes": [ 204 ], @@ -5537,20 +5239,17 @@ "Decorators": [] }, { - "$id": "451", + "$id": "447", "Name": "withElse", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "452", + "$id": "448", "Name": "else", "NameInRequest": "else", "Type": { - "$id": "453", + "$id": "449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5569,7 +5268,7 @@ ], "Responses": [ { - "$id": "454", + "$id": "450", "StatusCodes": [ 204 ], @@ -5589,20 +5288,17 @@ "Decorators": [] }, { - "$id": "455", + "$id": "451", "Name": "withExcept", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "456", + "$id": "452", "Name": "except", "NameInRequest": "except", "Type": { - "$id": "457", + "$id": "453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5621,7 +5317,7 @@ ], "Responses": [ { - "$id": "458", + "$id": "454", "StatusCodes": [ 204 ], @@ -5641,20 +5337,17 @@ "Decorators": [] }, { - "$id": "459", + "$id": "455", "Name": "withExec", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "460", + "$id": "456", "Name": "exec", "NameInRequest": "exec", "Type": { - "$id": "461", + "$id": "457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5673,7 +5366,7 @@ ], "Responses": [ { - "$id": "462", + "$id": "458", "StatusCodes": [ 204 ], @@ -5693,20 +5386,17 @@ "Decorators": [] }, { - "$id": "463", + "$id": "459", "Name": "withFinally", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "464", + "$id": "460", "Name": "finally", "NameInRequest": "finally", "Type": { - "$id": "465", + "$id": "461", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5725,7 +5415,7 @@ ], "Responses": [ { - "$id": "466", + "$id": "462", "StatusCodes": [ 204 ], @@ -5745,20 +5435,17 @@ "Decorators": [] }, { - "$id": "467", + "$id": "463", "Name": "withFor", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "468", + "$id": "464", "Name": "for", "NameInRequest": "for", "Type": { - "$id": "469", + "$id": "465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5777,7 +5464,7 @@ ], "Responses": [ { - "$id": "470", + "$id": "466", "StatusCodes": [ 204 ], @@ -5797,20 +5484,17 @@ "Decorators": [] }, { - "$id": "471", + "$id": "467", "Name": "withFrom", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "472", + "$id": "468", "Name": "from", "NameInRequest": "from", "Type": { - "$id": "473", + "$id": "469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5829,7 +5513,7 @@ ], "Responses": [ { - "$id": "474", + "$id": "470", "StatusCodes": [ 204 ], @@ -5849,20 +5533,17 @@ "Decorators": [] }, { - "$id": "475", + "$id": "471", "Name": "withGlobal", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "476", + "$id": "472", "Name": "global", "NameInRequest": "global", "Type": { - "$id": "477", + "$id": "473", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5881,7 +5562,7 @@ ], "Responses": [ { - "$id": "478", + "$id": "474", "StatusCodes": [ 204 ], @@ -5901,20 +5582,17 @@ "Decorators": [] }, { - "$id": "479", + "$id": "475", "Name": "withIf", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "480", + "$id": "476", "Name": "if", "NameInRequest": "if", "Type": { - "$id": "481", + "$id": "477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5933,7 +5611,7 @@ ], "Responses": [ { - "$id": "482", + "$id": "478", "StatusCodes": [ 204 ], @@ -5953,20 +5631,17 @@ "Decorators": [] }, { - "$id": "483", + "$id": "479", "Name": "withImport", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "484", + "$id": "480", "Name": "import", "NameInRequest": "import", "Type": { - "$id": "485", + "$id": "481", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5985,7 +5660,7 @@ ], "Responses": [ { - "$id": "486", + "$id": "482", "StatusCodes": [ 204 ], @@ -6005,20 +5680,17 @@ "Decorators": [] }, { - "$id": "487", + "$id": "483", "Name": "withIn", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "488", + "$id": "484", "Name": "in", "NameInRequest": "in", "Type": { - "$id": "489", + "$id": "485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6037,7 +5709,7 @@ ], "Responses": [ { - "$id": "490", + "$id": "486", "StatusCodes": [ 204 ], @@ -6057,20 +5729,17 @@ "Decorators": [] }, { - "$id": "491", + "$id": "487", "Name": "withIs", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "492", + "$id": "488", "Name": "is", "NameInRequest": "is", "Type": { - "$id": "493", + "$id": "489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6089,7 +5758,7 @@ ], "Responses": [ { - "$id": "494", + "$id": "490", "StatusCodes": [ 204 ], @@ -6109,20 +5778,17 @@ "Decorators": [] }, { - "$id": "495", + "$id": "491", "Name": "withLambda", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "496", + "$id": "492", "Name": "lambda", "NameInRequest": "lambda", "Type": { - "$id": "497", + "$id": "493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6141,7 +5807,7 @@ ], "Responses": [ { - "$id": "498", + "$id": "494", "StatusCodes": [ 204 ], @@ -6161,20 +5827,17 @@ "Decorators": [] }, { - "$id": "499", + "$id": "495", "Name": "withNot", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "500", + "$id": "496", "Name": "not", "NameInRequest": "not", "Type": { - "$id": "501", + "$id": "497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6193,7 +5856,7 @@ ], "Responses": [ { - "$id": "502", + "$id": "498", "StatusCodes": [ 204 ], @@ -6213,20 +5876,17 @@ "Decorators": [] }, { - "$id": "503", + "$id": "499", "Name": "withOr", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "504", + "$id": "500", "Name": "or", "NameInRequest": "or", "Type": { - "$id": "505", + "$id": "501", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6245,7 +5905,7 @@ ], "Responses": [ { - "$id": "506", + "$id": "502", "StatusCodes": [ 204 ], @@ -6265,20 +5925,17 @@ "Decorators": [] }, { - "$id": "507", + "$id": "503", "Name": "withPass", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "508", + "$id": "504", "Name": "pass", "NameInRequest": "pass", "Type": { - "$id": "509", + "$id": "505", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6297,7 +5954,7 @@ ], "Responses": [ { - "$id": "510", + "$id": "506", "StatusCodes": [ 204 ], @@ -6317,20 +5974,17 @@ "Decorators": [] }, { - "$id": "511", + "$id": "507", "Name": "withRaise", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "512", + "$id": "508", "Name": "raise", "NameInRequest": "raise", "Type": { - "$id": "513", + "$id": "509", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6349,7 +6003,7 @@ ], "Responses": [ { - "$id": "514", + "$id": "510", "StatusCodes": [ 204 ], @@ -6369,20 +6023,17 @@ "Decorators": [] }, { - "$id": "515", + "$id": "511", "Name": "withReturn", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "516", + "$id": "512", "Name": "return", "NameInRequest": "return", "Type": { - "$id": "517", + "$id": "513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6401,7 +6052,7 @@ ], "Responses": [ { - "$id": "518", + "$id": "514", "StatusCodes": [ 204 ], @@ -6421,20 +6072,17 @@ "Decorators": [] }, { - "$id": "519", + "$id": "515", "Name": "withTry", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "520", + "$id": "516", "Name": "try", "NameInRequest": "try", "Type": { - "$id": "521", + "$id": "517", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6453,7 +6101,7 @@ ], "Responses": [ { - "$id": "522", + "$id": "518", "StatusCodes": [ 204 ], @@ -6473,20 +6121,17 @@ "Decorators": [] }, { - "$id": "523", + "$id": "519", "Name": "withWhile", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "524", + "$id": "520", "Name": "while", "NameInRequest": "while", "Type": { - "$id": "525", + "$id": "521", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6505,7 +6150,7 @@ ], "Responses": [ { - "$id": "526", + "$id": "522", "StatusCodes": [ 204 ], @@ -6525,20 +6170,17 @@ "Decorators": [] }, { - "$id": "527", + "$id": "523", "Name": "withWith", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "528", + "$id": "524", "Name": "with", "NameInRequest": "with", "Type": { - "$id": "529", + "$id": "525", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6557,7 +6199,7 @@ ], "Responses": [ { - "$id": "530", + "$id": "526", "StatusCodes": [ 204 ], @@ -6577,20 +6219,17 @@ "Decorators": [] }, { - "$id": "531", + "$id": "527", "Name": "withYield", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "532", + "$id": "528", "Name": "yield", "NameInRequest": "yield", "Type": { - "$id": "533", + "$id": "529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6609,7 +6248,7 @@ ], "Responses": [ { - "$id": "534", + "$id": "530", "StatusCodes": [ 204 ], @@ -6629,20 +6268,17 @@ "Decorators": [] }, { - "$id": "535", + "$id": "531", "Name": "withCancellationToken", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "536", + "$id": "532", "Name": "cancellationToken", "NameInRequest": "cancellationToken", "Type": { - "$id": "537", + "$id": "533", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6661,7 +6297,7 @@ ], "Responses": [ { - "$id": "538", + "$id": "534", "StatusCodes": [ 204 ], @@ -6682,12 +6318,40 @@ } ], "Protocol": { - "$id": "539" + "$id": "535" }, "Parent": "SpecialWordsClient", "Parameters": [ { - "$ref": "400" + "$id": "536", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "537", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "538", + "Type": { + "$id": "539", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/array/tspCodeModel.json b/test/CadlRanchProjects/type/array/tspCodeModel.json index 8867dfccfae..1df76335c9f 100644 --- a/test/CadlRanchProjects/type/array/tspCodeModel.json +++ b/test/CadlRanchProjects/type/array/tspCodeModel.json @@ -115,44 +115,13 @@ "Parameters": [ { "$id": "15", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "16", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "17", - "Type": { - "$id": "18", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "19", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "20", + "$id": "16", "kind": "constant", "valueType": { - "$id": "21", + "$id": "17", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -174,16 +143,16 @@ ], "Responses": [ { - "$id": "22", + "$id": "18", "StatusCodes": [ 200 ], "BodyType": { - "$id": "23", + "$id": "19", "kind": "array", "name": "Array", "valueType": { - "$id": "24", + "$id": "20", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -211,24 +180,21 @@ "Decorators": [] }, { - "$id": "25", + "$id": "21", "Name": "put", "ResourceName": "Int32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "15" - }, - { - "$id": "26", + "$id": "22", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "27", + "$id": "23", "kind": "constant", "valueType": { - "$id": "28", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -248,15 +214,15 @@ "SkipUrlEncoding": false }, { - "$id": "29", + "$id": "25", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "30", + "$id": "26", "kind": "array", "name": "Array", "valueType": { - "$id": "31", + "$id": "27", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -278,7 +244,7 @@ ], "Responses": [ { - "$id": "32", + "$id": "28", "StatusCodes": [ 204 ], @@ -302,12 +268,40 @@ } ], "Protocol": { - "$id": "33" + "$id": "29" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "15" + "$id": "30", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "31", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "32", + "Type": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -325,44 +319,13 @@ "Parameters": [ { "$id": "36", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "37", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "38", - "Type": { - "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "40", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "41", + "$id": "37", "kind": "constant", "valueType": { - "$id": "42", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -384,16 +347,16 @@ ], "Responses": [ { - "$id": "43", + "$id": "39", "StatusCodes": [ 200 ], "BodyType": { - "$id": "44", + "$id": "40", "kind": "array", "name": "Array", "valueType": { - "$id": "45", + "$id": "41", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -421,24 +384,21 @@ "Decorators": [] }, { - "$id": "46", + "$id": "42", "Name": "put", "ResourceName": "Int64Value", "Accessibility": "public", "Parameters": [ { - "$ref": "36" - }, - { - "$id": "47", + "$id": "43", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "48", + "$id": "44", "kind": "constant", "valueType": { - "$id": "49", + "$id": "45", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -458,15 +418,15 @@ "SkipUrlEncoding": false }, { - "$id": "50", + "$id": "46", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "51", + "$id": "47", "kind": "array", "name": "Array", "valueType": { - "$id": "52", + "$id": "48", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -488,7 +448,7 @@ ], "Responses": [ { - "$id": "53", + "$id": "49", "StatusCodes": [ 204 ], @@ -512,12 +472,40 @@ } ], "Protocol": { - "$id": "54" + "$id": "50" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "36" + "$id": "51", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "52", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "53", + "Type": { + "$id": "54", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -535,44 +523,13 @@ "Parameters": [ { "$id": "57", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "58", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "59", - "Type": { - "$id": "60", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "61", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "62", + "$id": "58", "kind": "constant", "valueType": { - "$id": "63", + "$id": "59", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -594,16 +551,16 @@ ], "Responses": [ { - "$id": "64", + "$id": "60", "StatusCodes": [ 200 ], "BodyType": { - "$id": "65", + "$id": "61", "kind": "array", "name": "Array", "valueType": { - "$id": "66", + "$id": "62", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -631,24 +588,21 @@ "Decorators": [] }, { - "$id": "67", + "$id": "63", "Name": "put", "ResourceName": "BooleanValue", "Accessibility": "public", "Parameters": [ { - "$ref": "57" - }, - { - "$id": "68", + "$id": "64", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "69", + "$id": "65", "kind": "constant", "valueType": { - "$id": "70", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -668,15 +622,15 @@ "SkipUrlEncoding": false }, { - "$id": "71", + "$id": "67", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "72", + "$id": "68", "kind": "array", "name": "Array", "valueType": { - "$id": "73", + "$id": "69", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -698,7 +652,7 @@ ], "Responses": [ { - "$id": "74", + "$id": "70", "StatusCodes": [ 204 ], @@ -722,12 +676,40 @@ } ], "Protocol": { - "$id": "75" + "$id": "71" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "57" + "$id": "72", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "73", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "74", + "Type": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -745,44 +727,13 @@ "Parameters": [ { "$id": "78", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "79", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "80", - "Type": { - "$id": "81", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "82", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "83", + "$id": "79", "kind": "constant", "valueType": { - "$id": "84", + "$id": "80", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -804,16 +755,16 @@ ], "Responses": [ { - "$id": "85", + "$id": "81", "StatusCodes": [ 200 ], "BodyType": { - "$id": "86", + "$id": "82", "kind": "array", "name": "Array", "valueType": { - "$id": "87", + "$id": "83", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -841,24 +792,21 @@ "Decorators": [] }, { - "$id": "88", + "$id": "84", "Name": "put", "ResourceName": "StringValue", "Accessibility": "public", "Parameters": [ { - "$ref": "78" - }, - { - "$id": "89", + "$id": "85", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -878,15 +826,15 @@ "SkipUrlEncoding": false }, { - "$id": "92", + "$id": "88", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "93", + "$id": "89", "kind": "array", "name": "Array", "valueType": { - "$id": "94", + "$id": "90", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -908,7 +856,7 @@ ], "Responses": [ { - "$id": "95", + "$id": "91", "StatusCodes": [ 204 ], @@ -932,12 +880,40 @@ } ], "Protocol": { - "$id": "96" + "$id": "92" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "78" + "$id": "93", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "94", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "95", + "Type": { + "$id": "96", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -955,44 +931,13 @@ "Parameters": [ { "$id": "99", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "100", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "101", - "Type": { - "$id": "102", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "103", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "104", + "$id": "100", "kind": "constant", "valueType": { - "$id": "105", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1014,16 +959,16 @@ ], "Responses": [ { - "$id": "106", + "$id": "102", "StatusCodes": [ 200 ], "BodyType": { - "$id": "107", + "$id": "103", "kind": "array", "name": "Array", "valueType": { - "$id": "108", + "$id": "104", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1051,24 +996,21 @@ "Decorators": [] }, { - "$id": "109", + "$id": "105", "Name": "put", "ResourceName": "Float32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "99" - }, - { - "$id": "110", + "$id": "106", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "111", + "$id": "107", "kind": "constant", "valueType": { - "$id": "112", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1088,15 +1030,15 @@ "SkipUrlEncoding": false }, { - "$id": "113", + "$id": "109", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "114", + "$id": "110", "kind": "array", "name": "Array", "valueType": { - "$id": "115", + "$id": "111", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1118,7 +1060,7 @@ ], "Responses": [ { - "$id": "116", + "$id": "112", "StatusCodes": [ 204 ], @@ -1142,12 +1084,40 @@ } ], "Protocol": { - "$id": "117" + "$id": "113" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "99" + "$id": "114", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "115", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "116", + "Type": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1165,44 +1135,13 @@ "Parameters": [ { "$id": "120", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "121", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "122", - "Type": { - "$id": "123", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "124", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "125", + "$id": "121", "kind": "constant", "valueType": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1224,21 +1163,21 @@ ], "Responses": [ { - "$id": "127", + "$id": "123", "StatusCodes": [ 200 ], "BodyType": { - "$id": "128", + "$id": "124", "kind": "array", "name": "Array", "valueType": { - "$id": "129", + "$id": "125", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "130", + "$id": "126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1269,24 +1208,21 @@ "Decorators": [] }, { - "$id": "131", + "$id": "127", "Name": "put", "ResourceName": "DatetimeValue", "Accessibility": "public", "Parameters": [ { - "$ref": "120" - }, - { - "$id": "132", + "$id": "128", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "133", + "$id": "129", "kind": "constant", "valueType": { - "$id": "134", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1306,20 +1242,20 @@ "SkipUrlEncoding": false }, { - "$id": "135", + "$id": "131", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "136", + "$id": "132", "kind": "array", "name": "Array", "valueType": { - "$id": "137", + "$id": "133", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "138", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1344,7 +1280,7 @@ ], "Responses": [ { - "$id": "139", + "$id": "135", "StatusCodes": [ 204 ], @@ -1368,12 +1304,40 @@ } ], "Protocol": { - "$id": "140" + "$id": "136" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "120" + "$id": "137", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "138", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "139", + "Type": { + "$id": "140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1391,44 +1355,13 @@ "Parameters": [ { "$id": "143", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "144", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "145", - "Type": { - "$id": "146", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "147", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "148", + "$id": "144", "kind": "constant", "valueType": { - "$id": "149", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1450,21 +1383,21 @@ ], "Responses": [ { - "$id": "150", + "$id": "146", "StatusCodes": [ 200 ], "BodyType": { - "$id": "151", + "$id": "147", "kind": "array", "name": "Array", "valueType": { - "$id": "152", + "$id": "148", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "153", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1495,24 +1428,21 @@ "Decorators": [] }, { - "$id": "154", + "$id": "150", "Name": "put", "ResourceName": "DurationValue", "Accessibility": "public", "Parameters": [ { - "$ref": "143" - }, - { - "$id": "155", + "$id": "151", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "156", + "$id": "152", "kind": "constant", "valueType": { - "$id": "157", + "$id": "153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1532,20 +1462,20 @@ "SkipUrlEncoding": false }, { - "$id": "158", + "$id": "154", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "159", + "$id": "155", "kind": "array", "name": "Array", "valueType": { - "$id": "160", + "$id": "156", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "161", + "$id": "157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1570,7 +1500,7 @@ ], "Responses": [ { - "$id": "162", + "$id": "158", "StatusCodes": [ 204 ], @@ -1594,12 +1524,40 @@ } ], "Protocol": { - "$id": "163" + "$id": "159" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "143" + "$id": "160", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "161", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "162", + "Type": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1617,44 +1575,13 @@ "Parameters": [ { "$id": "166", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "167", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "168", - "Type": { - "$id": "169", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "170", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "171", + "$id": "167", "kind": "constant", "valueType": { - "$id": "172", + "$id": "168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1676,16 +1603,16 @@ ], "Responses": [ { - "$id": "173", + "$id": "169", "StatusCodes": [ 200 ], "BodyType": { - "$id": "174", + "$id": "170", "kind": "array", "name": "Array", "valueType": { - "$id": "175", + "$id": "171", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1713,24 +1640,21 @@ "Decorators": [] }, { - "$id": "176", + "$id": "172", "Name": "put", "ResourceName": "UnknownValue", "Accessibility": "public", "Parameters": [ { - "$ref": "166" - }, - { - "$id": "177", + "$id": "173", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "178", + "$id": "174", "kind": "constant", "valueType": { - "$id": "179", + "$id": "175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1750,15 +1674,15 @@ "SkipUrlEncoding": false }, { - "$id": "180", + "$id": "176", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "181", + "$id": "177", "kind": "array", "name": "Array", "valueType": { - "$id": "182", + "$id": "178", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1780,7 +1704,7 @@ ], "Responses": [ { - "$id": "183", + "$id": "179", "StatusCodes": [ 204 ], @@ -1804,12 +1728,40 @@ } ], "Protocol": { - "$id": "184" + "$id": "180" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "166" + "$id": "181", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "182", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "183", + "Type": { + "$id": "184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1827,44 +1779,13 @@ "Parameters": [ { "$id": "187", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "188", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "189", - "Type": { - "$id": "190", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "191", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "192", + "$id": "188", "kind": "constant", "valueType": { - "$id": "193", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1886,12 +1807,12 @@ ], "Responses": [ { - "$id": "194", + "$id": "190", "StatusCodes": [ 200 ], "BodyType": { - "$id": "195", + "$id": "191", "kind": "array", "name": "ArrayInnerModel", "valueType": { @@ -1919,24 +1840,21 @@ "Decorators": [] }, { - "$id": "196", + "$id": "192", "Name": "put", "ResourceName": "ModelValue", "Accessibility": "public", "Parameters": [ { - "$ref": "187" - }, - { - "$id": "197", + "$id": "193", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "198", + "$id": "194", "kind": "constant", "valueType": { - "$id": "199", + "$id": "195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1956,11 +1874,11 @@ "SkipUrlEncoding": false }, { - "$id": "200", + "$id": "196", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "201", + "$id": "197", "kind": "array", "name": "ArrayInnerModel", "valueType": { @@ -1982,7 +1900,7 @@ ], "Responses": [ { - "$id": "202", + "$id": "198", "StatusCodes": [ 204 ], @@ -2006,12 +1924,40 @@ } ], "Protocol": { - "$id": "203" + "$id": "199" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "187" + "$id": "200", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "201", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "202", + "Type": { + "$id": "203", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2029,44 +1975,13 @@ "Parameters": [ { "$id": "206", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "207", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "208", - "Type": { - "$id": "209", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "210", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "211", + "$id": "207", "kind": "constant", "valueType": { - "$id": "212", + "$id": "208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2088,19 +2003,19 @@ ], "Responses": [ { - "$id": "213", + "$id": "209", "StatusCodes": [ 200 ], "BodyType": { - "$id": "214", + "$id": "210", "kind": "array", "name": "Array", "valueType": { - "$id": "215", + "$id": "211", "kind": "nullable", "type": { - "$id": "216", + "$id": "212", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2129,24 +2044,21 @@ "Decorators": [] }, { - "$id": "217", + "$id": "213", "Name": "put", "ResourceName": "NullableFloatValue", "Accessibility": "public", "Parameters": [ { - "$ref": "206" - }, - { - "$id": "218", + "$id": "214", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "219", + "$id": "215", "kind": "constant", "valueType": { - "$id": "220", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2166,18 +2078,18 @@ "SkipUrlEncoding": false }, { - "$id": "221", + "$id": "217", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "222", + "$id": "218", "kind": "array", "name": "Array", "valueType": { - "$id": "223", + "$id": "219", "kind": "nullable", "type": { - "$id": "224", + "$id": "220", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2200,7 +2112,7 @@ ], "Responses": [ { - "$id": "225", + "$id": "221", "StatusCodes": [ 204 ], @@ -2224,12 +2136,40 @@ } ], "Protocol": { - "$id": "226" + "$id": "222" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "206" + "$id": "223", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "224", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "225", + "Type": { + "$id": "226", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2247,44 +2187,13 @@ "Parameters": [ { "$id": "229", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "230", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "231", - "Type": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "233", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "234", + "$id": "230", "kind": "constant", "valueType": { - "$id": "235", + "$id": "231", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2306,19 +2215,19 @@ ], "Responses": [ { - "$id": "236", + "$id": "232", "StatusCodes": [ 200 ], "BodyType": { - "$id": "237", + "$id": "233", "kind": "array", "name": "Array", "valueType": { - "$id": "238", + "$id": "234", "kind": "nullable", "type": { - "$id": "239", + "$id": "235", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2347,24 +2256,21 @@ "Decorators": [] }, { - "$id": "240", + "$id": "236", "Name": "put", "ResourceName": "NullableInt32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "229" - }, - { - "$id": "241", + "$id": "237", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "242", + "$id": "238", "kind": "constant", "valueType": { - "$id": "243", + "$id": "239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2384,18 +2290,18 @@ "SkipUrlEncoding": false }, { - "$id": "244", + "$id": "240", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "245", + "$id": "241", "kind": "array", "name": "Array", "valueType": { - "$id": "246", + "$id": "242", "kind": "nullable", "type": { - "$id": "247", + "$id": "243", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2418,7 +2324,7 @@ ], "Responses": [ { - "$id": "248", + "$id": "244", "StatusCodes": [ 204 ], @@ -2442,12 +2348,40 @@ } ], "Protocol": { - "$id": "249" + "$id": "245" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "229" + "$id": "246", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "247", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "248", + "Type": { + "$id": "249", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2465,44 +2399,13 @@ "Parameters": [ { "$id": "252", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "253", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "254", - "Type": { - "$id": "255", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "256", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "257", + "$id": "253", "kind": "constant", "valueType": { - "$id": "258", + "$id": "254", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2524,19 +2427,19 @@ ], "Responses": [ { - "$id": "259", + "$id": "255", "StatusCodes": [ 200 ], "BodyType": { - "$id": "260", + "$id": "256", "kind": "array", "name": "Array", "valueType": { - "$id": "261", + "$id": "257", "kind": "nullable", "type": { - "$id": "262", + "$id": "258", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -2565,24 +2468,21 @@ "Decorators": [] }, { - "$id": "263", + "$id": "259", "Name": "put", "ResourceName": "NullableBooleanValue", "Accessibility": "public", "Parameters": [ { - "$ref": "252" - }, - { - "$id": "264", + "$id": "260", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "265", + "$id": "261", "kind": "constant", "valueType": { - "$id": "266", + "$id": "262", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2602,18 +2502,18 @@ "SkipUrlEncoding": false }, { - "$id": "267", + "$id": "263", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "268", + "$id": "264", "kind": "array", "name": "Array", "valueType": { - "$id": "269", + "$id": "265", "kind": "nullable", "type": { - "$id": "270", + "$id": "266", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -2636,7 +2536,7 @@ ], "Responses": [ { - "$id": "271", + "$id": "267", "StatusCodes": [ 204 ], @@ -2660,12 +2560,40 @@ } ], "Protocol": { - "$id": "272" + "$id": "268" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "252" + "$id": "269", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "270", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "271", + "Type": { + "$id": "272", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2683,44 +2611,13 @@ "Parameters": [ { "$id": "275", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "276", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "277", - "Type": { - "$id": "278", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "279", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "280", + "$id": "276", "kind": "constant", "valueType": { - "$id": "281", + "$id": "277", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2742,19 +2639,19 @@ ], "Responses": [ { - "$id": "282", + "$id": "278", "StatusCodes": [ 200 ], "BodyType": { - "$id": "283", + "$id": "279", "kind": "array", "name": "Array", "valueType": { - "$id": "284", + "$id": "280", "kind": "nullable", "type": { - "$id": "285", + "$id": "281", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2783,24 +2680,21 @@ "Decorators": [] }, { - "$id": "286", + "$id": "282", "Name": "put", "ResourceName": "NullableStringValue", "Accessibility": "public", "Parameters": [ { - "$ref": "275" - }, - { - "$id": "287", + "$id": "283", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "288", + "$id": "284", "kind": "constant", "valueType": { - "$id": "289", + "$id": "285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2820,18 +2714,18 @@ "SkipUrlEncoding": false }, { - "$id": "290", + "$id": "286", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "291", + "$id": "287", "kind": "array", "name": "Array", "valueType": { - "$id": "292", + "$id": "288", "kind": "nullable", "type": { - "$id": "293", + "$id": "289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2854,7 +2748,7 @@ ], "Responses": [ { - "$id": "294", + "$id": "290", "StatusCodes": [ 204 ], @@ -2878,12 +2772,40 @@ } ], "Protocol": { - "$id": "295" + "$id": "291" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "275" + "$id": "292", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "293", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "294", + "Type": { + "$id": "295", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2901,44 +2823,13 @@ "Parameters": [ { "$id": "298", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "299", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "300", - "Type": { - "$id": "301", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "302", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "303", + "$id": "299", "kind": "constant", "valueType": { - "$id": "304", + "$id": "300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2960,16 +2851,16 @@ ], "Responses": [ { - "$id": "305", + "$id": "301", "StatusCodes": [ 200 ], "BodyType": { - "$id": "306", + "$id": "302", "kind": "array", "name": "Array", "valueType": { - "$id": "307", + "$id": "303", "kind": "nullable", "type": { "$ref": "2" @@ -2997,24 +2888,21 @@ "Decorators": [] }, { - "$id": "308", + "$id": "304", "Name": "put", "ResourceName": "NullableModelValue", "Accessibility": "public", "Parameters": [ { - "$ref": "298" - }, - { - "$id": "309", + "$id": "305", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "310", + "$id": "306", "kind": "constant", "valueType": { - "$id": "311", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3034,15 +2922,15 @@ "SkipUrlEncoding": false }, { - "$id": "312", + "$id": "308", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "313", + "$id": "309", "kind": "array", "name": "Array", "valueType": { - "$id": "314", + "$id": "310", "kind": "nullable", "type": { "$ref": "2" @@ -3064,7 +2952,7 @@ ], "Responses": [ { - "$id": "315", + "$id": "311", "StatusCodes": [ 204 ], @@ -3088,12 +2976,40 @@ } ], "Protocol": { - "$id": "316" + "$id": "312" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "298" + "$id": "313", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "314", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "315", + "Type": { + "$id": "316", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/dictionary/tspCodeModel.json b/test/CadlRanchProjects/type/dictionary/tspCodeModel.json index 644587fe5df..a611774e040 100644 --- a/test/CadlRanchProjects/type/dictionary/tspCodeModel.json +++ b/test/CadlRanchProjects/type/dictionary/tspCodeModel.json @@ -120,44 +120,13 @@ "Parameters": [ { "$id": "16", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "17", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "18", - "Type": { - "$id": "19", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "20", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "21", + "$id": "17", "kind": "constant", "valueType": { - "$id": "22", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -179,22 +148,22 @@ ], "Responses": [ { - "$id": "23", + "$id": "19", "StatusCodes": [ 200 ], "BodyType": { - "$id": "24", + "$id": "20", "kind": "dict", "keyType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "26", + "$id": "22", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -221,24 +190,21 @@ "Decorators": [] }, { - "$id": "27", + "$id": "23", "Name": "put", "ResourceName": "Int32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "16" - }, - { - "$id": "28", + "$id": "24", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "29", + "$id": "25", "kind": "constant", "valueType": { - "$id": "30", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -258,21 +224,21 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "27", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "32", + "$id": "28", "kind": "dict", "keyType": { - "$id": "33", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "34", + "$id": "30", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -293,7 +259,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "31", "StatusCodes": [ 204 ], @@ -317,12 +283,40 @@ } ], "Protocol": { - "$id": "36" + "$id": "32" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "16" + "$id": "33", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "34", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "35", + "Type": { + "$id": "36", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -340,44 +334,13 @@ "Parameters": [ { "$id": "39", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "40", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "41", - "Type": { - "$id": "42", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "43", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "44", + "$id": "40", "kind": "constant", "valueType": { - "$id": "45", + "$id": "41", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -399,22 +362,22 @@ ], "Responses": [ { - "$id": "46", + "$id": "42", "StatusCodes": [ 200 ], "BodyType": { - "$id": "47", + "$id": "43", "kind": "dict", "keyType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "49", + "$id": "45", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -441,24 +404,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "put", "ResourceName": "Int64Value", "Accessibility": "public", "Parameters": [ { - "$ref": "39" - }, - { - "$id": "51", + "$id": "47", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "48", "kind": "constant", "valueType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -478,21 +438,21 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "50", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "55", + "$id": "51", "kind": "dict", "keyType": { - "$id": "56", + "$id": "52", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "57", + "$id": "53", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -513,7 +473,7 @@ ], "Responses": [ { - "$id": "58", + "$id": "54", "StatusCodes": [ 204 ], @@ -537,12 +497,40 @@ } ], "Protocol": { - "$id": "59" + "$id": "55" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "39" + "$id": "56", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "57", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "58", + "Type": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -560,44 +548,13 @@ "Parameters": [ { "$id": "62", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "63", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "64", - "Type": { - "$id": "65", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "66", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "67", + "$id": "63", "kind": "constant", "valueType": { - "$id": "68", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -619,22 +576,22 @@ ], "Responses": [ { - "$id": "69", + "$id": "65", "StatusCodes": [ 200 ], "BodyType": { - "$id": "70", + "$id": "66", "kind": "dict", "keyType": { - "$id": "71", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "72", + "$id": "68", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -661,24 +618,21 @@ "Decorators": [] }, { - "$id": "73", + "$id": "69", "Name": "put", "ResourceName": "BooleanValue", "Accessibility": "public", "Parameters": [ { - "$ref": "62" - }, - { - "$id": "74", + "$id": "70", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "75", + "$id": "71", "kind": "constant", "valueType": { - "$id": "76", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -698,21 +652,21 @@ "SkipUrlEncoding": false }, { - "$id": "77", + "$id": "73", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "78", + "$id": "74", "kind": "dict", "keyType": { - "$id": "79", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "80", + "$id": "76", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -733,7 +687,7 @@ ], "Responses": [ { - "$id": "81", + "$id": "77", "StatusCodes": [ 204 ], @@ -757,12 +711,40 @@ } ], "Protocol": { - "$id": "82" + "$id": "78" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "62" + "$id": "79", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "80", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "81", + "Type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -780,44 +762,13 @@ "Parameters": [ { "$id": "85", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "86", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "87", - "Type": { - "$id": "88", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "89", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -839,22 +790,22 @@ ], "Responses": [ { - "$id": "92", + "$id": "88", "StatusCodes": [ 200 ], "BodyType": { - "$id": "93", + "$id": "89", "kind": "dict", "keyType": { - "$id": "94", + "$id": "90", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "95", + "$id": "91", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -881,24 +832,21 @@ "Decorators": [] }, { - "$id": "96", + "$id": "92", "Name": "put", "ResourceName": "StringValue", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "97", + "$id": "93", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "98", + "$id": "94", "kind": "constant", "valueType": { - "$id": "99", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -918,21 +866,21 @@ "SkipUrlEncoding": false }, { - "$id": "100", + "$id": "96", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "101", + "$id": "97", "kind": "dict", "keyType": { - "$id": "102", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "103", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -953,7 +901,7 @@ ], "Responses": [ { - "$id": "104", + "$id": "100", "StatusCodes": [ 204 ], @@ -977,12 +925,40 @@ } ], "Protocol": { - "$id": "105" + "$id": "101" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "85" + "$id": "102", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "103", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "104", + "Type": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1000,44 +976,13 @@ "Parameters": [ { "$id": "108", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "109", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "110", - "Type": { - "$id": "111", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "112", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "113", + "$id": "109", "kind": "constant", "valueType": { - "$id": "114", + "$id": "110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1059,22 +1004,22 @@ ], "Responses": [ { - "$id": "115", + "$id": "111", "StatusCodes": [ 200 ], "BodyType": { - "$id": "116", + "$id": "112", "kind": "dict", "keyType": { - "$id": "117", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "118", + "$id": "114", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1101,24 +1046,21 @@ "Decorators": [] }, { - "$id": "119", + "$id": "115", "Name": "put", "ResourceName": "Float32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "108" - }, - { - "$id": "120", + "$id": "116", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "121", + "$id": "117", "kind": "constant", "valueType": { - "$id": "122", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1138,21 +1080,21 @@ "SkipUrlEncoding": false }, { - "$id": "123", + "$id": "119", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "124", + "$id": "120", "kind": "dict", "keyType": { - "$id": "125", + "$id": "121", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "126", + "$id": "122", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1173,7 +1115,7 @@ ], "Responses": [ { - "$id": "127", + "$id": "123", "StatusCodes": [ 204 ], @@ -1197,12 +1139,40 @@ } ], "Protocol": { - "$id": "128" + "$id": "124" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "108" + "$id": "125", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "126", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "127", + "Type": { + "$id": "128", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1220,44 +1190,13 @@ "Parameters": [ { "$id": "131", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "132", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "133", - "Type": { - "$id": "134", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "135", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "136", + "$id": "132", "kind": "constant", "valueType": { - "$id": "137", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1279,27 +1218,27 @@ ], "Responses": [ { - "$id": "138", + "$id": "134", "StatusCodes": [ 200 ], "BodyType": { - "$id": "139", + "$id": "135", "kind": "dict", "keyType": { - "$id": "140", + "$id": "136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "141", + "$id": "137", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "142", + "$id": "138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1329,24 +1268,21 @@ "Decorators": [] }, { - "$id": "143", + "$id": "139", "Name": "put", "ResourceName": "DatetimeValue", "Accessibility": "public", "Parameters": [ { - "$ref": "131" - }, - { - "$id": "144", + "$id": "140", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "145", + "$id": "141", "kind": "constant", "valueType": { - "$id": "146", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1366,26 +1302,26 @@ "SkipUrlEncoding": false }, { - "$id": "147", + "$id": "143", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "148", + "$id": "144", "kind": "dict", "keyType": { - "$id": "149", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "150", + "$id": "146", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "151", + "$id": "147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1409,7 +1345,7 @@ ], "Responses": [ { - "$id": "152", + "$id": "148", "StatusCodes": [ 204 ], @@ -1433,12 +1369,40 @@ } ], "Protocol": { - "$id": "153" + "$id": "149" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "131" + "$id": "150", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "151", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "152", + "Type": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1456,44 +1420,13 @@ "Parameters": [ { "$id": "156", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "157", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "158", - "Type": { - "$id": "159", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "160", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "161", + "$id": "157", "kind": "constant", "valueType": { - "$id": "162", + "$id": "158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1515,27 +1448,27 @@ ], "Responses": [ { - "$id": "163", + "$id": "159", "StatusCodes": [ 200 ], "BodyType": { - "$id": "164", + "$id": "160", "kind": "dict", "keyType": { - "$id": "165", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "166", + "$id": "162", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "167", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1565,24 +1498,21 @@ "Decorators": [] }, { - "$id": "168", + "$id": "164", "Name": "put", "ResourceName": "DurationValue", "Accessibility": "public", "Parameters": [ { - "$ref": "156" - }, - { - "$id": "169", + "$id": "165", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "170", + "$id": "166", "kind": "constant", "valueType": { - "$id": "171", + "$id": "167", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1602,26 +1532,26 @@ "SkipUrlEncoding": false }, { - "$id": "172", + "$id": "168", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "173", + "$id": "169", "kind": "dict", "keyType": { - "$id": "174", + "$id": "170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "175", + "$id": "171", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "176", + "$id": "172", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1645,7 +1575,7 @@ ], "Responses": [ { - "$id": "177", + "$id": "173", "StatusCodes": [ 204 ], @@ -1669,12 +1599,40 @@ } ], "Protocol": { - "$id": "178" + "$id": "174" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "156" + "$id": "175", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "176", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "177", + "Type": { + "$id": "178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1692,44 +1650,13 @@ "Parameters": [ { "$id": "181", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "182", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "183", - "Type": { - "$id": "184", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "185", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "186", + "$id": "182", "kind": "constant", "valueType": { - "$id": "187", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1751,22 +1678,22 @@ ], "Responses": [ { - "$id": "188", + "$id": "184", "StatusCodes": [ 200 ], "BodyType": { - "$id": "189", + "$id": "185", "kind": "dict", "keyType": { - "$id": "190", + "$id": "186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "191", + "$id": "187", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1793,24 +1720,21 @@ "Decorators": [] }, { - "$id": "192", + "$id": "188", "Name": "put", "ResourceName": "UnknownValue", "Accessibility": "public", "Parameters": [ { - "$ref": "181" - }, - { - "$id": "193", + "$id": "189", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "194", + "$id": "190", "kind": "constant", "valueType": { - "$id": "195", + "$id": "191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1830,21 +1754,21 @@ "SkipUrlEncoding": false }, { - "$id": "196", + "$id": "192", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "197", + "$id": "193", "kind": "dict", "keyType": { - "$id": "198", + "$id": "194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "199", + "$id": "195", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1865,7 +1789,7 @@ ], "Responses": [ { - "$id": "200", + "$id": "196", "StatusCodes": [ 204 ], @@ -1889,12 +1813,40 @@ } ], "Protocol": { - "$id": "201" + "$id": "197" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "181" + "$id": "198", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "199", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "200", + "Type": { + "$id": "201", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1912,44 +1864,13 @@ "Parameters": [ { "$id": "204", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "205", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "206", - "Type": { - "$id": "207", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "208", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "209", + "$id": "205", "kind": "constant", "valueType": { - "$id": "210", + "$id": "206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1971,15 +1892,15 @@ ], "Responses": [ { - "$id": "211", + "$id": "207", "StatusCodes": [ 200 ], "BodyType": { - "$id": "212", + "$id": "208", "kind": "dict", "keyType": { - "$id": "213", + "$id": "209", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2009,24 +1930,21 @@ "Decorators": [] }, { - "$id": "214", + "$id": "210", "Name": "put", "ResourceName": "ModelValue", "Accessibility": "public", "Parameters": [ { - "$ref": "204" - }, - { - "$id": "215", + "$id": "211", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "216", + "$id": "212", "kind": "constant", "valueType": { - "$id": "217", + "$id": "213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2046,14 +1964,14 @@ "SkipUrlEncoding": false }, { - "$id": "218", + "$id": "214", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "219", + "$id": "215", "kind": "dict", "keyType": { - "$id": "220", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2077,7 +1995,7 @@ ], "Responses": [ { - "$id": "221", + "$id": "217", "StatusCodes": [ 204 ], @@ -2101,12 +2019,40 @@ } ], "Protocol": { - "$id": "222" + "$id": "218" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "204" + "$id": "219", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "220", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "221", + "Type": { + "$id": "222", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2124,44 +2070,13 @@ "Parameters": [ { "$id": "225", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "226", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "227", - "Type": { - "$id": "228", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "229", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "230", + "$id": "226", "kind": "constant", "valueType": { - "$id": "231", + "$id": "227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2183,15 +2098,15 @@ ], "Responses": [ { - "$id": "232", + "$id": "228", "StatusCodes": [ 200 ], "BodyType": { - "$id": "233", + "$id": "229", "kind": "dict", "keyType": { - "$id": "234", + "$id": "230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2221,24 +2136,21 @@ "Decorators": [] }, { - "$id": "235", + "$id": "231", "Name": "put", "ResourceName": "RecursiveModelValue", "Accessibility": "public", "Parameters": [ { - "$ref": "225" - }, - { - "$id": "236", + "$id": "232", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "237", + "$id": "233", "kind": "constant", "valueType": { - "$id": "238", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2258,14 +2170,14 @@ "SkipUrlEncoding": false }, { - "$id": "239", + "$id": "235", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "240", + "$id": "236", "kind": "dict", "keyType": { - "$id": "241", + "$id": "237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2289,7 +2201,7 @@ ], "Responses": [ { - "$id": "242", + "$id": "238", "StatusCodes": [ 204 ], @@ -2313,12 +2225,40 @@ } ], "Protocol": { - "$id": "243" + "$id": "239" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "225" + "$id": "240", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "241", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "242", + "Type": { + "$id": "243", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2336,44 +2276,13 @@ "Parameters": [ { "$id": "246", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "247", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "248", - "Type": { - "$id": "249", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "250", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "251", + "$id": "247", "kind": "constant", "valueType": { - "$id": "252", + "$id": "248", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2395,25 +2304,25 @@ ], "Responses": [ { - "$id": "253", + "$id": "249", "StatusCodes": [ 200 ], "BodyType": { - "$id": "254", + "$id": "250", "kind": "dict", "keyType": { - "$id": "255", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "256", + "$id": "252", "kind": "nullable", "type": { - "$id": "257", + "$id": "253", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2441,24 +2350,21 @@ "Decorators": [] }, { - "$id": "258", + "$id": "254", "Name": "put", "ResourceName": "NullableFloatValue", "Accessibility": "public", "Parameters": [ { - "$ref": "246" - }, - { - "$id": "259", + "$id": "255", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "260", + "$id": "256", "kind": "constant", "valueType": { - "$id": "261", + "$id": "257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2478,24 +2384,24 @@ "SkipUrlEncoding": false }, { - "$id": "262", + "$id": "258", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "263", + "$id": "259", "kind": "dict", "keyType": { - "$id": "264", + "$id": "260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "265", + "$id": "261", "kind": "nullable", "type": { - "$id": "266", + "$id": "262", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2517,7 +2423,7 @@ ], "Responses": [ { - "$id": "267", + "$id": "263", "StatusCodes": [ 204 ], @@ -2541,12 +2447,40 @@ } ], "Protocol": { - "$id": "268" + "$id": "264" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "246" + "$id": "265", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "266", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "267", + "Type": { + "$id": "268", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/enum/extensible/tspCodeModel.json b/test/CadlRanchProjects/type/enum/extensible/tspCodeModel.json index 89cd047d030..e1a58db7dd6 100644 --- a/test/CadlRanchProjects/type/enum/extensible/tspCodeModel.json +++ b/test/CadlRanchProjects/type/enum/extensible/tspCodeModel.json @@ -206,44 +206,13 @@ "Parameters": [ { "$id": "26", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "27", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "28", - "Type": { - "$id": "29", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "30", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "31", + "$id": "27", "kind": "constant", "valueType": { - "$id": "32", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -265,7 +234,7 @@ ], "Responses": [ { - "$id": "33", + "$id": "29", "StatusCodes": [ 200 ], @@ -291,23 +260,20 @@ "Decorators": [] }, { - "$id": "34", + "$id": "30", "Name": "getUnknownValue", "ResourceName": "String", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "35", + "$id": "31", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "36", + "$id": "32", "kind": "constant", "valueType": { - "$id": "37", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -329,7 +295,7 @@ ], "Responses": [ { - "$id": "38", + "$id": "34", "StatusCodes": [ 200 ], @@ -355,24 +321,21 @@ "Decorators": [] }, { - "$id": "39", + "$id": "35", "Name": "putKnownValue", "ResourceName": "String", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "40", + "$id": "36", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "41", + "$id": "37", "kind": "constant", "valueType": { - "$id": "42", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -392,7 +355,7 @@ "SkipUrlEncoding": false }, { - "$id": "43", + "$id": "39", "Name": "body", "NameInRequest": "body", "Type": { @@ -411,7 +374,7 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 204 ], @@ -434,24 +397,21 @@ "Decorators": [] }, { - "$id": "45", + "$id": "41", "Name": "putUnknownValue", "ResourceName": "String", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "46", + "$id": "42", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "47", + "$id": "43", "kind": "constant", "valueType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -471,7 +431,7 @@ "SkipUrlEncoding": false }, { - "$id": "49", + "$id": "45", "Name": "body", "NameInRequest": "body", "Type": { @@ -490,7 +450,7 @@ ], "Responses": [ { - "$id": "50", + "$id": "46", "StatusCodes": [ 204 ], @@ -514,12 +474,40 @@ } ], "Protocol": { - "$id": "51" + "$id": "47" }, "Parent": "ExtensibleClient", "Parameters": [ { - "$ref": "26" + "$id": "48", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "49", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "50", + "Type": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/enum/fixed/tspCodeModel.json b/test/CadlRanchProjects/type/enum/fixed/tspCodeModel.json index 2382b81ae0b..619ff5a0c5e 100644 --- a/test/CadlRanchProjects/type/enum/fixed/tspCodeModel.json +++ b/test/CadlRanchProjects/type/enum/fixed/tspCodeModel.json @@ -207,44 +207,13 @@ "Parameters": [ { "$id": "26", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "27", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "28", - "Type": { - "$id": "29", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "30", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "31", + "$id": "27", "kind": "constant", "valueType": { - "$id": "32", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -266,7 +235,7 @@ ], "Responses": [ { - "$id": "33", + "$id": "29", "StatusCodes": [ 200 ], @@ -292,25 +261,22 @@ "Decorators": [] }, { - "$id": "34", + "$id": "30", "Name": "putKnownValue", "ResourceName": "String", "Description": "putKnownValue", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "35", + "$id": "31", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "36", + "$id": "32", "kind": "constant", "valueType": { - "$id": "37", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -330,7 +296,7 @@ "SkipUrlEncoding": false }, { - "$id": "38", + "$id": "34", "Name": "body", "NameInRequest": "body", "Description": "_", @@ -350,7 +316,7 @@ ], "Responses": [ { - "$id": "39", + "$id": "35", "StatusCodes": [ 204 ], @@ -373,25 +339,22 @@ "Decorators": [] }, { - "$id": "40", + "$id": "36", "Name": "putUnknownValue", "ResourceName": "String", "Description": "putUnknownValue", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "41", + "$id": "37", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "42", + "$id": "38", "kind": "constant", "valueType": { - "$id": "43", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -411,7 +374,7 @@ "SkipUrlEncoding": false }, { - "$id": "44", + "$id": "40", "Name": "body", "NameInRequest": "body", "Description": "_", @@ -431,7 +394,7 @@ ], "Responses": [ { - "$id": "45", + "$id": "41", "StatusCodes": [ 204 ], @@ -455,12 +418,40 @@ } ], "Protocol": { - "$id": "46" + "$id": "42" }, "Parent": "FixedClient", "Parameters": [ { - "$ref": "26" + "$id": "43", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "44", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "45", + "Type": { + "$id": "46", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/model/empty/tspCodeModel.json b/test/CadlRanchProjects/type/model/empty/tspCodeModel.json index fd0aadac7bd..e645bf40273 100644 --- a/test/CadlRanchProjects/type/model/empty/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/empty/tspCodeModel.json @@ -49,45 +49,14 @@ "Parameters": [ { "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "9", - "Type": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "11", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "12", + "$id": "8", "kind": "constant", "valueType": { - "$id": "13", + "$id": "9", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107,7 +76,7 @@ "SkipUrlEncoding": false }, { - "$id": "14", + "$id": "10", "Name": "input", "NameInRequest": "input", "Type": { @@ -126,7 +95,7 @@ ], "Responses": [ { - "$id": "15", + "$id": "11", "StatusCodes": [ 204 ], @@ -149,23 +118,20 @@ "Decorators": [] }, { - "$id": "16", + "$id": "12", "Name": "getEmpty", "ResourceName": "Empty", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "17", + "$id": "13", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -187,7 +153,7 @@ ], "Responses": [ { - "$id": "20", + "$id": "16", "StatusCodes": [ 200 ], @@ -213,24 +179,21 @@ "Decorators": [] }, { - "$id": "21", + "$id": "17", "Name": "postRoundTripEmpty", "ResourceName": "Empty", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "22", + "$id": "18", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "23", + "$id": "19", "kind": "constant", "valueType": { - "$id": "24", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -250,14 +213,14 @@ "SkipUrlEncoding": false }, { - "$id": "25", + "$id": "21", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "26", + "$id": "22", "kind": "constant", "valueType": { - "$id": "27", + "$id": "23", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -277,7 +240,7 @@ "SkipUrlEncoding": false }, { - "$id": "28", + "$id": "24", "Name": "body", "NameInRequest": "body", "Type": { @@ -296,7 +259,7 @@ ], "Responses": [ { - "$id": "29", + "$id": "25", "StatusCodes": [ 200 ], @@ -326,11 +289,39 @@ } ], "Protocol": { - "$id": "30" + "$id": "26" }, "Parameters": [ { - "$ref": "7" + "$id": "27", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "28", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "29", + "Type": { + "$id": "30", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/model/flatten/tspCodeModel.json b/test/CadlRanchProjects/type/model/flatten/tspCodeModel.json new file mode 100644 index 00000000000..32fcfa353f5 --- /dev/null +++ b/test/CadlRanchProjects/type/model/flatten/tspCodeModel.json @@ -0,0 +1,533 @@ +{ + "$id": "1", + "Name": "Type.Model.Flatten", + "ApiVersions": [], + "Enums": [], + "Models": [ + { + "$id": "2", + "Kind": "model", + "Name": "FlattenModel", + "CrossLanguageDefinitionId": "Type.Model.Flatten.FlattenModel", + "Usage": "Input,Output,Json", + "Description": "This is the model with one level of flattening.", + "Decorators": [], + "Properties": [ + { + "$id": "3", + "Kind": "property", + "Name": "name", + "SerializedName": "name", + "Type": { + "$id": "4", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.FlattenModel.name" + }, + { + "$id": "5", + "Kind": "property", + "Name": "description", + "SerializedName": "description", + "Type": { + "$id": "6", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "FlattenedNames": [ + "properties", + "description" + ], + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildModel.description" + }, + { + "$id": "7", + "Kind": "property", + "Name": "age", + "SerializedName": "age", + "Type": { + "$id": "8", + "Kind": "int32", + "Name": "int32", + "CrossLanguageDefinitionId": "TypeSpec.int32", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "FlattenedNames": [ + "properties", + "age" + ], + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildModel.age" + } + ] + }, + { + "$id": "9", + "Kind": "model", + "Name": "ChildModel", + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildModel", + "Usage": "Input,Output,Json", + "Description": "This is the child model to be flattened.", + "Decorators": [], + "Properties": [ + { + "$id": "10", + "Kind": "property", + "Name": "description", + "SerializedName": "description", + "Type": { + "$ref": "6" + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildModel.description" + }, + { + "$id": "11", + "Kind": "property", + "Name": "age", + "SerializedName": "age", + "Type": { + "$ref": "8" + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildModel.age" + } + ] + }, + { + "$id": "12", + "Kind": "model", + "Name": "NestedFlattenModel", + "CrossLanguageDefinitionId": "Type.Model.Flatten.NestedFlattenModel", + "Usage": "Input,Output,Json", + "Description": "This is the model with two levels of flattening.", + "Decorators": [], + "Properties": [ + { + "$id": "13", + "Kind": "property", + "Name": "name", + "SerializedName": "name", + "Type": { + "$id": "14", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.NestedFlattenModel.name" + }, + { + "$id": "15", + "Kind": "property", + "Name": "summary", + "SerializedName": "summary", + "Type": { + "$id": "16", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "FlattenedNames": [ + "properties", + "summary" + ], + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildFlattenModel.summary" + }, + { + "$id": "17", + "Kind": "property", + "Name": "description", + "SerializedName": "description", + "Type": { + "$ref": "6" + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "FlattenedNames": [ + "properties", + "properties", + "description" + ], + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildModel.description" + }, + { + "$id": "18", + "Kind": "property", + "Name": "age", + "SerializedName": "age", + "Type": { + "$ref": "8" + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "FlattenedNames": [ + "properties", + "properties", + "age" + ], + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildModel.age" + } + ] + }, + { + "$id": "19", + "Kind": "model", + "Name": "ChildFlattenModel", + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildFlattenModel", + "Usage": "Input,Output,Json", + "Description": "This is the child model to be flattened. And it has flattened property as well.", + "Decorators": [], + "Properties": [ + { + "$id": "20", + "Kind": "property", + "Name": "summary", + "SerializedName": "summary", + "Type": { + "$ref": "16" + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildFlattenModel.summary" + }, + { + "$id": "21", + "Kind": "property", + "Name": "description", + "SerializedName": "description", + "Type": { + "$ref": "6" + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "FlattenedNames": [ + "properties", + "description" + ], + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildModel.description" + }, + { + "$id": "22", + "Kind": "property", + "Name": "age", + "SerializedName": "age", + "Type": { + "$ref": "8" + }, + "Optional": false, + "ReadOnly": false, + "Discriminator": false, + "FlattenedNames": [ + "properties", + "age" + ], + "Decorators": [], + "CrossLanguageDefinitionId": "Type.Model.Flatten.ChildModel.age" + } + ] + } + ], + "Clients": [ + { + "$id": "23", + "Name": "FlattenClient", + "Description": "Illustrates the model flatten cases.", + "Operations": [ + { + "$id": "24", + "Name": "putFlattenModel", + "ResourceName": "Flatten", + "Accessibility": "public", + "Parameters": [ + { + "$id": "25", + "Name": "contentType", + "NameInRequest": "Content-Type", + "Description": "Body parameter's content type. Known values are application/json", + "Type": { + "$id": "26", + "Kind": "constant", + "ValueType": { + "$id": "27", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": true, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "28", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "29", + "Kind": "constant", + "ValueType": { + "$id": "30", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "31", + "Name": "input", + "NameInRequest": "input", + "Type": { + "$ref": "2" + }, + "Location": "Body", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "32", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "2" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "PUT", + "RequestBodyMediaType": "Json", + "Uri": "{endpoint}", + "Path": "/type/model/flatten/flattenModel", + "RequestMediaTypes": [ + "application/json" + ], + "BufferResponse": true, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Type.Model.Flatten.putFlattenModel", + "Decorators": [] + }, + { + "$id": "33", + "Name": "putNestedFlattenModel", + "ResourceName": "Flatten", + "Accessibility": "public", + "Parameters": [ + { + "$id": "34", + "Name": "contentType", + "NameInRequest": "Content-Type", + "Description": "Body parameter's content type. Known values are application/json", + "Type": { + "$id": "35", + "Kind": "constant", + "ValueType": { + "$id": "36", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": true, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "37", + "Name": "accept", + "NameInRequest": "Accept", + "Type": { + "$id": "38", + "Kind": "constant", + "ValueType": { + "$id": "39", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string", + "Decorators": [] + }, + "Value": "application/json", + "Decorators": [] + }, + "Location": "Header", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Constant", + "Decorators": [], + "SkipUrlEncoding": false + }, + { + "$id": "40", + "Name": "input", + "NameInRequest": "input", + "Type": { + "$ref": "12" + }, + "Location": "Body", + "IsApiVersion": false, + "IsContentType": false, + "IsEndpoint": false, + "Explode": false, + "IsRequired": true, + "Kind": "Method", + "Decorators": [], + "SkipUrlEncoding": false + } + ], + "Responses": [ + { + "$id": "41", + "StatusCodes": [ + 200 + ], + "BodyType": { + "$ref": "12" + }, + "BodyMediaType": "Json", + "Headers": [], + "IsErrorResponse": false, + "ContentTypes": [ + "application/json" + ] + } + ], + "HttpMethod": "PUT", + "RequestBodyMediaType": "Json", + "Uri": "{endpoint}", + "Path": "/type/model/flatten/nestedFlattenModel", + "RequestMediaTypes": [ + "application/json" + ], + "BufferResponse": true, + "GenerateProtocolMethod": true, + "GenerateConvenienceMethod": true, + "CrossLanguageDefinitionId": "Type.Model.Flatten.putNestedFlattenModel", + "Decorators": [] + } + ], + "Protocol": { + "$id": "42" + }, + "Parameters": [ + { + "$id": "43", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Type": { + "$id": "44", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "45", + "Type": { + "$id": "46", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } + } + ], + "Decorators": [] + } + ] +} diff --git a/test/CadlRanchProjects/type/model/inheritance/enum-discriminator/tspCodeModel.json b/test/CadlRanchProjects/type/model/inheritance/enum-discriminator/tspCodeModel.json index d5f11533044..3c94a1dd972 100644 --- a/test/CadlRanchProjects/type/model/inheritance/enum-discriminator/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/inheritance/enum-discriminator/tspCodeModel.json @@ -291,44 +291,13 @@ "Parameters": [ { "$id": "30", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "31", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "32", - "Type": { - "$id": "33", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "34", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "35", + "$id": "31", "kind": "constant", "valueType": { - "$id": "36", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -350,7 +319,7 @@ ], "Responses": [ { - "$id": "37", + "$id": "33", "StatusCodes": [ 200 ], @@ -376,25 +345,22 @@ "Decorators": [] }, { - "$id": "38", + "$id": "34", "Name": "putExtensibleModel", "ResourceName": "EnumDiscriminator", "Description": "Send model with extensible enum discriminator type.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "39", + "$id": "35", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "40", + "$id": "36", "kind": "constant", "valueType": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -414,7 +380,7 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "38", "Name": "input", "NameInRequest": "input", "Description": "Dog to create", @@ -434,7 +400,7 @@ ], "Responses": [ { - "$id": "43", + "$id": "39", "StatusCodes": [ 204 ], @@ -457,24 +423,21 @@ "Decorators": [] }, { - "$id": "44", + "$id": "40", "Name": "getExtensibleModelMissingDiscriminator", "ResourceName": "EnumDiscriminator", "Description": "Get a model omitting the discriminator.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "45", + "$id": "41", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "46", + "$id": "42", "kind": "constant", "valueType": { - "$id": "47", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -496,7 +459,7 @@ ], "Responses": [ { - "$id": "48", + "$id": "44", "StatusCodes": [ 200 ], @@ -522,24 +485,21 @@ "Decorators": [] }, { - "$id": "49", + "$id": "45", "Name": "getExtensibleModelWrongDiscriminator", "ResourceName": "EnumDiscriminator", "Description": "Get a model containing discriminator value never defined.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "50", + "$id": "46", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "51", + "$id": "47", "kind": "constant", "valueType": { - "$id": "52", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -561,7 +521,7 @@ ], "Responses": [ { - "$id": "53", + "$id": "49", "StatusCodes": [ 200 ], @@ -587,24 +547,21 @@ "Decorators": [] }, { - "$id": "54", + "$id": "50", "Name": "getFixedModel", "ResourceName": "EnumDiscriminator", "Description": "Receive model with fixed enum discriminator type.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "55", + "$id": "51", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "56", + "$id": "52", "kind": "constant", "valueType": { - "$id": "57", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -626,7 +583,7 @@ ], "Responses": [ { - "$id": "58", + "$id": "54", "StatusCodes": [ 200 ], @@ -652,25 +609,22 @@ "Decorators": [] }, { - "$id": "59", + "$id": "55", "Name": "putFixedModel", "ResourceName": "EnumDiscriminator", "Description": "Send model with fixed enum discriminator type.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "60", + "$id": "56", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "61", + "$id": "57", "kind": "constant", "valueType": { - "$id": "62", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -690,7 +644,7 @@ "SkipUrlEncoding": false }, { - "$id": "63", + "$id": "59", "Name": "input", "NameInRequest": "input", "Description": "Snake to create", @@ -710,7 +664,7 @@ ], "Responses": [ { - "$id": "64", + "$id": "60", "StatusCodes": [ 204 ], @@ -733,24 +687,21 @@ "Decorators": [] }, { - "$id": "65", + "$id": "61", "Name": "getFixedModelMissingDiscriminator", "ResourceName": "EnumDiscriminator", "Description": "Get a model omitting the discriminator.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "66", + "$id": "62", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "67", + "$id": "63", "kind": "constant", "valueType": { - "$id": "68", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -772,7 +723,7 @@ ], "Responses": [ { - "$id": "69", + "$id": "65", "StatusCodes": [ 200 ], @@ -798,24 +749,21 @@ "Decorators": [] }, { - "$id": "70", + "$id": "66", "Name": "getFixedModelWrongDiscriminator", "ResourceName": "EnumDiscriminator", "Description": "Get a model containing discriminator value never defined.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "71", + "$id": "67", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "72", + "$id": "68", "kind": "constant", "valueType": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -837,7 +785,7 @@ ], "Responses": [ { - "$id": "74", + "$id": "70", "StatusCodes": [ 200 ], @@ -864,11 +812,39 @@ } ], "Protocol": { - "$id": "75" + "$id": "71" }, "Parameters": [ { - "$ref": "30" + "$id": "72", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "73", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "74", + "Type": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/model/inheritance/not-discriminated/tspCodeModel.json b/test/CadlRanchProjects/type/model/inheritance/not-discriminated/tspCodeModel.json index b96f9000b60..abe203cb12c 100644 --- a/test/CadlRanchProjects/type/model/inheritance/not-discriminated/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/inheritance/not-discriminated/tspCodeModel.json @@ -115,45 +115,14 @@ "Parameters": [ { "$id": "13", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "14", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "15", - "Type": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "17", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -173,7 +142,7 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "16", "Name": "input", "NameInRequest": "input", "Type": { @@ -192,7 +161,7 @@ ], "Responses": [ { - "$id": "21", + "$id": "17", "StatusCodes": [ 204 ], @@ -215,23 +184,20 @@ "Decorators": [] }, { - "$id": "22", + "$id": "18", "Name": "getValid", "ResourceName": "NotDiscriminated", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "23", + "$id": "19", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "24", + "$id": "20", "kind": "constant", "valueType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -253,7 +219,7 @@ ], "Responses": [ { - "$id": "26", + "$id": "22", "StatusCodes": [ 200 ], @@ -279,24 +245,21 @@ "Decorators": [] }, { - "$id": "27", + "$id": "23", "Name": "putValid", "ResourceName": "NotDiscriminated", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "28", + "$id": "24", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "29", + "$id": "25", "kind": "constant", "valueType": { - "$id": "30", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -316,14 +279,14 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "27", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "32", + "$id": "28", "kind": "constant", "valueType": { - "$id": "33", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -343,7 +306,7 @@ "SkipUrlEncoding": false }, { - "$id": "34", + "$id": "30", "Name": "input", "NameInRequest": "input", "Type": { @@ -362,7 +325,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "31", "StatusCodes": [ 200 ], @@ -392,11 +355,39 @@ } ], "Protocol": { - "$id": "36" + "$id": "32" }, "Parameters": [ { - "$ref": "13" + "$id": "33", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "34", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "35", + "Type": { + "$id": "36", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/model/inheritance/recursive/tspCodeModel.json b/test/CadlRanchProjects/type/model/inheritance/recursive/tspCodeModel.json index 4914bd5f261..209ea500b16 100644 --- a/test/CadlRanchProjects/type/model/inheritance/recursive/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/inheritance/recursive/tspCodeModel.json @@ -85,45 +85,14 @@ "Parameters": [ { "$id": "10", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "11", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "12", - "Type": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "14", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "15", + "$id": "11", "kind": "constant", "valueType": { - "$id": "16", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -143,7 +112,7 @@ "SkipUrlEncoding": false }, { - "$id": "17", + "$id": "13", "Name": "input", "NameInRequest": "input", "Type": { @@ -162,7 +131,7 @@ ], "Responses": [ { - "$id": "18", + "$id": "14", "StatusCodes": [ 204 ], @@ -185,23 +154,20 @@ "Decorators": [] }, { - "$id": "19", + "$id": "15", "Name": "get", "ResourceName": "Recursive", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "20", + "$id": "16", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "21", + "$id": "17", "kind": "constant", "valueType": { - "$id": "22", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -223,7 +189,7 @@ ], "Responses": [ { - "$id": "23", + "$id": "19", "StatusCodes": [ 200 ], @@ -250,11 +216,39 @@ } ], "Protocol": { - "$id": "24" + "$id": "20" }, "Parameters": [ { - "$ref": "10" + "$id": "21", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "22", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "23", + "Type": { + "$id": "24", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/model/inheritance/single-discriminator/tspCodeModel.json b/test/CadlRanchProjects/type/model/inheritance/single-discriminator/tspCodeModel.json index 4ed19f4c7c0..0075459cad1 100644 --- a/test/CadlRanchProjects/type/model/inheritance/single-discriminator/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/inheritance/single-discriminator/tspCodeModel.json @@ -409,44 +409,13 @@ "Parameters": [ { "$id": "42", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "43", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "44", - "Type": { - "$id": "45", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "46", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "47", + "$id": "43", "kind": "constant", "valueType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -468,7 +437,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "45", "StatusCodes": [ 200 ], @@ -494,24 +463,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "putModel", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "51", + "$id": "47", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "48", "kind": "constant", "valueType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -531,7 +497,7 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "50", "Name": "input", "NameInRequest": "input", "Type": { @@ -550,7 +516,7 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 204 ], @@ -573,23 +539,20 @@ "Decorators": [] }, { - "$id": "56", + "$id": "52", "Name": "getRecursiveModel", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "57", + "$id": "53", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "58", + "$id": "54", "kind": "constant", "valueType": { - "$id": "59", + "$id": "55", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -611,7 +574,7 @@ ], "Responses": [ { - "$id": "60", + "$id": "56", "StatusCodes": [ 200 ], @@ -637,24 +600,21 @@ "Decorators": [] }, { - "$id": "61", + "$id": "57", "Name": "putRecursiveModel", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "62", + "$id": "58", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "63", + "$id": "59", "kind": "constant", "valueType": { - "$id": "64", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -674,7 +634,7 @@ "SkipUrlEncoding": false }, { - "$id": "65", + "$id": "61", "Name": "input", "NameInRequest": "input", "Type": { @@ -693,7 +653,7 @@ ], "Responses": [ { - "$id": "66", + "$id": "62", "StatusCodes": [ 204 ], @@ -716,23 +676,20 @@ "Decorators": [] }, { - "$id": "67", + "$id": "63", "Name": "getMissingDiscriminator", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "68", + "$id": "64", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "69", + "$id": "65", "kind": "constant", "valueType": { - "$id": "70", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -754,7 +711,7 @@ ], "Responses": [ { - "$id": "71", + "$id": "67", "StatusCodes": [ 200 ], @@ -780,23 +737,20 @@ "Decorators": [] }, { - "$id": "72", + "$id": "68", "Name": "getWrongDiscriminator", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "73", + "$id": "69", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "74", + "$id": "70", "kind": "constant", "valueType": { - "$id": "75", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -818,7 +772,7 @@ ], "Responses": [ { - "$id": "76", + "$id": "72", "StatusCodes": [ 200 ], @@ -844,23 +798,20 @@ "Decorators": [] }, { - "$id": "77", + "$id": "73", "Name": "getLegacyModel", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "78", + "$id": "74", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "79", + "$id": "75", "kind": "constant", "valueType": { - "$id": "80", + "$id": "76", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -882,7 +833,7 @@ ], "Responses": [ { - "$id": "81", + "$id": "77", "StatusCodes": [ 200 ], @@ -909,11 +860,39 @@ } ], "Protocol": { - "$id": "82" + "$id": "78" }, "Parameters": [ { - "$ref": "42" + "$id": "79", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "80", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "81", + "Type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/model/usage/tspCodeModel.json b/test/CadlRanchProjects/type/model/usage/tspCodeModel.json index f4138204fe8..e73fd5363ed 100644 --- a/test/CadlRanchProjects/type/model/usage/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/usage/tspCodeModel.json @@ -109,45 +109,14 @@ "Parameters": [ { "$id": "13", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "14", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "15", - "Type": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "17", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -167,7 +136,7 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "16", "Name": "input", "NameInRequest": "input", "Type": { @@ -186,7 +155,7 @@ ], "Responses": [ { - "$id": "21", + "$id": "17", "StatusCodes": [ 204 ], @@ -209,23 +178,20 @@ "Decorators": [] }, { - "$id": "22", + "$id": "18", "Name": "output", "ResourceName": "Usage", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "23", + "$id": "19", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "24", + "$id": "20", "kind": "constant", "valueType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -247,7 +213,7 @@ ], "Responses": [ { - "$id": "26", + "$id": "22", "StatusCodes": [ 200 ], @@ -273,24 +239,21 @@ "Decorators": [] }, { - "$id": "27", + "$id": "23", "Name": "inputAndOutput", "ResourceName": "Usage", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "28", + "$id": "24", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "29", + "$id": "25", "kind": "constant", "valueType": { - "$id": "30", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -310,14 +273,14 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "27", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "32", + "$id": "28", "kind": "constant", "valueType": { - "$id": "33", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -337,7 +300,7 @@ "SkipUrlEncoding": false }, { - "$id": "34", + "$id": "30", "Name": "body", "NameInRequest": "body", "Type": { @@ -356,7 +319,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "31", "StatusCodes": [ 200 ], @@ -386,11 +349,39 @@ } ], "Protocol": { - "$id": "36" + "$id": "32" }, "Parameters": [ { - "$ref": "13" + "$id": "33", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "34", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "35", + "Type": { + "$id": "36", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/model/visibility/tspCodeModel.json b/test/CadlRanchProjects/type/model/visibility/tspCodeModel.json index bf766ab62f9..54b8391348a 100644 --- a/test/CadlRanchProjects/type/model/visibility/tspCodeModel.json +++ b/test/CadlRanchProjects/type/model/visibility/tspCodeModel.json @@ -218,45 +218,14 @@ "Parameters": [ { "$id": "26", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "27", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "28", - "Type": { - "$id": "29", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "30", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "31", + "$id": "27", "kind": "constant", "valueType": { - "$id": "32", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -276,14 +245,14 @@ "SkipUrlEncoding": false }, { - "$id": "33", + "$id": "29", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "34", + "$id": "30", "kind": "constant", "valueType": { - "$id": "35", + "$id": "31", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -303,7 +272,7 @@ "SkipUrlEncoding": false }, { - "$id": "36", + "$id": "32", "Name": "input", "NameInRequest": "input", "Type": { @@ -322,7 +291,7 @@ ], "Responses": [ { - "$id": "37", + "$id": "33", "StatusCodes": [ 200 ], @@ -351,24 +320,21 @@ "Decorators": [] }, { - "$id": "38", + "$id": "34", "Name": "headModel", "ResourceName": "Visibility", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "39", + "$id": "35", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "40", + "$id": "36", "kind": "constant", "valueType": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -388,7 +354,7 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "38", "Name": "input", "NameInRequest": "input", "Type": { @@ -407,7 +373,7 @@ ], "Responses": [ { - "$id": "43", + "$id": "39", "StatusCodes": [ 200 ], @@ -430,24 +396,21 @@ "Decorators": [] }, { - "$id": "44", + "$id": "40", "Name": "putModel", "ResourceName": "Visibility", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "45", + "$id": "41", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "46", + "$id": "42", "kind": "constant", "valueType": { - "$id": "47", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -467,7 +430,7 @@ "SkipUrlEncoding": false }, { - "$id": "48", + "$id": "44", "Name": "input", "NameInRequest": "input", "Type": { @@ -486,7 +449,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "45", "StatusCodes": [ 204 ], @@ -509,24 +472,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "patchModel", "ResourceName": "Visibility", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "51", + "$id": "47", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "48", "kind": "constant", "valueType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -546,7 +506,7 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "50", "Name": "input", "NameInRequest": "input", "Type": { @@ -565,7 +525,7 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 204 ], @@ -588,24 +548,21 @@ "Decorators": [] }, { - "$id": "56", + "$id": "52", "Name": "postModel", "ResourceName": "Visibility", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "57", + "$id": "53", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "58", + "$id": "54", "kind": "constant", "valueType": { - "$id": "59", + "$id": "55", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -625,7 +582,7 @@ "SkipUrlEncoding": false }, { - "$id": "60", + "$id": "56", "Name": "input", "NameInRequest": "input", "Type": { @@ -644,7 +601,7 @@ ], "Responses": [ { - "$id": "61", + "$id": "57", "StatusCodes": [ 204 ], @@ -667,24 +624,21 @@ "Decorators": [] }, { - "$id": "62", + "$id": "58", "Name": "deleteModel", "ResourceName": "Visibility", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "63", + "$id": "59", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "64", + "$id": "60", "kind": "constant", "valueType": { - "$id": "65", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -704,7 +658,7 @@ "SkipUrlEncoding": false }, { - "$id": "66", + "$id": "62", "Name": "input", "NameInRequest": "input", "Type": { @@ -723,7 +677,7 @@ ], "Responses": [ { - "$id": "67", + "$id": "63", "StatusCodes": [ 204 ], @@ -746,24 +700,21 @@ "Decorators": [] }, { - "$id": "68", + "$id": "64", "Name": "putReadOnlyModel", "ResourceName": "Visibility", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "69", + "$id": "65", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "70", + "$id": "66", "kind": "constant", "valueType": { - "$id": "71", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -783,14 +734,14 @@ "SkipUrlEncoding": false }, { - "$id": "72", + "$id": "68", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "73", + "$id": "69", "kind": "constant", "valueType": { - "$id": "74", + "$id": "70", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -810,7 +761,7 @@ "SkipUrlEncoding": false }, { - "$id": "75", + "$id": "71", "Name": "input", "NameInRequest": "input", "Type": { @@ -829,7 +780,7 @@ ], "Responses": [ { - "$id": "76", + "$id": "72", "StatusCodes": [ 200 ], @@ -859,11 +810,39 @@ } ], "Protocol": { - "$id": "77" + "$id": "73" }, "Parameters": [ { - "$ref": "26" + "$id": "74", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "75", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "76", + "Type": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/property/additional-properties/tspCodeModel.json b/test/CadlRanchProjects/type/property/additional-properties/tspCodeModel.json index b5425224339..878f1b8ac6f 100644 --- a/test/CadlRanchProjects/type/property/additional-properties/tspCodeModel.json +++ b/test/CadlRanchProjects/type/property/additional-properties/tspCodeModel.json @@ -1876,44 +1876,13 @@ "Parameters": [ { "$id": "186", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "187", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "188", - "Type": { - "$id": "189", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "190", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "191", + "$id": "187", "kind": "constant", "valueType": { - "$id": "192", + "$id": "188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1935,7 +1904,7 @@ ], "Responses": [ { - "$id": "193", + "$id": "189", "StatusCodes": [ 200 ], @@ -1961,25 +1930,22 @@ "Decorators": [] }, { - "$id": "194", + "$id": "190", "Name": "put", "ResourceName": "ExtendsUnknown", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "186" - }, - { - "$id": "195", + "$id": "191", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "196", + "$id": "192", "kind": "constant", "valueType": { - "$id": "197", + "$id": "193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1999,7 +1965,7 @@ "SkipUrlEncoding": false }, { - "$id": "198", + "$id": "194", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2019,7 +1985,7 @@ ], "Responses": [ { - "$id": "199", + "$id": "195", "StatusCodes": [ 204 ], @@ -2043,12 +2009,40 @@ } ], "Protocol": { - "$id": "200" + "$id": "196" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "186" + "$id": "197", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "198", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "199", + "Type": { + "$id": "200", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2066,44 +2060,13 @@ "Parameters": [ { "$id": "203", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "204", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "205", - "Type": { - "$id": "206", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "207", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "208", + "$id": "204", "kind": "constant", "valueType": { - "$id": "209", + "$id": "205", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2125,7 +2088,7 @@ ], "Responses": [ { - "$id": "210", + "$id": "206", "StatusCodes": [ 200 ], @@ -2151,25 +2114,22 @@ "Decorators": [] }, { - "$id": "211", + "$id": "207", "Name": "put", "ResourceName": "ExtendsUnknownDerived", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "203" - }, - { - "$id": "212", + "$id": "208", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "213", + "$id": "209", "kind": "constant", "valueType": { - "$id": "214", + "$id": "210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2189,7 +2149,7 @@ "SkipUrlEncoding": false }, { - "$id": "215", + "$id": "211", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2209,7 +2169,7 @@ ], "Responses": [ { - "$id": "216", + "$id": "212", "StatusCodes": [ 204 ], @@ -2233,12 +2193,40 @@ } ], "Protocol": { - "$id": "217" + "$id": "213" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "203" + "$id": "214", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "215", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "216", + "Type": { + "$id": "217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2256,44 +2244,13 @@ "Parameters": [ { "$id": "220", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "221", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "222", - "Type": { - "$id": "223", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "224", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "225", + "$id": "221", "kind": "constant", "valueType": { - "$id": "226", + "$id": "222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2315,7 +2272,7 @@ ], "Responses": [ { - "$id": "227", + "$id": "223", "StatusCodes": [ 200 ], @@ -2341,25 +2298,22 @@ "Decorators": [] }, { - "$id": "228", + "$id": "224", "Name": "put", "ResourceName": "ExtendsUnknownDiscriminated", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "220" - }, - { - "$id": "229", + "$id": "225", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "230", + "$id": "226", "kind": "constant", "valueType": { - "$id": "231", + "$id": "227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2379,7 +2333,7 @@ "SkipUrlEncoding": false }, { - "$id": "232", + "$id": "228", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2399,7 +2353,7 @@ ], "Responses": [ { - "$id": "233", + "$id": "229", "StatusCodes": [ 204 ], @@ -2423,12 +2377,40 @@ } ], "Protocol": { - "$id": "234" + "$id": "230" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "220" + "$id": "231", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "232", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "233", + "Type": { + "$id": "234", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2446,44 +2428,13 @@ "Parameters": [ { "$id": "237", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "238", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "239", - "Type": { - "$id": "240", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "241", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "242", + "$id": "238", "kind": "constant", "valueType": { - "$id": "243", + "$id": "239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2505,7 +2456,7 @@ ], "Responses": [ { - "$id": "244", + "$id": "240", "StatusCodes": [ 200 ], @@ -2531,25 +2482,22 @@ "Decorators": [] }, { - "$id": "245", + "$id": "241", "Name": "put", "ResourceName": "IsUnknown", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "237" - }, - { - "$id": "246", + "$id": "242", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "247", + "$id": "243", "kind": "constant", "valueType": { - "$id": "248", + "$id": "244", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2569,7 +2517,7 @@ "SkipUrlEncoding": false }, { - "$id": "249", + "$id": "245", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2589,7 +2537,7 @@ ], "Responses": [ { - "$id": "250", + "$id": "246", "StatusCodes": [ 204 ], @@ -2613,12 +2561,40 @@ } ], "Protocol": { - "$id": "251" + "$id": "247" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "237" + "$id": "248", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "249", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "250", + "Type": { + "$id": "251", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2636,44 +2612,13 @@ "Parameters": [ { "$id": "254", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "255", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "256", - "Type": { - "$id": "257", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "258", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "259", + "$id": "255", "kind": "constant", "valueType": { - "$id": "260", + "$id": "256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2695,7 +2640,7 @@ ], "Responses": [ { - "$id": "261", + "$id": "257", "StatusCodes": [ 200 ], @@ -2721,25 +2666,22 @@ "Decorators": [] }, { - "$id": "262", + "$id": "258", "Name": "put", "ResourceName": "IsUnknownDerived", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "254" - }, - { - "$id": "263", + "$id": "259", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "264", + "$id": "260", "kind": "constant", "valueType": { - "$id": "265", + "$id": "261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2759,7 +2701,7 @@ "SkipUrlEncoding": false }, { - "$id": "266", + "$id": "262", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2779,7 +2721,7 @@ ], "Responses": [ { - "$id": "267", + "$id": "263", "StatusCodes": [ 204 ], @@ -2803,12 +2745,40 @@ } ], "Protocol": { - "$id": "268" + "$id": "264" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "254" + "$id": "265", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "266", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "267", + "Type": { + "$id": "268", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2826,44 +2796,13 @@ "Parameters": [ { "$id": "271", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "272", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "273", - "Type": { - "$id": "274", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "275", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "276", + "$id": "272", "kind": "constant", "valueType": { - "$id": "277", + "$id": "273", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2885,7 +2824,7 @@ ], "Responses": [ { - "$id": "278", + "$id": "274", "StatusCodes": [ 200 ], @@ -2911,25 +2850,22 @@ "Decorators": [] }, { - "$id": "279", + "$id": "275", "Name": "put", "ResourceName": "IsUnknownDiscriminated", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "271" - }, - { - "$id": "280", + "$id": "276", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "281", + "$id": "277", "kind": "constant", "valueType": { - "$id": "282", + "$id": "278", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2949,7 +2885,7 @@ "SkipUrlEncoding": false }, { - "$id": "283", + "$id": "279", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2969,7 +2905,7 @@ ], "Responses": [ { - "$id": "284", + "$id": "280", "StatusCodes": [ 204 ], @@ -2993,67 +2929,64 @@ } ], "Protocol": { - "$id": "285" + "$id": "281" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "271" - } - ], - "Decorators": [] - }, - { - "$id": "286", - "Name": "ExtendsString", - "Operations": [ - { - "$id": "287", - "Name": "get", - "ResourceName": "ExtendsString", - "Description": "Get call", - "Accessibility": "public", - "Parameters": [ - { - "$id": "288", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "289", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "290", - "Type": { - "$id": "291", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } + "$id": "282", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "283", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "284", + "Type": { + "$id": "285", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" }, + "Value": "http://localhost:3000" + } + } + ], + "Decorators": [] + }, + { + "$id": "286", + "Name": "ExtendsString", + "Operations": [ + { + "$id": "287", + "Name": "get", + "ResourceName": "ExtendsString", + "Description": "Get call", + "Accessibility": "public", + "Parameters": [ { - "$id": "292", + "$id": "288", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "293", + "$id": "289", "kind": "constant", "valueType": { - "$id": "294", + "$id": "290", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3075,7 +3008,7 @@ ], "Responses": [ { - "$id": "295", + "$id": "291", "StatusCodes": [ 200 ], @@ -3101,25 +3034,22 @@ "Decorators": [] }, { - "$id": "296", + "$id": "292", "Name": "put", "ResourceName": "ExtendsString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "288" - }, - { - "$id": "297", + "$id": "293", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "298", + "$id": "294", "kind": "constant", "valueType": { - "$id": "299", + "$id": "295", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3139,7 +3069,7 @@ "SkipUrlEncoding": false }, { - "$id": "300", + "$id": "296", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3159,7 +3089,7 @@ ], "Responses": [ { - "$id": "301", + "$id": "297", "StatusCodes": [ 204 ], @@ -3183,12 +3113,40 @@ } ], "Protocol": { - "$id": "302" + "$id": "298" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "288" + "$id": "299", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "300", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "301", + "Type": { + "$id": "302", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3206,44 +3164,13 @@ "Parameters": [ { "$id": "305", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "306", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "307", - "Type": { - "$id": "308", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "309", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "310", + "$id": "306", "kind": "constant", "valueType": { - "$id": "311", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3265,7 +3192,7 @@ ], "Responses": [ { - "$id": "312", + "$id": "308", "StatusCodes": [ 200 ], @@ -3291,25 +3218,22 @@ "Decorators": [] }, { - "$id": "313", + "$id": "309", "Name": "put", "ResourceName": "IsString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "305" - }, - { - "$id": "314", + "$id": "310", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "315", + "$id": "311", "kind": "constant", "valueType": { - "$id": "316", + "$id": "312", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3329,7 +3253,7 @@ "SkipUrlEncoding": false }, { - "$id": "317", + "$id": "313", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3349,7 +3273,7 @@ ], "Responses": [ { - "$id": "318", + "$id": "314", "StatusCodes": [ 204 ], @@ -3373,12 +3297,40 @@ } ], "Protocol": { - "$id": "319" + "$id": "315" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "305" + "$id": "316", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "317", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "318", + "Type": { + "$id": "319", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3396,44 +3348,13 @@ "Parameters": [ { "$id": "322", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "323", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "324", - "Type": { - "$id": "325", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "326", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "327", + "$id": "323", "kind": "constant", "valueType": { - "$id": "328", + "$id": "324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3455,7 +3376,7 @@ ], "Responses": [ { - "$id": "329", + "$id": "325", "StatusCodes": [ 200 ], @@ -3481,25 +3402,22 @@ "Decorators": [] }, { - "$id": "330", + "$id": "326", "Name": "put", "ResourceName": "SpreadString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "322" - }, - { - "$id": "331", + "$id": "327", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "332", + "$id": "328", "kind": "constant", "valueType": { - "$id": "333", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3519,7 +3437,7 @@ "SkipUrlEncoding": false }, { - "$id": "334", + "$id": "330", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3539,7 +3457,7 @@ ], "Responses": [ { - "$id": "335", + "$id": "331", "StatusCodes": [ 204 ], @@ -3563,12 +3481,40 @@ } ], "Protocol": { - "$id": "336" + "$id": "332" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "322" + "$id": "333", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "334", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "335", + "Type": { + "$id": "336", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3586,44 +3532,13 @@ "Parameters": [ { "$id": "339", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "340", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "341", - "Type": { - "$id": "342", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "343", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "344", + "$id": "340", "kind": "constant", "valueType": { - "$id": "345", + "$id": "341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3645,7 +3560,7 @@ ], "Responses": [ { - "$id": "346", + "$id": "342", "StatusCodes": [ 200 ], @@ -3671,25 +3586,22 @@ "Decorators": [] }, { - "$id": "347", + "$id": "343", "Name": "put", "ResourceName": "ExtendsFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "339" - }, - { - "$id": "348", + "$id": "344", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "349", + "$id": "345", "kind": "constant", "valueType": { - "$id": "350", + "$id": "346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3709,7 +3621,7 @@ "SkipUrlEncoding": false }, { - "$id": "351", + "$id": "347", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3729,7 +3641,7 @@ ], "Responses": [ { - "$id": "352", + "$id": "348", "StatusCodes": [ 204 ], @@ -3753,12 +3665,40 @@ } ], "Protocol": { - "$id": "353" + "$id": "349" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "339" + "$id": "350", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "351", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "352", + "Type": { + "$id": "353", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3776,44 +3716,13 @@ "Parameters": [ { "$id": "356", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "357", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "358", - "Type": { - "$id": "359", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "360", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "361", + "$id": "357", "kind": "constant", "valueType": { - "$id": "362", + "$id": "358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3835,7 +3744,7 @@ ], "Responses": [ { - "$id": "363", + "$id": "359", "StatusCodes": [ 200 ], @@ -3861,25 +3770,22 @@ "Decorators": [] }, { - "$id": "364", + "$id": "360", "Name": "put", "ResourceName": "IsFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "356" - }, - { - "$id": "365", + "$id": "361", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "366", + "$id": "362", "kind": "constant", "valueType": { - "$id": "367", + "$id": "363", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3899,7 +3805,7 @@ "SkipUrlEncoding": false }, { - "$id": "368", + "$id": "364", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3919,7 +3825,7 @@ ], "Responses": [ { - "$id": "369", + "$id": "365", "StatusCodes": [ 204 ], @@ -3943,12 +3849,40 @@ } ], "Protocol": { - "$id": "370" + "$id": "366" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "356" + "$id": "367", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "368", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "369", + "Type": { + "$id": "370", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3966,44 +3900,13 @@ "Parameters": [ { "$id": "373", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", + "Name": "accept", + "NameInRequest": "Accept", "Type": { "$id": "374", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "375", - "Type": { - "$id": "376", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "377", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "378", - "kind": "constant", - "valueType": { - "$id": "379", + "kind": "constant", + "valueType": { + "$id": "375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4025,7 +3928,7 @@ ], "Responses": [ { - "$id": "380", + "$id": "376", "StatusCodes": [ 200 ], @@ -4051,25 +3954,22 @@ "Decorators": [] }, { - "$id": "381", + "$id": "377", "Name": "put", "ResourceName": "SpreadFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "373" - }, - { - "$id": "382", + "$id": "378", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "383", + "$id": "379", "kind": "constant", "valueType": { - "$id": "384", + "$id": "380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4089,7 +3989,7 @@ "SkipUrlEncoding": false }, { - "$id": "385", + "$id": "381", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4109,7 +4009,7 @@ ], "Responses": [ { - "$id": "386", + "$id": "382", "StatusCodes": [ 204 ], @@ -4133,12 +4033,40 @@ } ], "Protocol": { - "$id": "387" + "$id": "383" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "373" + "$id": "384", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "385", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "386", + "Type": { + "$id": "387", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4156,44 +4084,13 @@ "Parameters": [ { "$id": "390", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "391", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "392", - "Type": { - "$id": "393", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "394", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "395", + "$id": "391", "kind": "constant", "valueType": { - "$id": "396", + "$id": "392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4215,7 +4112,7 @@ ], "Responses": [ { - "$id": "397", + "$id": "393", "StatusCodes": [ 200 ], @@ -4241,25 +4138,22 @@ "Decorators": [] }, { - "$id": "398", + "$id": "394", "Name": "put", "ResourceName": "ExtendsModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "390" - }, - { - "$id": "399", + "$id": "395", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "400", + "$id": "396", "kind": "constant", "valueType": { - "$id": "401", + "$id": "397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4279,7 +4173,7 @@ "SkipUrlEncoding": false }, { - "$id": "402", + "$id": "398", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4299,7 +4193,7 @@ ], "Responses": [ { - "$id": "403", + "$id": "399", "StatusCodes": [ 204 ], @@ -4323,12 +4217,40 @@ } ], "Protocol": { - "$id": "404" + "$id": "400" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "390" + "$id": "401", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "402", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "403", + "Type": { + "$id": "404", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4346,44 +4268,13 @@ "Parameters": [ { "$id": "407", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "408", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "409", - "Type": { - "$id": "410", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "411", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "412", + "$id": "408", "kind": "constant", "valueType": { - "$id": "413", + "$id": "409", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4405,7 +4296,7 @@ ], "Responses": [ { - "$id": "414", + "$id": "410", "StatusCodes": [ 200 ], @@ -4431,25 +4322,22 @@ "Decorators": [] }, { - "$id": "415", + "$id": "411", "Name": "put", "ResourceName": "IsModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "407" - }, - { - "$id": "416", + "$id": "412", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "417", + "$id": "413", "kind": "constant", "valueType": { - "$id": "418", + "$id": "414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4469,7 +4357,7 @@ "SkipUrlEncoding": false }, { - "$id": "419", + "$id": "415", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4489,7 +4377,7 @@ ], "Responses": [ { - "$id": "420", + "$id": "416", "StatusCodes": [ 204 ], @@ -4513,12 +4401,40 @@ } ], "Protocol": { - "$id": "421" + "$id": "417" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "407" + "$id": "418", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "419", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "420", + "Type": { + "$id": "421", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4536,44 +4452,13 @@ "Parameters": [ { "$id": "424", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "425", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "426", - "Type": { - "$id": "427", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "428", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "429", + "$id": "425", "kind": "constant", "valueType": { - "$id": "430", + "$id": "426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4595,7 +4480,7 @@ ], "Responses": [ { - "$id": "431", + "$id": "427", "StatusCodes": [ 200 ], @@ -4621,25 +4506,22 @@ "Decorators": [] }, { - "$id": "432", + "$id": "428", "Name": "put", "ResourceName": "SpreadModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "424" - }, - { - "$id": "433", + "$id": "429", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "434", + "$id": "430", "kind": "constant", "valueType": { - "$id": "435", + "$id": "431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4659,7 +4541,7 @@ "SkipUrlEncoding": false }, { - "$id": "436", + "$id": "432", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4679,7 +4561,7 @@ ], "Responses": [ { - "$id": "437", + "$id": "433", "StatusCodes": [ 204 ], @@ -4703,12 +4585,40 @@ } ], "Protocol": { - "$id": "438" + "$id": "434" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "424" + "$id": "435", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "436", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "437", + "Type": { + "$id": "438", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4726,44 +4636,13 @@ "Parameters": [ { "$id": "441", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "442", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "443", - "Type": { - "$id": "444", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "445", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "446", + "$id": "442", "kind": "constant", "valueType": { - "$id": "447", + "$id": "443", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4785,7 +4664,7 @@ ], "Responses": [ { - "$id": "448", + "$id": "444", "StatusCodes": [ 200 ], @@ -4811,25 +4690,22 @@ "Decorators": [] }, { - "$id": "449", + "$id": "445", "Name": "put", "ResourceName": "ExtendsModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "441" - }, - { - "$id": "450", + "$id": "446", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "451", + "$id": "447", "kind": "constant", "valueType": { - "$id": "452", + "$id": "448", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4849,7 +4725,7 @@ "SkipUrlEncoding": false }, { - "$id": "453", + "$id": "449", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4869,7 +4745,7 @@ ], "Responses": [ { - "$id": "454", + "$id": "450", "StatusCodes": [ 204 ], @@ -4893,12 +4769,40 @@ } ], "Protocol": { - "$id": "455" + "$id": "451" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "441" + "$id": "452", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "453", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "454", + "Type": { + "$id": "455", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4916,44 +4820,13 @@ "Parameters": [ { "$id": "458", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "459", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "460", - "Type": { - "$id": "461", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "462", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "463", + "$id": "459", "kind": "constant", "valueType": { - "$id": "464", + "$id": "460", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4975,7 +4848,7 @@ ], "Responses": [ { - "$id": "465", + "$id": "461", "StatusCodes": [ 200 ], @@ -5001,25 +4874,22 @@ "Decorators": [] }, { - "$id": "466", + "$id": "462", "Name": "put", "ResourceName": "IsModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "458" - }, - { - "$id": "467", + "$id": "463", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "468", + "$id": "464", "kind": "constant", "valueType": { - "$id": "469", + "$id": "465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5039,7 +4909,7 @@ "SkipUrlEncoding": false }, { - "$id": "470", + "$id": "466", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5059,7 +4929,7 @@ ], "Responses": [ { - "$id": "471", + "$id": "467", "StatusCodes": [ 204 ], @@ -5083,12 +4953,40 @@ } ], "Protocol": { - "$id": "472" + "$id": "468" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "458" + "$id": "469", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "470", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "471", + "Type": { + "$id": "472", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5106,44 +5004,13 @@ "Parameters": [ { "$id": "475", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "476", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "477", - "Type": { - "$id": "478", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "479", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "480", + "$id": "476", "kind": "constant", "valueType": { - "$id": "481", + "$id": "477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5165,7 +5032,7 @@ ], "Responses": [ { - "$id": "482", + "$id": "478", "StatusCodes": [ 200 ], @@ -5191,25 +5058,22 @@ "Decorators": [] }, { - "$id": "483", + "$id": "479", "Name": "put", "ResourceName": "SpreadModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "475" - }, - { - "$id": "484", + "$id": "480", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "485", + "$id": "481", "kind": "constant", "valueType": { - "$id": "486", + "$id": "482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5229,7 +5093,7 @@ "SkipUrlEncoding": false }, { - "$id": "487", + "$id": "483", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5249,7 +5113,7 @@ ], "Responses": [ { - "$id": "488", + "$id": "484", "StatusCodes": [ 204 ], @@ -5273,12 +5137,40 @@ } ], "Protocol": { - "$id": "489" + "$id": "485" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "475" + "$id": "486", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "487", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "488", + "Type": { + "$id": "489", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5296,44 +5188,13 @@ "Parameters": [ { "$id": "492", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "493", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "494", - "Type": { - "$id": "495", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "496", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "497", + "$id": "493", "kind": "constant", "valueType": { - "$id": "498", + "$id": "494", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5355,7 +5216,7 @@ ], "Responses": [ { - "$id": "499", + "$id": "495", "StatusCodes": [ 200 ], @@ -5381,25 +5242,22 @@ "Decorators": [] }, { - "$id": "500", + "$id": "496", "Name": "put", "ResourceName": "SpreadDifferentString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "492" - }, - { - "$id": "501", + "$id": "497", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "502", + "$id": "498", "kind": "constant", "valueType": { - "$id": "503", + "$id": "499", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5419,7 +5277,7 @@ "SkipUrlEncoding": false }, { - "$id": "504", + "$id": "500", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5439,7 +5297,7 @@ ], "Responses": [ { - "$id": "505", + "$id": "501", "StatusCodes": [ 204 ], @@ -5463,12 +5321,40 @@ } ], "Protocol": { - "$id": "506" + "$id": "502" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "492" + "$id": "503", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "504", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "505", + "Type": { + "$id": "506", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5486,44 +5372,13 @@ "Parameters": [ { "$id": "509", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "510", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "511", - "Type": { - "$id": "512", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "513", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "514", + "$id": "510", "kind": "constant", "valueType": { - "$id": "515", + "$id": "511", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5545,7 +5400,7 @@ ], "Responses": [ { - "$id": "516", + "$id": "512", "StatusCodes": [ 200 ], @@ -5571,25 +5426,22 @@ "Decorators": [] }, { - "$id": "517", + "$id": "513", "Name": "put", "ResourceName": "SpreadDifferentFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "509" - }, - { - "$id": "518", + "$id": "514", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "519", + "$id": "515", "kind": "constant", "valueType": { - "$id": "520", + "$id": "516", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5609,7 +5461,7 @@ "SkipUrlEncoding": false }, { - "$id": "521", + "$id": "517", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5629,7 +5481,7 @@ ], "Responses": [ { - "$id": "522", + "$id": "518", "StatusCodes": [ 204 ], @@ -5653,12 +5505,40 @@ } ], "Protocol": { - "$id": "523" + "$id": "519" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "509" + "$id": "520", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "521", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "522", + "Type": { + "$id": "523", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5676,44 +5556,13 @@ "Parameters": [ { "$id": "526", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "527", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "528", - "Type": { - "$id": "529", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "530", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "531", + "$id": "527", "kind": "constant", "valueType": { - "$id": "532", + "$id": "528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5735,7 +5584,7 @@ ], "Responses": [ { - "$id": "533", + "$id": "529", "StatusCodes": [ 200 ], @@ -5761,25 +5610,22 @@ "Decorators": [] }, { - "$id": "534", + "$id": "530", "Name": "put", "ResourceName": "SpreadDifferentModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "526" - }, - { - "$id": "535", + "$id": "531", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "536", + "$id": "532", "kind": "constant", "valueType": { - "$id": "537", + "$id": "533", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5799,7 +5645,7 @@ "SkipUrlEncoding": false }, { - "$id": "538", + "$id": "534", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5819,7 +5665,7 @@ ], "Responses": [ { - "$id": "539", + "$id": "535", "StatusCodes": [ 204 ], @@ -5843,12 +5689,40 @@ } ], "Protocol": { - "$id": "540" + "$id": "536" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "526" + "$id": "537", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "538", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "539", + "Type": { + "$id": "540", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5866,44 +5740,13 @@ "Parameters": [ { "$id": "543", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "544", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "545", - "Type": { - "$id": "546", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "547", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "548", + "$id": "544", "kind": "constant", "valueType": { - "$id": "549", + "$id": "545", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5925,7 +5768,7 @@ ], "Responses": [ { - "$id": "550", + "$id": "546", "StatusCodes": [ 200 ], @@ -5951,25 +5794,22 @@ "Decorators": [] }, { - "$id": "551", + "$id": "547", "Name": "put", "ResourceName": "SpreadDifferentModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "543" - }, - { - "$id": "552", + "$id": "548", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "553", + "$id": "549", "kind": "constant", "valueType": { - "$id": "554", + "$id": "550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5989,7 +5829,7 @@ "SkipUrlEncoding": false }, { - "$id": "555", + "$id": "551", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6009,7 +5849,7 @@ ], "Responses": [ { - "$id": "556", + "$id": "552", "StatusCodes": [ 204 ], @@ -6033,12 +5873,40 @@ } ], "Protocol": { - "$id": "557" + "$id": "553" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "543" + "$id": "554", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "555", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "556", + "Type": { + "$id": "557", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6056,44 +5924,13 @@ "Parameters": [ { "$id": "560", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "561", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "562", - "Type": { - "$id": "563", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "564", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "565", + "$id": "561", "kind": "constant", "valueType": { - "$id": "566", + "$id": "562", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6115,7 +5952,7 @@ ], "Responses": [ { - "$id": "567", + "$id": "563", "StatusCodes": [ 200 ], @@ -6141,25 +5978,22 @@ "Decorators": [] }, { - "$id": "568", + "$id": "564", "Name": "put", "ResourceName": "ExtendsDifferentSpreadString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "560" - }, - { - "$id": "569", + "$id": "565", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "570", + "$id": "566", "kind": "constant", "valueType": { - "$id": "571", + "$id": "567", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6179,7 +6013,7 @@ "SkipUrlEncoding": false }, { - "$id": "572", + "$id": "568", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6199,7 +6033,7 @@ ], "Responses": [ { - "$id": "573", + "$id": "569", "StatusCodes": [ 204 ], @@ -6223,12 +6057,40 @@ } ], "Protocol": { - "$id": "574" + "$id": "570" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "560" + "$id": "571", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "572", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "573", + "Type": { + "$id": "574", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6246,44 +6108,13 @@ "Parameters": [ { "$id": "577", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "578", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "579", - "Type": { - "$id": "580", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "581", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "582", + "$id": "578", "kind": "constant", "valueType": { - "$id": "583", + "$id": "579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6305,7 +6136,7 @@ ], "Responses": [ { - "$id": "584", + "$id": "580", "StatusCodes": [ 200 ], @@ -6331,25 +6162,22 @@ "Decorators": [] }, { - "$id": "585", + "$id": "581", "Name": "put", "ResourceName": "ExtendsDifferentSpreadFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "577" - }, - { - "$id": "586", + "$id": "582", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "587", + "$id": "583", "kind": "constant", "valueType": { - "$id": "588", + "$id": "584", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6369,7 +6197,7 @@ "SkipUrlEncoding": false }, { - "$id": "589", + "$id": "585", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6389,7 +6217,7 @@ ], "Responses": [ { - "$id": "590", + "$id": "586", "StatusCodes": [ 204 ], @@ -6413,12 +6241,40 @@ } ], "Protocol": { - "$id": "591" + "$id": "587" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "577" + "$id": "588", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "589", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "590", + "Type": { + "$id": "591", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6436,44 +6292,13 @@ "Parameters": [ { "$id": "594", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "595", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "596", - "Type": { - "$id": "597", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "598", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "599", + "$id": "595", "kind": "constant", "valueType": { - "$id": "600", + "$id": "596", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6495,7 +6320,7 @@ ], "Responses": [ { - "$id": "601", + "$id": "597", "StatusCodes": [ 200 ], @@ -6521,25 +6346,22 @@ "Decorators": [] }, { - "$id": "602", + "$id": "598", "Name": "put", "ResourceName": "ExtendsDifferentSpreadModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "594" - }, - { - "$id": "603", + "$id": "599", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "604", + "$id": "600", "kind": "constant", "valueType": { - "$id": "605", + "$id": "601", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6559,7 +6381,7 @@ "SkipUrlEncoding": false }, { - "$id": "606", + "$id": "602", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6579,7 +6401,7 @@ ], "Responses": [ { - "$id": "607", + "$id": "603", "StatusCodes": [ 204 ], @@ -6603,12 +6425,40 @@ } ], "Protocol": { - "$id": "608" + "$id": "604" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "594" + "$id": "605", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "606", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "607", + "Type": { + "$id": "608", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6626,44 +6476,13 @@ "Parameters": [ { "$id": "611", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "612", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "613", - "Type": { - "$id": "614", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "615", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "616", + "$id": "612", "kind": "constant", "valueType": { - "$id": "617", + "$id": "613", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6685,7 +6504,7 @@ ], "Responses": [ { - "$id": "618", + "$id": "614", "StatusCodes": [ 200 ], @@ -6711,25 +6530,22 @@ "Decorators": [] }, { - "$id": "619", + "$id": "615", "Name": "put", "ResourceName": "ExtendsDifferentSpreadModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "611" - }, - { - "$id": "620", + "$id": "616", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "621", + "$id": "617", "kind": "constant", "valueType": { - "$id": "622", + "$id": "618", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6749,7 +6565,7 @@ "SkipUrlEncoding": false }, { - "$id": "623", + "$id": "619", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6769,7 +6585,7 @@ ], "Responses": [ { - "$id": "624", + "$id": "620", "StatusCodes": [ 204 ], @@ -6793,67 +6609,64 @@ } ], "Protocol": { - "$id": "625" + "$id": "621" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "611" + "$id": "622", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "623", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "624", + "Type": { + "$id": "625", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] }, { - "$id": "626", - "Name": "MultipleSpread", - "Operations": [ - { - "$id": "627", - "Name": "get", - "ResourceName": "MultipleSpread", - "Description": "Get call", - "Accessibility": "public", - "Parameters": [ - { - "$id": "628", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "629", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "630", - "Type": { - "$id": "631", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, + "$id": "626", + "Name": "MultipleSpread", + "Operations": [ + { + "$id": "627", + "Name": "get", + "ResourceName": "MultipleSpread", + "Description": "Get call", + "Accessibility": "public", + "Parameters": [ { - "$id": "632", + "$id": "628", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "633", + "$id": "629", "kind": "constant", "valueType": { - "$id": "634", + "$id": "630", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6875,7 +6688,7 @@ ], "Responses": [ { - "$id": "635", + "$id": "631", "StatusCodes": [ 200 ], @@ -6901,25 +6714,22 @@ "Decorators": [] }, { - "$id": "636", + "$id": "632", "Name": "put", "ResourceName": "MultipleSpread", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "628" - }, - { - "$id": "637", + "$id": "633", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "638", + "$id": "634", "kind": "constant", "valueType": { - "$id": "639", + "$id": "635", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6939,7 +6749,7 @@ "SkipUrlEncoding": false }, { - "$id": "640", + "$id": "636", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6959,7 +6769,7 @@ ], "Responses": [ { - "$id": "641", + "$id": "637", "StatusCodes": [ 204 ], @@ -6983,12 +6793,40 @@ } ], "Protocol": { - "$id": "642" + "$id": "638" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "628" + "$id": "639", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "640", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "641", + "Type": { + "$id": "642", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7006,44 +6844,13 @@ "Parameters": [ { "$id": "645", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "646", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "647", - "Type": { - "$id": "648", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "649", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "650", + "$id": "646", "kind": "constant", "valueType": { - "$id": "651", + "$id": "647", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7065,7 +6872,7 @@ ], "Responses": [ { - "$id": "652", + "$id": "648", "StatusCodes": [ 200 ], @@ -7091,25 +6898,22 @@ "Decorators": [] }, { - "$id": "653", + "$id": "649", "Name": "put", "ResourceName": "SpreadRecordUnion", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "645" - }, - { - "$id": "654", + "$id": "650", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "655", + "$id": "651", "kind": "constant", "valueType": { - "$id": "656", + "$id": "652", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7129,7 +6933,7 @@ "SkipUrlEncoding": false }, { - "$id": "657", + "$id": "653", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7149,7 +6953,7 @@ ], "Responses": [ { - "$id": "658", + "$id": "654", "StatusCodes": [ 204 ], @@ -7173,12 +6977,40 @@ } ], "Protocol": { - "$id": "659" + "$id": "655" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "645" + "$id": "656", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "657", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "658", + "Type": { + "$id": "659", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7196,44 +7028,13 @@ "Parameters": [ { "$id": "662", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "663", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "664", - "Type": { - "$id": "665", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "666", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "667", + "$id": "663", "kind": "constant", "valueType": { - "$id": "668", + "$id": "664", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7255,7 +7056,7 @@ ], "Responses": [ { - "$id": "669", + "$id": "665", "StatusCodes": [ 200 ], @@ -7281,25 +7082,22 @@ "Decorators": [] }, { - "$id": "670", + "$id": "666", "Name": "put", "ResourceName": "SpreadRecordDiscriminatedUnion", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "662" - }, - { - "$id": "671", + "$id": "667", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "672", + "$id": "668", "kind": "constant", "valueType": { - "$id": "673", + "$id": "669", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7319,7 +7117,7 @@ "SkipUrlEncoding": false }, { - "$id": "674", + "$id": "670", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7339,7 +7137,7 @@ ], "Responses": [ { - "$id": "675", + "$id": "671", "StatusCodes": [ 204 ], @@ -7363,12 +7161,40 @@ } ], "Protocol": { - "$id": "676" + "$id": "672" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "662" + "$id": "673", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "674", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "675", + "Type": { + "$id": "676", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7386,44 +7212,13 @@ "Parameters": [ { "$id": "679", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "680", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "681", - "Type": { - "$id": "682", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "683", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "684", + "$id": "680", "kind": "constant", "valueType": { - "$id": "685", + "$id": "681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7445,7 +7240,7 @@ ], "Responses": [ { - "$id": "686", + "$id": "682", "StatusCodes": [ 200 ], @@ -7471,25 +7266,22 @@ "Decorators": [] }, { - "$id": "687", + "$id": "683", "Name": "put", "ResourceName": "SpreadRecordNonDiscriminatedUnion", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "679" - }, - { - "$id": "688", + "$id": "684", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "689", + "$id": "685", "kind": "constant", "valueType": { - "$id": "690", + "$id": "686", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7509,7 +7301,7 @@ "SkipUrlEncoding": false }, { - "$id": "691", + "$id": "687", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7529,7 +7321,7 @@ ], "Responses": [ { - "$id": "692", + "$id": "688", "StatusCodes": [ 204 ], @@ -7553,12 +7345,40 @@ } ], "Protocol": { - "$id": "693" + "$id": "689" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "679" + "$id": "690", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "691", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "692", + "Type": { + "$id": "693", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7576,44 +7396,13 @@ "Parameters": [ { "$id": "696", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "697", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "698", - "Type": { - "$id": "699", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "700", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "701", + "$id": "697", "kind": "constant", "valueType": { - "$id": "702", + "$id": "698", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7635,7 +7424,7 @@ ], "Responses": [ { - "$id": "703", + "$id": "699", "StatusCodes": [ 200 ], @@ -7661,25 +7450,22 @@ "Decorators": [] }, { - "$id": "704", + "$id": "700", "Name": "put", "ResourceName": "SpreadRecordNonDiscriminatedUnion2", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "696" - }, - { - "$id": "705", + "$id": "701", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "706", + "$id": "702", "kind": "constant", "valueType": { - "$id": "707", + "$id": "703", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7699,7 +7485,7 @@ "SkipUrlEncoding": false }, { - "$id": "708", + "$id": "704", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7719,7 +7505,7 @@ ], "Responses": [ { - "$id": "709", + "$id": "705", "StatusCodes": [ 204 ], @@ -7743,12 +7529,40 @@ } ], "Protocol": { - "$id": "710" + "$id": "706" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "696" + "$id": "707", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "708", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "709", + "Type": { + "$id": "710", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7766,44 +7580,13 @@ "Parameters": [ { "$id": "713", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "714", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "715", - "Type": { - "$id": "716", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "717", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "718", + "$id": "714", "kind": "constant", "valueType": { - "$id": "719", + "$id": "715", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7825,7 +7608,7 @@ ], "Responses": [ { - "$id": "720", + "$id": "716", "StatusCodes": [ 200 ], @@ -7851,25 +7634,22 @@ "Decorators": [] }, { - "$id": "721", + "$id": "717", "Name": "put", "ResourceName": "SpreadRecordNonDiscriminatedUnion3", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "713" - }, - { - "$id": "722", + "$id": "718", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "723", + "$id": "719", "kind": "constant", "valueType": { - "$id": "724", + "$id": "720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7889,7 +7669,7 @@ "SkipUrlEncoding": false }, { - "$id": "725", + "$id": "721", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7909,7 +7689,7 @@ ], "Responses": [ { - "$id": "726", + "$id": "722", "StatusCodes": [ 204 ], @@ -7933,12 +7713,40 @@ } ], "Protocol": { - "$id": "727" + "$id": "723" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "713" + "$id": "724", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "725", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "726", + "Type": { + "$id": "727", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/property/nullable/tspCodeModel.json b/test/CadlRanchProjects/type/property/nullable/tspCodeModel.json index 6237886656d..a5874cb31ec 100644 --- a/test/CadlRanchProjects/type/property/nullable/tspCodeModel.json +++ b/test/CadlRanchProjects/type/property/nullable/tspCodeModel.json @@ -513,44 +513,13 @@ "Parameters": [ { "$id": "59", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "60", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "61", - "Type": { - "$id": "62", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "63", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "64", + "$id": "60", "kind": "constant", "valueType": { - "$id": "65", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -572,7 +541,7 @@ ], "Responses": [ { - "$id": "66", + "$id": "62", "StatusCodes": [ 200 ], @@ -598,24 +567,21 @@ "Decorators": [] }, { - "$id": "67", + "$id": "63", "Name": "getNull", "ResourceName": "String", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "59" - }, - { - "$id": "68", + "$id": "64", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "69", + "$id": "65", "kind": "constant", "valueType": { - "$id": "70", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -637,7 +603,7 @@ ], "Responses": [ { - "$id": "71", + "$id": "67", "StatusCodes": [ 200 ], @@ -663,25 +629,22 @@ "Decorators": [] }, { - "$id": "72", + "$id": "68", "Name": "patchNonNull", "ResourceName": "String", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "59" - }, - { - "$id": "73", + "$id": "69", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "74", + "$id": "70", "kind": "constant", "valueType": { - "$id": "75", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -701,7 +664,7 @@ "SkipUrlEncoding": false }, { - "$id": "76", + "$id": "72", "Name": "body", "NameInRequest": "body", "Type": { @@ -720,7 +683,7 @@ ], "Responses": [ { - "$id": "77", + "$id": "73", "StatusCodes": [ 204 ], @@ -743,25 +706,22 @@ "Decorators": [] }, { - "$id": "78", + "$id": "74", "Name": "patchNull", "ResourceName": "String", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "59" - }, - { - "$id": "79", + "$id": "75", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "80", + "$id": "76", "kind": "constant", "valueType": { - "$id": "81", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -781,7 +741,7 @@ "SkipUrlEncoding": false }, { - "$id": "82", + "$id": "78", "Name": "body", "NameInRequest": "body", "Type": { @@ -800,7 +760,7 @@ ], "Responses": [ { - "$id": "83", + "$id": "79", "StatusCodes": [ 204 ], @@ -824,12 +784,40 @@ } ], "Protocol": { - "$id": "84" + "$id": "80" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "59" + "$id": "81", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "82", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "83", + "Type": { + "$id": "84", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -847,44 +835,13 @@ "Parameters": [ { "$id": "87", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "88", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "89", - "Type": { - "$id": "90", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "91", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "92", + "$id": "88", "kind": "constant", "valueType": { - "$id": "93", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -906,7 +863,7 @@ ], "Responses": [ { - "$id": "94", + "$id": "90", "StatusCodes": [ 200 ], @@ -932,24 +889,21 @@ "Decorators": [] }, { - "$id": "95", + "$id": "91", "Name": "getNull", "ResourceName": "Bytes", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "96", + "$id": "92", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "97", + "$id": "93", "kind": "constant", "valueType": { - "$id": "98", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -971,7 +925,7 @@ ], "Responses": [ { - "$id": "99", + "$id": "95", "StatusCodes": [ 200 ], @@ -997,25 +951,22 @@ "Decorators": [] }, { - "$id": "100", + "$id": "96", "Name": "patchNonNull", "ResourceName": "Bytes", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "101", + "$id": "97", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "102", + "$id": "98", "kind": "constant", "valueType": { - "$id": "103", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1035,7 +986,7 @@ "SkipUrlEncoding": false }, { - "$id": "104", + "$id": "100", "Name": "body", "NameInRequest": "body", "Type": { @@ -1054,7 +1005,7 @@ ], "Responses": [ { - "$id": "105", + "$id": "101", "StatusCodes": [ 204 ], @@ -1077,25 +1028,22 @@ "Decorators": [] }, { - "$id": "106", + "$id": "102", "Name": "patchNull", "ResourceName": "Bytes", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "107", + "$id": "103", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "108", + "$id": "104", "kind": "constant", "valueType": { - "$id": "109", + "$id": "105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1115,7 +1063,7 @@ "SkipUrlEncoding": false }, { - "$id": "110", + "$id": "106", "Name": "body", "NameInRequest": "body", "Type": { @@ -1134,7 +1082,7 @@ ], "Responses": [ { - "$id": "111", + "$id": "107", "StatusCodes": [ 204 ], @@ -1158,12 +1106,40 @@ } ], "Protocol": { - "$id": "112" + "$id": "108" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "87" + "$id": "109", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "110", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "111", + "Type": { + "$id": "112", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1181,44 +1157,13 @@ "Parameters": [ { "$id": "115", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "116", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "117", - "Type": { - "$id": "118", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "119", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "120", + "$id": "116", "kind": "constant", "valueType": { - "$id": "121", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1240,7 +1185,7 @@ ], "Responses": [ { - "$id": "122", + "$id": "118", "StatusCodes": [ 200 ], @@ -1266,24 +1211,21 @@ "Decorators": [] }, { - "$id": "123", + "$id": "119", "Name": "getNull", "ResourceName": "Datetime", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "115" - }, - { - "$id": "124", + "$id": "120", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "125", + "$id": "121", "kind": "constant", "valueType": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1305,7 +1247,7 @@ ], "Responses": [ { - "$id": "127", + "$id": "123", "StatusCodes": [ 200 ], @@ -1331,25 +1273,22 @@ "Decorators": [] }, { - "$id": "128", + "$id": "124", "Name": "patchNonNull", "ResourceName": "Datetime", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "115" - }, - { - "$id": "129", + "$id": "125", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "130", + "$id": "126", "kind": "constant", "valueType": { - "$id": "131", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1369,7 +1308,7 @@ "SkipUrlEncoding": false }, { - "$id": "132", + "$id": "128", "Name": "body", "NameInRequest": "body", "Type": { @@ -1388,7 +1327,7 @@ ], "Responses": [ { - "$id": "133", + "$id": "129", "StatusCodes": [ 204 ], @@ -1411,25 +1350,22 @@ "Decorators": [] }, { - "$id": "134", + "$id": "130", "Name": "patchNull", "ResourceName": "Datetime", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "115" - }, - { - "$id": "135", + "$id": "131", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "136", + "$id": "132", "kind": "constant", "valueType": { - "$id": "137", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1449,7 +1385,7 @@ "SkipUrlEncoding": false }, { - "$id": "138", + "$id": "134", "Name": "body", "NameInRequest": "body", "Type": { @@ -1468,7 +1404,7 @@ ], "Responses": [ { - "$id": "139", + "$id": "135", "StatusCodes": [ 204 ], @@ -1492,12 +1428,40 @@ } ], "Protocol": { - "$id": "140" + "$id": "136" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "115" + "$id": "137", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "138", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "139", + "Type": { + "$id": "140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1515,44 +1479,13 @@ "Parameters": [ { "$id": "143", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "144", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "145", - "Type": { - "$id": "146", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "147", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "148", + "$id": "144", "kind": "constant", "valueType": { - "$id": "149", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1574,7 +1507,7 @@ ], "Responses": [ { - "$id": "150", + "$id": "146", "StatusCodes": [ 200 ], @@ -1600,24 +1533,21 @@ "Decorators": [] }, { - "$id": "151", + "$id": "147", "Name": "getNull", "ResourceName": "Duration", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "143" - }, - { - "$id": "152", + "$id": "148", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "153", + "$id": "149", "kind": "constant", "valueType": { - "$id": "154", + "$id": "150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1639,7 +1569,7 @@ ], "Responses": [ { - "$id": "155", + "$id": "151", "StatusCodes": [ 200 ], @@ -1665,25 +1595,22 @@ "Decorators": [] }, { - "$id": "156", + "$id": "152", "Name": "patchNonNull", "ResourceName": "Duration", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "143" - }, - { - "$id": "157", + "$id": "153", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "158", + "$id": "154", "kind": "constant", "valueType": { - "$id": "159", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1703,7 +1630,7 @@ "SkipUrlEncoding": false }, { - "$id": "160", + "$id": "156", "Name": "body", "NameInRequest": "body", "Type": { @@ -1722,7 +1649,7 @@ ], "Responses": [ { - "$id": "161", + "$id": "157", "StatusCodes": [ 204 ], @@ -1745,25 +1672,22 @@ "Decorators": [] }, { - "$id": "162", + "$id": "158", "Name": "patchNull", "ResourceName": "Duration", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "143" - }, - { - "$id": "163", + "$id": "159", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "164", + "$id": "160", "kind": "constant", "valueType": { - "$id": "165", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1783,7 +1707,7 @@ "SkipUrlEncoding": false }, { - "$id": "166", + "$id": "162", "Name": "body", "NameInRequest": "body", "Type": { @@ -1802,7 +1726,7 @@ ], "Responses": [ { - "$id": "167", + "$id": "163", "StatusCodes": [ 204 ], @@ -1826,12 +1750,40 @@ } ], "Protocol": { - "$id": "168" + "$id": "164" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "143" + "$id": "165", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "166", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "167", + "Type": { + "$id": "168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1849,44 +1801,13 @@ "Parameters": [ { "$id": "171", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "172", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "173", - "Type": { - "$id": "174", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "175", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "176", + "$id": "172", "kind": "constant", "valueType": { - "$id": "177", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1908,7 +1829,7 @@ ], "Responses": [ { - "$id": "178", + "$id": "174", "StatusCodes": [ 200 ], @@ -1934,24 +1855,21 @@ "Decorators": [] }, { - "$id": "179", + "$id": "175", "Name": "getNull", "ResourceName": "CollectionsByte", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "171" - }, - { - "$id": "180", + "$id": "176", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "181", + "$id": "177", "kind": "constant", "valueType": { - "$id": "182", + "$id": "178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1973,7 +1891,7 @@ ], "Responses": [ { - "$id": "183", + "$id": "179", "StatusCodes": [ 200 ], @@ -1999,25 +1917,22 @@ "Decorators": [] }, { - "$id": "184", + "$id": "180", "Name": "patchNonNull", "ResourceName": "CollectionsByte", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "171" - }, - { - "$id": "185", + "$id": "181", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "186", + "$id": "182", "kind": "constant", "valueType": { - "$id": "187", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2037,7 +1952,7 @@ "SkipUrlEncoding": false }, { - "$id": "188", + "$id": "184", "Name": "body", "NameInRequest": "body", "Type": { @@ -2056,7 +1971,7 @@ ], "Responses": [ { - "$id": "189", + "$id": "185", "StatusCodes": [ 204 ], @@ -2079,25 +1994,22 @@ "Decorators": [] }, { - "$id": "190", + "$id": "186", "Name": "patchNull", "ResourceName": "CollectionsByte", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "171" - }, - { - "$id": "191", + "$id": "187", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "192", + "$id": "188", "kind": "constant", "valueType": { - "$id": "193", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2117,7 +2029,7 @@ "SkipUrlEncoding": false }, { - "$id": "194", + "$id": "190", "Name": "body", "NameInRequest": "body", "Type": { @@ -2136,7 +2048,7 @@ ], "Responses": [ { - "$id": "195", + "$id": "191", "StatusCodes": [ 204 ], @@ -2160,12 +2072,40 @@ } ], "Protocol": { - "$id": "196" + "$id": "192" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "171" + "$id": "193", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "194", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "195", + "Type": { + "$id": "196", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2183,44 +2123,13 @@ "Parameters": [ { "$id": "199", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "200", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "201", - "Type": { - "$id": "202", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "203", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "204", + "$id": "200", "kind": "constant", "valueType": { - "$id": "205", + "$id": "201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2242,7 +2151,7 @@ ], "Responses": [ { - "$id": "206", + "$id": "202", "StatusCodes": [ 200 ], @@ -2268,24 +2177,21 @@ "Decorators": [] }, { - "$id": "207", + "$id": "203", "Name": "getNull", "ResourceName": "CollectionsModel", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "199" - }, - { - "$id": "208", + "$id": "204", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "209", + "$id": "205", "kind": "constant", "valueType": { - "$id": "210", + "$id": "206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2307,7 +2213,7 @@ ], "Responses": [ { - "$id": "211", + "$id": "207", "StatusCodes": [ 200 ], @@ -2333,25 +2239,22 @@ "Decorators": [] }, { - "$id": "212", + "$id": "208", "Name": "patchNonNull", "ResourceName": "CollectionsModel", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "199" - }, - { - "$id": "213", + "$id": "209", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "214", + "$id": "210", "kind": "constant", "valueType": { - "$id": "215", + "$id": "211", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2371,7 +2274,7 @@ "SkipUrlEncoding": false }, { - "$id": "216", + "$id": "212", "Name": "body", "NameInRequest": "body", "Type": { @@ -2390,7 +2293,7 @@ ], "Responses": [ { - "$id": "217", + "$id": "213", "StatusCodes": [ 204 ], @@ -2413,25 +2316,22 @@ "Decorators": [] }, { - "$id": "218", + "$id": "214", "Name": "patchNull", "ResourceName": "CollectionsModel", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "199" - }, - { - "$id": "219", + "$id": "215", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "220", + "$id": "216", "kind": "constant", "valueType": { - "$id": "221", + "$id": "217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2451,7 +2351,7 @@ "SkipUrlEncoding": false }, { - "$id": "222", + "$id": "218", "Name": "body", "NameInRequest": "body", "Type": { @@ -2470,7 +2370,7 @@ ], "Responses": [ { - "$id": "223", + "$id": "219", "StatusCodes": [ 204 ], @@ -2494,12 +2394,40 @@ } ], "Protocol": { - "$id": "224" + "$id": "220" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "199" + "$id": "221", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "222", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "223", + "Type": { + "$id": "224", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2517,44 +2445,13 @@ "Parameters": [ { "$id": "227", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "228", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "229", - "Type": { - "$id": "230", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "231", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "232", + "$id": "228", "kind": "constant", "valueType": { - "$id": "233", + "$id": "229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2576,7 +2473,7 @@ ], "Responses": [ { - "$id": "234", + "$id": "230", "StatusCodes": [ 200 ], @@ -2602,24 +2499,21 @@ "Decorators": [] }, { - "$id": "235", + "$id": "231", "Name": "getNull", "ResourceName": "CollectionsString", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "227" - }, - { - "$id": "236", + "$id": "232", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "237", + "$id": "233", "kind": "constant", "valueType": { - "$id": "238", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2641,7 +2535,7 @@ ], "Responses": [ { - "$id": "239", + "$id": "235", "StatusCodes": [ 200 ], @@ -2667,25 +2561,22 @@ "Decorators": [] }, { - "$id": "240", + "$id": "236", "Name": "patchNonNull", "ResourceName": "CollectionsString", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "227" - }, - { - "$id": "241", + "$id": "237", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "242", + "$id": "238", "kind": "constant", "valueType": { - "$id": "243", + "$id": "239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2705,7 +2596,7 @@ "SkipUrlEncoding": false }, { - "$id": "244", + "$id": "240", "Name": "body", "NameInRequest": "body", "Type": { @@ -2724,7 +2615,7 @@ ], "Responses": [ { - "$id": "245", + "$id": "241", "StatusCodes": [ 204 ], @@ -2747,25 +2638,22 @@ "Decorators": [] }, { - "$id": "246", + "$id": "242", "Name": "patchNull", "ResourceName": "CollectionsString", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "227" - }, - { - "$id": "247", + "$id": "243", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "248", + "$id": "244", "kind": "constant", "valueType": { - "$id": "249", + "$id": "245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2785,7 +2673,7 @@ "SkipUrlEncoding": false }, { - "$id": "250", + "$id": "246", "Name": "body", "NameInRequest": "body", "Type": { @@ -2804,7 +2692,7 @@ ], "Responses": [ { - "$id": "251", + "$id": "247", "StatusCodes": [ 204 ], @@ -2828,12 +2716,40 @@ } ], "Protocol": { - "$id": "252" + "$id": "248" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "227" + "$id": "249", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "250", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "251", + "Type": { + "$id": "252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/property/optionality/tspCodeModel.json b/test/CadlRanchProjects/type/property/optionality/tspCodeModel.json index 807e031246f..b19bdfff08b 100644 --- a/test/CadlRanchProjects/type/property/optionality/tspCodeModel.json +++ b/test/CadlRanchProjects/type/property/optionality/tspCodeModel.json @@ -865,44 +865,13 @@ "Parameters": [ { "$id": "88", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "89", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "90", - "Type": { - "$id": "91", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "92", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "93", + "$id": "89", "kind": "constant", "valueType": { - "$id": "94", + "$id": "90", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -924,7 +893,7 @@ ], "Responses": [ { - "$id": "95", + "$id": "91", "StatusCodes": [ 200 ], @@ -950,24 +919,21 @@ "Decorators": [] }, { - "$id": "96", + "$id": "92", "Name": "getDefault", "ResourceName": "String", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "88" - }, - { - "$id": "97", + "$id": "93", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "98", + "$id": "94", "kind": "constant", "valueType": { - "$id": "99", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -989,7 +955,7 @@ ], "Responses": [ { - "$id": "100", + "$id": "96", "StatusCodes": [ 200 ], @@ -1015,25 +981,22 @@ "Decorators": [] }, { - "$id": "101", + "$id": "97", "Name": "putAll", "ResourceName": "String", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "88" - }, - { - "$id": "102", + "$id": "98", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "103", + "$id": "99", "kind": "constant", "valueType": { - "$id": "104", + "$id": "100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1053,7 +1016,7 @@ "SkipUrlEncoding": false }, { - "$id": "105", + "$id": "101", "Name": "body", "NameInRequest": "body", "Type": { @@ -1072,7 +1035,7 @@ ], "Responses": [ { - "$id": "106", + "$id": "102", "StatusCodes": [ 204 ], @@ -1095,25 +1058,22 @@ "Decorators": [] }, { - "$id": "107", + "$id": "103", "Name": "putDefault", "ResourceName": "String", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "88" - }, - { - "$id": "108", + "$id": "104", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "109", + "$id": "105", "kind": "constant", "valueType": { - "$id": "110", + "$id": "106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1133,7 +1093,7 @@ "SkipUrlEncoding": false }, { - "$id": "111", + "$id": "107", "Name": "body", "NameInRequest": "body", "Type": { @@ -1152,7 +1112,7 @@ ], "Responses": [ { - "$id": "112", + "$id": "108", "StatusCodes": [ 204 ], @@ -1176,12 +1136,40 @@ } ], "Protocol": { - "$id": "113" + "$id": "109" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "88" + "$id": "110", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "111", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "112", + "Type": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1199,44 +1187,13 @@ "Parameters": [ { "$id": "116", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "117", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "118", - "Type": { - "$id": "119", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "120", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "121", + "$id": "117", "kind": "constant", "valueType": { - "$id": "122", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1258,7 +1215,7 @@ ], "Responses": [ { - "$id": "123", + "$id": "119", "StatusCodes": [ 200 ], @@ -1284,24 +1241,21 @@ "Decorators": [] }, { - "$id": "124", + "$id": "120", "Name": "getDefault", "ResourceName": "Bytes", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "116" - }, - { - "$id": "125", + "$id": "121", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "126", + "$id": "122", "kind": "constant", "valueType": { - "$id": "127", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1323,7 +1277,7 @@ ], "Responses": [ { - "$id": "128", + "$id": "124", "StatusCodes": [ 200 ], @@ -1349,25 +1303,22 @@ "Decorators": [] }, { - "$id": "129", + "$id": "125", "Name": "putAll", "ResourceName": "Bytes", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "116" - }, - { - "$id": "130", + "$id": "126", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "131", + "$id": "127", "kind": "constant", "valueType": { - "$id": "132", + "$id": "128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1387,7 +1338,7 @@ "SkipUrlEncoding": false }, { - "$id": "133", + "$id": "129", "Name": "body", "NameInRequest": "body", "Type": { @@ -1406,7 +1357,7 @@ ], "Responses": [ { - "$id": "134", + "$id": "130", "StatusCodes": [ 204 ], @@ -1429,25 +1380,22 @@ "Decorators": [] }, { - "$id": "135", + "$id": "131", "Name": "putDefault", "ResourceName": "Bytes", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "116" - }, - { - "$id": "136", + "$id": "132", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "137", + "$id": "133", "kind": "constant", "valueType": { - "$id": "138", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1467,7 +1415,7 @@ "SkipUrlEncoding": false }, { - "$id": "139", + "$id": "135", "Name": "body", "NameInRequest": "body", "Type": { @@ -1486,7 +1434,7 @@ ], "Responses": [ { - "$id": "140", + "$id": "136", "StatusCodes": [ 204 ], @@ -1510,12 +1458,40 @@ } ], "Protocol": { - "$id": "141" + "$id": "137" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "116" + "$id": "138", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "139", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "140", + "Type": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1533,44 +1509,13 @@ "Parameters": [ { "$id": "144", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "145", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "146", - "Type": { - "$id": "147", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "148", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "149", + "$id": "145", "kind": "constant", "valueType": { - "$id": "150", + "$id": "146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1592,7 +1537,7 @@ ], "Responses": [ { - "$id": "151", + "$id": "147", "StatusCodes": [ 200 ], @@ -1618,24 +1563,21 @@ "Decorators": [] }, { - "$id": "152", + "$id": "148", "Name": "getDefault", "ResourceName": "Datetime", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "144" - }, - { - "$id": "153", + "$id": "149", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "154", + "$id": "150", "kind": "constant", "valueType": { - "$id": "155", + "$id": "151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1657,7 +1599,7 @@ ], "Responses": [ { - "$id": "156", + "$id": "152", "StatusCodes": [ 200 ], @@ -1683,25 +1625,22 @@ "Decorators": [] }, { - "$id": "157", + "$id": "153", "Name": "putAll", "ResourceName": "Datetime", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "144" - }, - { - "$id": "158", + "$id": "154", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "159", + "$id": "155", "kind": "constant", "valueType": { - "$id": "160", + "$id": "156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1721,7 +1660,7 @@ "SkipUrlEncoding": false }, { - "$id": "161", + "$id": "157", "Name": "body", "NameInRequest": "body", "Type": { @@ -1740,7 +1679,7 @@ ], "Responses": [ { - "$id": "162", + "$id": "158", "StatusCodes": [ 204 ], @@ -1763,25 +1702,22 @@ "Decorators": [] }, { - "$id": "163", + "$id": "159", "Name": "putDefault", "ResourceName": "Datetime", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "144" - }, - { - "$id": "164", + "$id": "160", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "165", + "$id": "161", "kind": "constant", "valueType": { - "$id": "166", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1801,7 +1737,7 @@ "SkipUrlEncoding": false }, { - "$id": "167", + "$id": "163", "Name": "body", "NameInRequest": "body", "Type": { @@ -1820,7 +1756,7 @@ ], "Responses": [ { - "$id": "168", + "$id": "164", "StatusCodes": [ 204 ], @@ -1844,12 +1780,40 @@ } ], "Protocol": { - "$id": "169" + "$id": "165" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "144" + "$id": "166", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "167", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "168", + "Type": { + "$id": "169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1867,44 +1831,13 @@ "Parameters": [ { "$id": "172", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "173", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "174", - "Type": { - "$id": "175", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "176", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "177", + "$id": "173", "kind": "constant", "valueType": { - "$id": "178", + "$id": "174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1926,7 +1859,7 @@ ], "Responses": [ { - "$id": "179", + "$id": "175", "StatusCodes": [ 200 ], @@ -1952,24 +1885,21 @@ "Decorators": [] }, { - "$id": "180", + "$id": "176", "Name": "getDefault", "ResourceName": "Duration", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "172" - }, - { - "$id": "181", + "$id": "177", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "182", + "$id": "178", "kind": "constant", "valueType": { - "$id": "183", + "$id": "179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1991,7 +1921,7 @@ ], "Responses": [ { - "$id": "184", + "$id": "180", "StatusCodes": [ 200 ], @@ -2017,25 +1947,22 @@ "Decorators": [] }, { - "$id": "185", + "$id": "181", "Name": "putAll", "ResourceName": "Duration", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "172" - }, - { - "$id": "186", + "$id": "182", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "187", + "$id": "183", "kind": "constant", "valueType": { - "$id": "188", + "$id": "184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2055,7 +1982,7 @@ "SkipUrlEncoding": false }, { - "$id": "189", + "$id": "185", "Name": "body", "NameInRequest": "body", "Type": { @@ -2074,7 +2001,7 @@ ], "Responses": [ { - "$id": "190", + "$id": "186", "StatusCodes": [ 204 ], @@ -2097,25 +2024,22 @@ "Decorators": [] }, { - "$id": "191", + "$id": "187", "Name": "putDefault", "ResourceName": "Duration", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "172" - }, - { - "$id": "192", + "$id": "188", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "193", + "$id": "189", "kind": "constant", "valueType": { - "$id": "194", + "$id": "190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2135,7 +2059,7 @@ "SkipUrlEncoding": false }, { - "$id": "195", + "$id": "191", "Name": "body", "NameInRequest": "body", "Type": { @@ -2154,7 +2078,7 @@ ], "Responses": [ { - "$id": "196", + "$id": "192", "StatusCodes": [ 204 ], @@ -2178,12 +2102,40 @@ } ], "Protocol": { - "$id": "197" + "$id": "193" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "172" + "$id": "194", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "195", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "196", + "Type": { + "$id": "197", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2201,44 +2153,13 @@ "Parameters": [ { "$id": "200", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "201", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "202", - "Type": { - "$id": "203", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "204", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "205", + "$id": "201", "kind": "constant", "valueType": { - "$id": "206", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2260,7 +2181,7 @@ ], "Responses": [ { - "$id": "207", + "$id": "203", "StatusCodes": [ 200 ], @@ -2286,24 +2207,21 @@ "Decorators": [] }, { - "$id": "208", + "$id": "204", "Name": "getDefault", "ResourceName": "PlainDate", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "200" - }, - { - "$id": "209", + "$id": "205", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "210", + "$id": "206", "kind": "constant", "valueType": { - "$id": "211", + "$id": "207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2325,7 +2243,7 @@ ], "Responses": [ { - "$id": "212", + "$id": "208", "StatusCodes": [ 200 ], @@ -2351,25 +2269,22 @@ "Decorators": [] }, { - "$id": "213", + "$id": "209", "Name": "putAll", "ResourceName": "PlainDate", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "200" - }, - { - "$id": "214", + "$id": "210", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "215", + "$id": "211", "kind": "constant", "valueType": { - "$id": "216", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2389,7 +2304,7 @@ "SkipUrlEncoding": false }, { - "$id": "217", + "$id": "213", "Name": "body", "NameInRequest": "body", "Type": { @@ -2408,7 +2323,7 @@ ], "Responses": [ { - "$id": "218", + "$id": "214", "StatusCodes": [ 204 ], @@ -2431,25 +2346,22 @@ "Decorators": [] }, { - "$id": "219", + "$id": "215", "Name": "putDefault", "ResourceName": "PlainDate", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "200" - }, - { - "$id": "220", + "$id": "216", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "221", + "$id": "217", "kind": "constant", "valueType": { - "$id": "222", + "$id": "218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2469,7 +2381,7 @@ "SkipUrlEncoding": false }, { - "$id": "223", + "$id": "219", "Name": "body", "NameInRequest": "body", "Type": { @@ -2488,7 +2400,7 @@ ], "Responses": [ { - "$id": "224", + "$id": "220", "StatusCodes": [ 204 ], @@ -2512,12 +2424,40 @@ } ], "Protocol": { - "$id": "225" + "$id": "221" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "200" + "$id": "222", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "223", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "224", + "Type": { + "$id": "225", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2535,44 +2475,13 @@ "Parameters": [ { "$id": "228", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "229", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "230", - "Type": { - "$id": "231", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "232", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "233", + "$id": "229", "kind": "constant", "valueType": { - "$id": "234", + "$id": "230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2594,7 +2503,7 @@ ], "Responses": [ { - "$id": "235", + "$id": "231", "StatusCodes": [ 200 ], @@ -2620,24 +2529,21 @@ "Decorators": [] }, { - "$id": "236", + "$id": "232", "Name": "getDefault", "ResourceName": "PlainTime", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "228" - }, - { - "$id": "237", + "$id": "233", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "238", + "$id": "234", "kind": "constant", "valueType": { - "$id": "239", + "$id": "235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2659,7 +2565,7 @@ ], "Responses": [ { - "$id": "240", + "$id": "236", "StatusCodes": [ 200 ], @@ -2685,25 +2591,22 @@ "Decorators": [] }, { - "$id": "241", + "$id": "237", "Name": "putAll", "ResourceName": "PlainTime", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "228" - }, - { - "$id": "242", + "$id": "238", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "243", + "$id": "239", "kind": "constant", "valueType": { - "$id": "244", + "$id": "240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2723,7 +2626,7 @@ "SkipUrlEncoding": false }, { - "$id": "245", + "$id": "241", "Name": "body", "NameInRequest": "body", "Type": { @@ -2742,7 +2645,7 @@ ], "Responses": [ { - "$id": "246", + "$id": "242", "StatusCodes": [ 204 ], @@ -2765,25 +2668,22 @@ "Decorators": [] }, { - "$id": "247", + "$id": "243", "Name": "putDefault", "ResourceName": "PlainTime", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "228" - }, - { - "$id": "248", + "$id": "244", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "249", + "$id": "245", "kind": "constant", "valueType": { - "$id": "250", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2803,7 +2703,7 @@ "SkipUrlEncoding": false }, { - "$id": "251", + "$id": "247", "Name": "body", "NameInRequest": "body", "Type": { @@ -2822,7 +2722,7 @@ ], "Responses": [ { - "$id": "252", + "$id": "248", "StatusCodes": [ 204 ], @@ -2846,12 +2746,40 @@ } ], "Protocol": { - "$id": "253" + "$id": "249" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "228" + "$id": "250", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "251", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "252", + "Type": { + "$id": "253", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2869,44 +2797,13 @@ "Parameters": [ { "$id": "256", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "257", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "258", - "Type": { - "$id": "259", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "260", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "261", + "$id": "257", "kind": "constant", "valueType": { - "$id": "262", + "$id": "258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2928,7 +2825,7 @@ ], "Responses": [ { - "$id": "263", + "$id": "259", "StatusCodes": [ 200 ], @@ -2954,24 +2851,21 @@ "Decorators": [] }, { - "$id": "264", + "$id": "260", "Name": "getDefault", "ResourceName": "CollectionsByte", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "256" - }, - { - "$id": "265", + "$id": "261", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "266", + "$id": "262", "kind": "constant", "valueType": { - "$id": "267", + "$id": "263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2993,7 +2887,7 @@ ], "Responses": [ { - "$id": "268", + "$id": "264", "StatusCodes": [ 200 ], @@ -3019,25 +2913,22 @@ "Decorators": [] }, { - "$id": "269", + "$id": "265", "Name": "putAll", "ResourceName": "CollectionsByte", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "256" - }, - { - "$id": "270", + "$id": "266", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "271", + "$id": "267", "kind": "constant", "valueType": { - "$id": "272", + "$id": "268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3057,7 +2948,7 @@ "SkipUrlEncoding": false }, { - "$id": "273", + "$id": "269", "Name": "body", "NameInRequest": "body", "Type": { @@ -3076,7 +2967,7 @@ ], "Responses": [ { - "$id": "274", + "$id": "270", "StatusCodes": [ 204 ], @@ -3099,25 +2990,22 @@ "Decorators": [] }, { - "$id": "275", + "$id": "271", "Name": "putDefault", "ResourceName": "CollectionsByte", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "256" - }, - { - "$id": "276", + "$id": "272", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "277", + "$id": "273", "kind": "constant", "valueType": { - "$id": "278", + "$id": "274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3137,7 +3025,7 @@ "SkipUrlEncoding": false }, { - "$id": "279", + "$id": "275", "Name": "body", "NameInRequest": "body", "Type": { @@ -3156,7 +3044,7 @@ ], "Responses": [ { - "$id": "280", + "$id": "276", "StatusCodes": [ 204 ], @@ -3180,12 +3068,40 @@ } ], "Protocol": { - "$id": "281" + "$id": "277" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "256" + "$id": "278", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "279", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "280", + "Type": { + "$id": "281", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3203,44 +3119,13 @@ "Parameters": [ { "$id": "284", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "285", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "286", - "Type": { - "$id": "287", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "288", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "289", + "$id": "285", "kind": "constant", "valueType": { - "$id": "290", + "$id": "286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3262,7 +3147,7 @@ ], "Responses": [ { - "$id": "291", + "$id": "287", "StatusCodes": [ 200 ], @@ -3288,24 +3173,21 @@ "Decorators": [] }, { - "$id": "292", + "$id": "288", "Name": "getDefault", "ResourceName": "CollectionsModel", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "284" - }, - { - "$id": "293", + "$id": "289", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "294", + "$id": "290", "kind": "constant", "valueType": { - "$id": "295", + "$id": "291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3327,7 +3209,7 @@ ], "Responses": [ { - "$id": "296", + "$id": "292", "StatusCodes": [ 200 ], @@ -3353,25 +3235,22 @@ "Decorators": [] }, { - "$id": "297", + "$id": "293", "Name": "putAll", "ResourceName": "CollectionsModel", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "284" - }, - { - "$id": "298", + "$id": "294", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "299", + "$id": "295", "kind": "constant", "valueType": { - "$id": "300", + "$id": "296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3391,7 +3270,7 @@ "SkipUrlEncoding": false }, { - "$id": "301", + "$id": "297", "Name": "body", "NameInRequest": "body", "Type": { @@ -3410,7 +3289,7 @@ ], "Responses": [ { - "$id": "302", + "$id": "298", "StatusCodes": [ 204 ], @@ -3433,25 +3312,22 @@ "Decorators": [] }, { - "$id": "303", + "$id": "299", "Name": "putDefault", "ResourceName": "CollectionsModel", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "284" - }, - { - "$id": "304", + "$id": "300", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "305", + "$id": "301", "kind": "constant", "valueType": { - "$id": "306", + "$id": "302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3471,7 +3347,7 @@ "SkipUrlEncoding": false }, { - "$id": "307", + "$id": "303", "Name": "body", "NameInRequest": "body", "Type": { @@ -3490,7 +3366,7 @@ ], "Responses": [ { - "$id": "308", + "$id": "304", "StatusCodes": [ 204 ], @@ -3514,12 +3390,40 @@ } ], "Protocol": { - "$id": "309" + "$id": "305" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "284" + "$id": "306", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "307", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "308", + "Type": { + "$id": "309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3537,44 +3441,13 @@ "Parameters": [ { "$id": "312", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "313", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "314", - "Type": { - "$id": "315", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "316", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "317", + "$id": "313", "kind": "constant", "valueType": { - "$id": "318", + "$id": "314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3596,7 +3469,7 @@ ], "Responses": [ { - "$id": "319", + "$id": "315", "StatusCodes": [ 200 ], @@ -3622,24 +3495,21 @@ "Decorators": [] }, { - "$id": "320", + "$id": "316", "Name": "getDefault", "ResourceName": "StringLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "312" - }, - { - "$id": "321", + "$id": "317", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "322", + "$id": "318", "kind": "constant", "valueType": { - "$id": "323", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3661,7 +3531,7 @@ ], "Responses": [ { - "$id": "324", + "$id": "320", "StatusCodes": [ 200 ], @@ -3687,25 +3557,22 @@ "Decorators": [] }, { - "$id": "325", + "$id": "321", "Name": "putAll", "ResourceName": "StringLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "312" - }, - { - "$id": "326", + "$id": "322", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "327", + "$id": "323", "kind": "constant", "valueType": { - "$id": "328", + "$id": "324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3725,7 +3592,7 @@ "SkipUrlEncoding": false }, { - "$id": "329", + "$id": "325", "Name": "body", "NameInRequest": "body", "Type": { @@ -3744,7 +3611,7 @@ ], "Responses": [ { - "$id": "330", + "$id": "326", "StatusCodes": [ 204 ], @@ -3767,25 +3634,22 @@ "Decorators": [] }, { - "$id": "331", + "$id": "327", "Name": "putDefault", "ResourceName": "StringLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "312" - }, - { - "$id": "332", + "$id": "328", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "333", + "$id": "329", "kind": "constant", "valueType": { - "$id": "334", + "$id": "330", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3805,7 +3669,7 @@ "SkipUrlEncoding": false }, { - "$id": "335", + "$id": "331", "Name": "body", "NameInRequest": "body", "Type": { @@ -3824,7 +3688,7 @@ ], "Responses": [ { - "$id": "336", + "$id": "332", "StatusCodes": [ 204 ], @@ -3848,12 +3712,40 @@ } ], "Protocol": { - "$id": "337" + "$id": "333" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "312" + "$id": "334", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "335", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "336", + "Type": { + "$id": "337", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3871,44 +3763,13 @@ "Parameters": [ { "$id": "340", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "341", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "342", - "Type": { - "$id": "343", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "344", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "345", + "$id": "341", "kind": "constant", "valueType": { - "$id": "346", + "$id": "342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3930,7 +3791,7 @@ ], "Responses": [ { - "$id": "347", + "$id": "343", "StatusCodes": [ 200 ], @@ -3956,24 +3817,21 @@ "Decorators": [] }, { - "$id": "348", + "$id": "344", "Name": "getDefault", "ResourceName": "IntLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "340" - }, - { - "$id": "349", + "$id": "345", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "350", + "$id": "346", "kind": "constant", "valueType": { - "$id": "351", + "$id": "347", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3995,7 +3853,7 @@ ], "Responses": [ { - "$id": "352", + "$id": "348", "StatusCodes": [ 200 ], @@ -4021,25 +3879,22 @@ "Decorators": [] }, { - "$id": "353", + "$id": "349", "Name": "putAll", "ResourceName": "IntLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "340" - }, - { - "$id": "354", + "$id": "350", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "355", + "$id": "351", "kind": "constant", "valueType": { - "$id": "356", + "$id": "352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4059,7 +3914,7 @@ "SkipUrlEncoding": false }, { - "$id": "357", + "$id": "353", "Name": "body", "NameInRequest": "body", "Type": { @@ -4078,7 +3933,7 @@ ], "Responses": [ { - "$id": "358", + "$id": "354", "StatusCodes": [ 204 ], @@ -4101,25 +3956,22 @@ "Decorators": [] }, { - "$id": "359", + "$id": "355", "Name": "putDefault", "ResourceName": "IntLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "340" - }, - { - "$id": "360", + "$id": "356", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "361", + "$id": "357", "kind": "constant", "valueType": { - "$id": "362", + "$id": "358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4139,7 +3991,7 @@ "SkipUrlEncoding": false }, { - "$id": "363", + "$id": "359", "Name": "body", "NameInRequest": "body", "Type": { @@ -4158,7 +4010,7 @@ ], "Responses": [ { - "$id": "364", + "$id": "360", "StatusCodes": [ 204 ], @@ -4182,12 +4034,40 @@ } ], "Protocol": { - "$id": "365" + "$id": "361" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "340" + "$id": "362", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "363", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "364", + "Type": { + "$id": "365", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4205,44 +4085,13 @@ "Parameters": [ { "$id": "368", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "369", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "370", - "Type": { - "$id": "371", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "372", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "373", + "$id": "369", "kind": "constant", "valueType": { - "$id": "374", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4264,7 +4113,7 @@ ], "Responses": [ { - "$id": "375", + "$id": "371", "StatusCodes": [ 200 ], @@ -4290,24 +4139,21 @@ "Decorators": [] }, { - "$id": "376", + "$id": "372", "Name": "getDefault", "ResourceName": "FloatLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "368" - }, - { - "$id": "377", + "$id": "373", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "378", + "$id": "374", "kind": "constant", "valueType": { - "$id": "379", + "$id": "375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4329,7 +4175,7 @@ ], "Responses": [ { - "$id": "380", + "$id": "376", "StatusCodes": [ 200 ], @@ -4355,25 +4201,22 @@ "Decorators": [] }, { - "$id": "381", + "$id": "377", "Name": "putAll", "ResourceName": "FloatLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "368" - }, - { - "$id": "382", + "$id": "378", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "383", + "$id": "379", "kind": "constant", "valueType": { - "$id": "384", + "$id": "380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4393,7 +4236,7 @@ "SkipUrlEncoding": false }, { - "$id": "385", + "$id": "381", "Name": "body", "NameInRequest": "body", "Type": { @@ -4412,7 +4255,7 @@ ], "Responses": [ { - "$id": "386", + "$id": "382", "StatusCodes": [ 204 ], @@ -4435,25 +4278,22 @@ "Decorators": [] }, { - "$id": "387", + "$id": "383", "Name": "putDefault", "ResourceName": "FloatLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "368" - }, - { - "$id": "388", + "$id": "384", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "389", + "$id": "385", "kind": "constant", "valueType": { - "$id": "390", + "$id": "386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4473,7 +4313,7 @@ "SkipUrlEncoding": false }, { - "$id": "391", + "$id": "387", "Name": "body", "NameInRequest": "body", "Type": { @@ -4492,7 +4332,7 @@ ], "Responses": [ { - "$id": "392", + "$id": "388", "StatusCodes": [ 204 ], @@ -4516,12 +4356,40 @@ } ], "Protocol": { - "$id": "393" + "$id": "389" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "368" + "$id": "390", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "391", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "392", + "Type": { + "$id": "393", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4539,44 +4407,13 @@ "Parameters": [ { "$id": "396", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "397", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "398", - "Type": { - "$id": "399", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "400", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "401", + "$id": "397", "kind": "constant", "valueType": { - "$id": "402", + "$id": "398", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4598,7 +4435,7 @@ ], "Responses": [ { - "$id": "403", + "$id": "399", "StatusCodes": [ 200 ], @@ -4624,24 +4461,21 @@ "Decorators": [] }, { - "$id": "404", + "$id": "400", "Name": "getDefault", "ResourceName": "BooleanLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "396" - }, - { - "$id": "405", + "$id": "401", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "406", + "$id": "402", "kind": "constant", "valueType": { - "$id": "407", + "$id": "403", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4663,7 +4497,7 @@ ], "Responses": [ { - "$id": "408", + "$id": "404", "StatusCodes": [ 200 ], @@ -4689,25 +4523,22 @@ "Decorators": [] }, { - "$id": "409", + "$id": "405", "Name": "putAll", "ResourceName": "BooleanLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "396" - }, - { - "$id": "410", + "$id": "406", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "411", + "$id": "407", "kind": "constant", "valueType": { - "$id": "412", + "$id": "408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4727,7 +4558,7 @@ "SkipUrlEncoding": false }, { - "$id": "413", + "$id": "409", "Name": "body", "NameInRequest": "body", "Type": { @@ -4746,7 +4577,7 @@ ], "Responses": [ { - "$id": "414", + "$id": "410", "StatusCodes": [ 204 ], @@ -4769,25 +4600,22 @@ "Decorators": [] }, { - "$id": "415", + "$id": "411", "Name": "putDefault", "ResourceName": "BooleanLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "396" - }, - { - "$id": "416", + "$id": "412", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "417", + "$id": "413", "kind": "constant", "valueType": { - "$id": "418", + "$id": "414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4807,7 +4635,7 @@ "SkipUrlEncoding": false }, { - "$id": "419", + "$id": "415", "Name": "body", "NameInRequest": "body", "Type": { @@ -4826,7 +4654,7 @@ ], "Responses": [ { - "$id": "420", + "$id": "416", "StatusCodes": [ 204 ], @@ -4850,12 +4678,40 @@ } ], "Protocol": { - "$id": "421" + "$id": "417" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "396" + "$id": "418", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "419", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "420", + "Type": { + "$id": "421", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4873,44 +4729,13 @@ "Parameters": [ { "$id": "424", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "425", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "426", - "Type": { - "$id": "427", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "428", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "429", + "$id": "425", "kind": "constant", "valueType": { - "$id": "430", + "$id": "426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4932,7 +4757,7 @@ ], "Responses": [ { - "$id": "431", + "$id": "427", "StatusCodes": [ 200 ], @@ -4958,24 +4783,21 @@ "Decorators": [] }, { - "$id": "432", + "$id": "428", "Name": "getDefault", "ResourceName": "UnionStringLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "424" - }, - { - "$id": "433", + "$id": "429", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "434", + "$id": "430", "kind": "constant", "valueType": { - "$id": "435", + "$id": "431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4997,7 +4819,7 @@ ], "Responses": [ { - "$id": "436", + "$id": "432", "StatusCodes": [ 200 ], @@ -5023,25 +4845,22 @@ "Decorators": [] }, { - "$id": "437", + "$id": "433", "Name": "putAll", "ResourceName": "UnionStringLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "424" - }, - { - "$id": "438", + "$id": "434", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "439", + "$id": "435", "kind": "constant", "valueType": { - "$id": "440", + "$id": "436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5061,7 +4880,7 @@ "SkipUrlEncoding": false }, { - "$id": "441", + "$id": "437", "Name": "body", "NameInRequest": "body", "Type": { @@ -5080,7 +4899,7 @@ ], "Responses": [ { - "$id": "442", + "$id": "438", "StatusCodes": [ 204 ], @@ -5103,25 +4922,22 @@ "Decorators": [] }, { - "$id": "443", + "$id": "439", "Name": "putDefault", "ResourceName": "UnionStringLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "424" - }, - { - "$id": "444", + "$id": "440", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "445", + "$id": "441", "kind": "constant", "valueType": { - "$id": "446", + "$id": "442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5141,7 +4957,7 @@ "SkipUrlEncoding": false }, { - "$id": "447", + "$id": "443", "Name": "body", "NameInRequest": "body", "Type": { @@ -5160,7 +4976,7 @@ ], "Responses": [ { - "$id": "448", + "$id": "444", "StatusCodes": [ 204 ], @@ -5184,12 +5000,40 @@ } ], "Protocol": { - "$id": "449" + "$id": "445" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "424" + "$id": "446", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "447", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "448", + "Type": { + "$id": "449", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5207,44 +5051,13 @@ "Parameters": [ { "$id": "452", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "453", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "454", - "Type": { - "$id": "455", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "456", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "457", + "$id": "453", "kind": "constant", "valueType": { - "$id": "458", + "$id": "454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5266,7 +5079,7 @@ ], "Responses": [ { - "$id": "459", + "$id": "455", "StatusCodes": [ 200 ], @@ -5292,24 +5105,21 @@ "Decorators": [] }, { - "$id": "460", + "$id": "456", "Name": "getDefault", "ResourceName": "UnionIntLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "452" - }, - { - "$id": "461", + "$id": "457", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "462", + "$id": "458", "kind": "constant", "valueType": { - "$id": "463", + "$id": "459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5331,7 +5141,7 @@ ], "Responses": [ { - "$id": "464", + "$id": "460", "StatusCodes": [ 200 ], @@ -5357,25 +5167,22 @@ "Decorators": [] }, { - "$id": "465", + "$id": "461", "Name": "putAll", "ResourceName": "UnionIntLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "452" - }, - { - "$id": "466", + "$id": "462", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "467", + "$id": "463", "kind": "constant", "valueType": { - "$id": "468", + "$id": "464", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5395,7 +5202,7 @@ "SkipUrlEncoding": false }, { - "$id": "469", + "$id": "465", "Name": "body", "NameInRequest": "body", "Type": { @@ -5414,7 +5221,7 @@ ], "Responses": [ { - "$id": "470", + "$id": "466", "StatusCodes": [ 204 ], @@ -5437,25 +5244,22 @@ "Decorators": [] }, { - "$id": "471", + "$id": "467", "Name": "putDefault", "ResourceName": "UnionIntLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "452" - }, - { - "$id": "472", + "$id": "468", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "473", + "$id": "469", "kind": "constant", "valueType": { - "$id": "474", + "$id": "470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5475,7 +5279,7 @@ "SkipUrlEncoding": false }, { - "$id": "475", + "$id": "471", "Name": "body", "NameInRequest": "body", "Type": { @@ -5494,7 +5298,7 @@ ], "Responses": [ { - "$id": "476", + "$id": "472", "StatusCodes": [ 204 ], @@ -5518,12 +5322,40 @@ } ], "Protocol": { - "$id": "477" + "$id": "473" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "452" + "$id": "474", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "475", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "476", + "Type": { + "$id": "477", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5541,44 +5373,13 @@ "Parameters": [ { "$id": "480", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "481", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "482", - "Type": { - "$id": "483", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "484", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "485", + "$id": "481", "kind": "constant", "valueType": { - "$id": "486", + "$id": "482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5600,7 +5401,7 @@ ], "Responses": [ { - "$id": "487", + "$id": "483", "StatusCodes": [ 200 ], @@ -5626,24 +5427,21 @@ "Decorators": [] }, { - "$id": "488", + "$id": "484", "Name": "getDefault", "ResourceName": "UnionFloatLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "480" - }, - { - "$id": "489", + "$id": "485", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "490", + "$id": "486", "kind": "constant", "valueType": { - "$id": "491", + "$id": "487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5665,7 +5463,7 @@ ], "Responses": [ { - "$id": "492", + "$id": "488", "StatusCodes": [ 200 ], @@ -5691,25 +5489,22 @@ "Decorators": [] }, { - "$id": "493", + "$id": "489", "Name": "putAll", "ResourceName": "UnionFloatLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "480" - }, - { - "$id": "494", + "$id": "490", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "495", + "$id": "491", "kind": "constant", "valueType": { - "$id": "496", + "$id": "492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5729,7 +5524,7 @@ "SkipUrlEncoding": false }, { - "$id": "497", + "$id": "493", "Name": "body", "NameInRequest": "body", "Type": { @@ -5748,7 +5543,7 @@ ], "Responses": [ { - "$id": "498", + "$id": "494", "StatusCodes": [ 204 ], @@ -5771,25 +5566,22 @@ "Decorators": [] }, { - "$id": "499", + "$id": "495", "Name": "putDefault", "ResourceName": "UnionFloatLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "480" - }, - { - "$id": "500", + "$id": "496", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "501", + "$id": "497", "kind": "constant", "valueType": { - "$id": "502", + "$id": "498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5809,7 +5601,7 @@ "SkipUrlEncoding": false }, { - "$id": "503", + "$id": "499", "Name": "body", "NameInRequest": "body", "Type": { @@ -5828,7 +5620,7 @@ ], "Responses": [ { - "$id": "504", + "$id": "500", "StatusCodes": [ 204 ], @@ -5852,12 +5644,40 @@ } ], "Protocol": { - "$id": "505" + "$id": "501" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "480" + "$id": "502", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "503", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "504", + "Type": { + "$id": "505", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5876,44 +5696,13 @@ "Parameters": [ { "$id": "508", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "509", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "510", - "Type": { - "$id": "511", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "512", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "513", + "$id": "509", "kind": "constant", "valueType": { - "$id": "514", + "$id": "510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5935,7 +5724,7 @@ ], "Responses": [ { - "$id": "515", + "$id": "511", "StatusCodes": [ 200 ], @@ -5961,24 +5750,21 @@ "Decorators": [] }, { - "$id": "516", + "$id": "512", "Name": "getRequiredOnly", "ResourceName": "RequiredAndOptional", "Description": "Get models that will return only the required properties", "Accessibility": "public", "Parameters": [ { - "$ref": "508" - }, - { - "$id": "517", + "$id": "513", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "518", + "$id": "514", "kind": "constant", "valueType": { - "$id": "519", + "$id": "515", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6000,7 +5786,7 @@ ], "Responses": [ { - "$id": "520", + "$id": "516", "StatusCodes": [ 200 ], @@ -6026,25 +5812,22 @@ "Decorators": [] }, { - "$id": "521", + "$id": "517", "Name": "putAll", "ResourceName": "RequiredAndOptional", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "508" - }, - { - "$id": "522", + "$id": "518", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "523", + "$id": "519", "kind": "constant", "valueType": { - "$id": "524", + "$id": "520", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6064,7 +5847,7 @@ "SkipUrlEncoding": false }, { - "$id": "525", + "$id": "521", "Name": "body", "NameInRequest": "body", "Type": { @@ -6083,7 +5866,7 @@ ], "Responses": [ { - "$id": "526", + "$id": "522", "StatusCodes": [ 204 ], @@ -6106,25 +5889,22 @@ "Decorators": [] }, { - "$id": "527", + "$id": "523", "Name": "putRequiredOnly", "ResourceName": "RequiredAndOptional", "Description": "Put a body with only required properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "508" - }, - { - "$id": "528", + "$id": "524", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "529", + "$id": "525", "kind": "constant", "valueType": { - "$id": "530", + "$id": "526", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6144,7 +5924,7 @@ "SkipUrlEncoding": false }, { - "$id": "531", + "$id": "527", "Name": "body", "NameInRequest": "body", "Type": { @@ -6163,7 +5943,7 @@ ], "Responses": [ { - "$id": "532", + "$id": "528", "StatusCodes": [ 204 ], @@ -6187,12 +5967,40 @@ } ], "Protocol": { - "$id": "533" + "$id": "529" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "508" + "$id": "530", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "531", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "532", + "Type": { + "$id": "533", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/property/value-types/tspCodeModel.json b/test/CadlRanchProjects/type/property/value-types/tspCodeModel.json index ad6bf7fc6f5..cd41538a220 100644 --- a/test/CadlRanchProjects/type/property/value-types/tspCodeModel.json +++ b/test/CadlRanchProjects/type/property/value-types/tspCodeModel.json @@ -1414,44 +1414,13 @@ "Parameters": [ { "$id": "142", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "143", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "144", - "Type": { - "$id": "145", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "146", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "147", + "$id": "143", "kind": "constant", "valueType": { - "$id": "148", + "$id": "144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1473,7 +1442,7 @@ ], "Responses": [ { - "$id": "149", + "$id": "145", "StatusCodes": [ 200 ], @@ -1499,25 +1468,22 @@ "Decorators": [] }, { - "$id": "150", + "$id": "146", "Name": "put", "ResourceName": "Boolean", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "142" - }, - { - "$id": "151", + "$id": "147", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "152", + "$id": "148", "kind": "constant", "valueType": { - "$id": "153", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1537,7 +1503,7 @@ "SkipUrlEncoding": false }, { - "$id": "154", + "$id": "150", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -1557,7 +1523,7 @@ ], "Responses": [ { - "$id": "155", + "$id": "151", "StatusCodes": [ 204 ], @@ -1581,12 +1547,40 @@ } ], "Protocol": { - "$id": "156" + "$id": "152" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "142" + "$id": "153", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "154", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "155", + "Type": { + "$id": "156", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1604,44 +1598,13 @@ "Parameters": [ { "$id": "159", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "160", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "161", - "Type": { - "$id": "162", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "163", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "164", + "$id": "160", "kind": "constant", "valueType": { - "$id": "165", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1663,7 +1626,7 @@ ], "Responses": [ { - "$id": "166", + "$id": "162", "StatusCodes": [ 200 ], @@ -1689,25 +1652,22 @@ "Decorators": [] }, { - "$id": "167", + "$id": "163", "Name": "put", "ResourceName": "String", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "159" - }, - { - "$id": "168", + "$id": "164", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "169", + "$id": "165", "kind": "constant", "valueType": { - "$id": "170", + "$id": "166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1727,7 +1687,7 @@ "SkipUrlEncoding": false }, { - "$id": "171", + "$id": "167", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -1747,7 +1707,7 @@ ], "Responses": [ { - "$id": "172", + "$id": "168", "StatusCodes": [ 204 ], @@ -1771,12 +1731,40 @@ } ], "Protocol": { - "$id": "173" + "$id": "169" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "159" + "$id": "170", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "171", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "172", + "Type": { + "$id": "173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1794,44 +1782,13 @@ "Parameters": [ { "$id": "176", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "177", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "178", - "Type": { - "$id": "179", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "180", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "181", + "$id": "177", "kind": "constant", "valueType": { - "$id": "182", + "$id": "178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1853,7 +1810,7 @@ ], "Responses": [ { - "$id": "183", + "$id": "179", "StatusCodes": [ 200 ], @@ -1879,25 +1836,22 @@ "Decorators": [] }, { - "$id": "184", + "$id": "180", "Name": "put", "ResourceName": "Bytes", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "176" - }, - { - "$id": "185", + "$id": "181", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "186", + "$id": "182", "kind": "constant", "valueType": { - "$id": "187", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1917,7 +1871,7 @@ "SkipUrlEncoding": false }, { - "$id": "188", + "$id": "184", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -1937,7 +1891,7 @@ ], "Responses": [ { - "$id": "189", + "$id": "185", "StatusCodes": [ 204 ], @@ -1961,12 +1915,40 @@ } ], "Protocol": { - "$id": "190" + "$id": "186" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "176" + "$id": "187", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "188", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "189", + "Type": { + "$id": "190", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1984,44 +1966,13 @@ "Parameters": [ { "$id": "193", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "194", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "195", - "Type": { - "$id": "196", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "197", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "198", + "$id": "194", "kind": "constant", "valueType": { - "$id": "199", + "$id": "195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2043,7 +1994,7 @@ ], "Responses": [ { - "$id": "200", + "$id": "196", "StatusCodes": [ 200 ], @@ -2069,25 +2020,22 @@ "Decorators": [] }, { - "$id": "201", + "$id": "197", "Name": "put", "ResourceName": "Int", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "193" - }, - { - "$id": "202", + "$id": "198", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "203", + "$id": "199", "kind": "constant", "valueType": { - "$id": "204", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2107,7 +2055,7 @@ "SkipUrlEncoding": false }, { - "$id": "205", + "$id": "201", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2127,7 +2075,7 @@ ], "Responses": [ { - "$id": "206", + "$id": "202", "StatusCodes": [ 204 ], @@ -2151,12 +2099,40 @@ } ], "Protocol": { - "$id": "207" + "$id": "203" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "193" + "$id": "204", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "205", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "206", + "Type": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2174,44 +2150,13 @@ "Parameters": [ { "$id": "210", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "211", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "212", - "Type": { - "$id": "213", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "214", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "215", + "$id": "211", "kind": "constant", "valueType": { - "$id": "216", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2233,7 +2178,7 @@ ], "Responses": [ { - "$id": "217", + "$id": "213", "StatusCodes": [ 200 ], @@ -2259,25 +2204,22 @@ "Decorators": [] }, { - "$id": "218", + "$id": "214", "Name": "put", "ResourceName": "Float", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "210" - }, - { - "$id": "219", + "$id": "215", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "220", + "$id": "216", "kind": "constant", "valueType": { - "$id": "221", + "$id": "217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2297,7 +2239,7 @@ "SkipUrlEncoding": false }, { - "$id": "222", + "$id": "218", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2317,7 +2259,7 @@ ], "Responses": [ { - "$id": "223", + "$id": "219", "StatusCodes": [ 204 ], @@ -2341,12 +2283,40 @@ } ], "Protocol": { - "$id": "224" + "$id": "220" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "210" + "$id": "221", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "222", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "223", + "Type": { + "$id": "224", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2364,44 +2334,13 @@ "Parameters": [ { "$id": "227", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "228", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "229", - "Type": { - "$id": "230", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "231", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "232", + "$id": "228", "kind": "constant", "valueType": { - "$id": "233", + "$id": "229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2423,7 +2362,7 @@ ], "Responses": [ { - "$id": "234", + "$id": "230", "StatusCodes": [ 200 ], @@ -2449,25 +2388,22 @@ "Decorators": [] }, { - "$id": "235", + "$id": "231", "Name": "put", "ResourceName": "Decimal", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "227" - }, - { - "$id": "236", + "$id": "232", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "237", + "$id": "233", "kind": "constant", "valueType": { - "$id": "238", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2487,7 +2423,7 @@ "SkipUrlEncoding": false }, { - "$id": "239", + "$id": "235", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2507,7 +2443,7 @@ ], "Responses": [ { - "$id": "240", + "$id": "236", "StatusCodes": [ 204 ], @@ -2531,12 +2467,40 @@ } ], "Protocol": { - "$id": "241" + "$id": "237" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "227" + "$id": "238", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "239", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "240", + "Type": { + "$id": "241", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2554,44 +2518,13 @@ "Parameters": [ { "$id": "244", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", + "Name": "accept", + "NameInRequest": "Accept", "Type": { "$id": "245", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "246", - "Type": { - "$id": "247", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "248", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "249", "kind": "constant", "valueType": { - "$id": "250", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2613,7 +2546,7 @@ ], "Responses": [ { - "$id": "251", + "$id": "247", "StatusCodes": [ 200 ], @@ -2639,25 +2572,22 @@ "Decorators": [] }, { - "$id": "252", + "$id": "248", "Name": "put", "ResourceName": "Decimal128", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "244" - }, - { - "$id": "253", + "$id": "249", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "254", + "$id": "250", "kind": "constant", "valueType": { - "$id": "255", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2677,7 +2607,7 @@ "SkipUrlEncoding": false }, { - "$id": "256", + "$id": "252", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2697,7 +2627,7 @@ ], "Responses": [ { - "$id": "257", + "$id": "253", "StatusCodes": [ 204 ], @@ -2721,12 +2651,40 @@ } ], "Protocol": { - "$id": "258" + "$id": "254" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "244" + "$id": "255", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "256", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "257", + "Type": { + "$id": "258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2744,44 +2702,13 @@ "Parameters": [ { "$id": "261", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "262", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "263", - "Type": { - "$id": "264", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "265", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "266", + "$id": "262", "kind": "constant", "valueType": { - "$id": "267", + "$id": "263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2803,7 +2730,7 @@ ], "Responses": [ { - "$id": "268", + "$id": "264", "StatusCodes": [ 200 ], @@ -2829,25 +2756,22 @@ "Decorators": [] }, { - "$id": "269", + "$id": "265", "Name": "put", "ResourceName": "Datetime", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "261" - }, - { - "$id": "270", + "$id": "266", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "271", + "$id": "267", "kind": "constant", "valueType": { - "$id": "272", + "$id": "268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2867,7 +2791,7 @@ "SkipUrlEncoding": false }, { - "$id": "273", + "$id": "269", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2887,7 +2811,7 @@ ], "Responses": [ { - "$id": "274", + "$id": "270", "StatusCodes": [ 204 ], @@ -2911,12 +2835,40 @@ } ], "Protocol": { - "$id": "275" + "$id": "271" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "261" + "$id": "272", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "273", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "274", + "Type": { + "$id": "275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2934,44 +2886,13 @@ "Parameters": [ { "$id": "278", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "279", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "280", - "Type": { - "$id": "281", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "282", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "283", + "$id": "279", "kind": "constant", "valueType": { - "$id": "284", + "$id": "280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2993,7 +2914,7 @@ ], "Responses": [ { - "$id": "285", + "$id": "281", "StatusCodes": [ 200 ], @@ -3019,25 +2940,22 @@ "Decorators": [] }, { - "$id": "286", + "$id": "282", "Name": "put", "ResourceName": "Duration", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "278" - }, - { - "$id": "287", + "$id": "283", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "288", + "$id": "284", "kind": "constant", "valueType": { - "$id": "289", + "$id": "285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3057,7 +2975,7 @@ "SkipUrlEncoding": false }, { - "$id": "290", + "$id": "286", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3077,7 +2995,7 @@ ], "Responses": [ { - "$id": "291", + "$id": "287", "StatusCodes": [ 204 ], @@ -3101,12 +3019,40 @@ } ], "Protocol": { - "$id": "292" + "$id": "288" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "278" + "$id": "289", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "290", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "291", + "Type": { + "$id": "292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3124,44 +3070,13 @@ "Parameters": [ { "$id": "295", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "296", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "297", - "Type": { - "$id": "298", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "299", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "300", + "$id": "296", "kind": "constant", "valueType": { - "$id": "301", + "$id": "297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3183,7 +3098,7 @@ ], "Responses": [ { - "$id": "302", + "$id": "298", "StatusCodes": [ 200 ], @@ -3209,25 +3124,22 @@ "Decorators": [] }, { - "$id": "303", + "$id": "299", "Name": "put", "ResourceName": "Enum", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "295" - }, - { - "$id": "304", + "$id": "300", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "305", + "$id": "301", "kind": "constant", "valueType": { - "$id": "306", + "$id": "302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3247,7 +3159,7 @@ "SkipUrlEncoding": false }, { - "$id": "307", + "$id": "303", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3267,7 +3179,7 @@ ], "Responses": [ { - "$id": "308", + "$id": "304", "StatusCodes": [ 204 ], @@ -3291,12 +3203,40 @@ } ], "Protocol": { - "$id": "309" + "$id": "305" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "295" + "$id": "306", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "307", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "308", + "Type": { + "$id": "309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3314,44 +3254,13 @@ "Parameters": [ { "$id": "312", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "313", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "314", - "Type": { - "$id": "315", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "316", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "317", + "$id": "313", "kind": "constant", "valueType": { - "$id": "318", + "$id": "314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3373,7 +3282,7 @@ ], "Responses": [ { - "$id": "319", + "$id": "315", "StatusCodes": [ 200 ], @@ -3399,25 +3308,22 @@ "Decorators": [] }, { - "$id": "320", + "$id": "316", "Name": "put", "ResourceName": "ExtensibleEnum", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "312" - }, - { - "$id": "321", + "$id": "317", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "322", + "$id": "318", "kind": "constant", "valueType": { - "$id": "323", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3437,7 +3343,7 @@ "SkipUrlEncoding": false }, { - "$id": "324", + "$id": "320", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3457,7 +3363,7 @@ ], "Responses": [ { - "$id": "325", + "$id": "321", "StatusCodes": [ 204 ], @@ -3481,12 +3387,40 @@ } ], "Protocol": { - "$id": "326" + "$id": "322" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "312" + "$id": "323", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "324", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "325", + "Type": { + "$id": "326", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3504,44 +3438,13 @@ "Parameters": [ { "$id": "329", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "330", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "331", - "Type": { - "$id": "332", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "333", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "334", + "$id": "330", "kind": "constant", "valueType": { - "$id": "335", + "$id": "331", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3563,7 +3466,7 @@ ], "Responses": [ { - "$id": "336", + "$id": "332", "StatusCodes": [ 200 ], @@ -3589,25 +3492,22 @@ "Decorators": [] }, { - "$id": "337", + "$id": "333", "Name": "put", "ResourceName": "Model", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "329" - }, - { - "$id": "338", + "$id": "334", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "339", + "$id": "335", "kind": "constant", "valueType": { - "$id": "340", + "$id": "336", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3627,7 +3527,7 @@ "SkipUrlEncoding": false }, { - "$id": "341", + "$id": "337", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3647,7 +3547,7 @@ ], "Responses": [ { - "$id": "342", + "$id": "338", "StatusCodes": [ 204 ], @@ -3671,12 +3571,40 @@ } ], "Protocol": { - "$id": "343" + "$id": "339" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "329" + "$id": "340", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "341", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "342", + "Type": { + "$id": "343", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3694,44 +3622,13 @@ "Parameters": [ { "$id": "346", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "347", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "348", - "Type": { - "$id": "349", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "350", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "351", + "$id": "347", "kind": "constant", "valueType": { - "$id": "352", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3753,7 +3650,7 @@ ], "Responses": [ { - "$id": "353", + "$id": "349", "StatusCodes": [ 200 ], @@ -3779,25 +3676,22 @@ "Decorators": [] }, { - "$id": "354", + "$id": "350", "Name": "put", "ResourceName": "CollectionsString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "346" - }, - { - "$id": "355", + "$id": "351", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "356", + "$id": "352", "kind": "constant", "valueType": { - "$id": "357", + "$id": "353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3817,7 +3711,7 @@ "SkipUrlEncoding": false }, { - "$id": "358", + "$id": "354", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3837,7 +3731,7 @@ ], "Responses": [ { - "$id": "359", + "$id": "355", "StatusCodes": [ 204 ], @@ -3861,12 +3755,40 @@ } ], "Protocol": { - "$id": "360" + "$id": "356" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "346" + "$id": "357", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "358", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "359", + "Type": { + "$id": "360", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3884,44 +3806,13 @@ "Parameters": [ { "$id": "363", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "364", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "365", - "Type": { - "$id": "366", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "367", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "368", + "$id": "364", "kind": "constant", "valueType": { - "$id": "369", + "$id": "365", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3943,7 +3834,7 @@ ], "Responses": [ { - "$id": "370", + "$id": "366", "StatusCodes": [ 200 ], @@ -3969,25 +3860,22 @@ "Decorators": [] }, { - "$id": "371", + "$id": "367", "Name": "put", "ResourceName": "CollectionsInt", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "363" - }, - { - "$id": "372", + "$id": "368", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "373", + "$id": "369", "kind": "constant", "valueType": { - "$id": "374", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4007,7 +3895,7 @@ "SkipUrlEncoding": false }, { - "$id": "375", + "$id": "371", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4027,7 +3915,7 @@ ], "Responses": [ { - "$id": "376", + "$id": "372", "StatusCodes": [ 204 ], @@ -4051,12 +3939,40 @@ } ], "Protocol": { - "$id": "377" + "$id": "373" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "363" + "$id": "374", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "375", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "376", + "Type": { + "$id": "377", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4074,44 +3990,13 @@ "Parameters": [ { "$id": "380", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "381", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "382", - "Type": { - "$id": "383", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "384", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "385", + "$id": "381", "kind": "constant", "valueType": { - "$id": "386", + "$id": "382", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4133,7 +4018,7 @@ ], "Responses": [ { - "$id": "387", + "$id": "383", "StatusCodes": [ 200 ], @@ -4159,25 +4044,22 @@ "Decorators": [] }, { - "$id": "388", + "$id": "384", "Name": "put", "ResourceName": "CollectionsModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "380" - }, - { - "$id": "389", + "$id": "385", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "390", + "$id": "386", "kind": "constant", "valueType": { - "$id": "391", + "$id": "387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4197,7 +4079,7 @@ "SkipUrlEncoding": false }, { - "$id": "392", + "$id": "388", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4217,7 +4099,7 @@ ], "Responses": [ { - "$id": "393", + "$id": "389", "StatusCodes": [ 204 ], @@ -4241,12 +4123,40 @@ } ], "Protocol": { - "$id": "394" + "$id": "390" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "380" + "$id": "391", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "392", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "393", + "Type": { + "$id": "394", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4264,44 +4174,13 @@ "Parameters": [ { "$id": "397", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "398", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "399", - "Type": { - "$id": "400", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "401", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "402", + "$id": "398", "kind": "constant", "valueType": { - "$id": "403", + "$id": "399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4323,7 +4202,7 @@ ], "Responses": [ { - "$id": "404", + "$id": "400", "StatusCodes": [ 200 ], @@ -4349,25 +4228,22 @@ "Decorators": [] }, { - "$id": "405", + "$id": "401", "Name": "put", "ResourceName": "DictionaryString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "397" - }, - { - "$id": "406", + "$id": "402", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "407", + "$id": "403", "kind": "constant", "valueType": { - "$id": "408", + "$id": "404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4387,7 +4263,7 @@ "SkipUrlEncoding": false }, { - "$id": "409", + "$id": "405", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4407,7 +4283,7 @@ ], "Responses": [ { - "$id": "410", + "$id": "406", "StatusCodes": [ 204 ], @@ -4431,12 +4307,40 @@ } ], "Protocol": { - "$id": "411" + "$id": "407" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "397" + "$id": "408", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "409", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "410", + "Type": { + "$id": "411", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4454,44 +4358,13 @@ "Parameters": [ { "$id": "414", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "415", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "416", - "Type": { - "$id": "417", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "418", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "419", + "$id": "415", "kind": "constant", "valueType": { - "$id": "420", + "$id": "416", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4513,7 +4386,7 @@ ], "Responses": [ { - "$id": "421", + "$id": "417", "StatusCodes": [ 200 ], @@ -4539,25 +4412,22 @@ "Decorators": [] }, { - "$id": "422", + "$id": "418", "Name": "put", "ResourceName": "Never", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "414" - }, - { - "$id": "423", + "$id": "419", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "424", + "$id": "420", "kind": "constant", "valueType": { - "$id": "425", + "$id": "421", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4577,7 +4447,7 @@ "SkipUrlEncoding": false }, { - "$id": "426", + "$id": "422", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4597,7 +4467,7 @@ ], "Responses": [ { - "$id": "427", + "$id": "423", "StatusCodes": [ 204 ], @@ -4621,12 +4491,40 @@ } ], "Protocol": { - "$id": "428" + "$id": "424" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "414" + "$id": "425", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "426", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "427", + "Type": { + "$id": "428", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4644,44 +4542,13 @@ "Parameters": [ { "$id": "431", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "432", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "433", - "Type": { - "$id": "434", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "435", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "436", + "$id": "432", "kind": "constant", "valueType": { - "$id": "437", + "$id": "433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4703,7 +4570,7 @@ ], "Responses": [ { - "$id": "438", + "$id": "434", "StatusCodes": [ 200 ], @@ -4729,25 +4596,22 @@ "Decorators": [] }, { - "$id": "439", + "$id": "435", "Name": "put", "ResourceName": "UnknownString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "431" - }, - { - "$id": "440", + "$id": "436", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "441", + "$id": "437", "kind": "constant", "valueType": { - "$id": "442", + "$id": "438", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4767,7 +4631,7 @@ "SkipUrlEncoding": false }, { - "$id": "443", + "$id": "439", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4787,7 +4651,7 @@ ], "Responses": [ { - "$id": "444", + "$id": "440", "StatusCodes": [ 204 ], @@ -4811,12 +4675,40 @@ } ], "Protocol": { - "$id": "445" + "$id": "441" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "431" + "$id": "442", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "443", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "444", + "Type": { + "$id": "445", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4834,44 +4726,13 @@ "Parameters": [ { "$id": "448", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "449", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "450", - "Type": { - "$id": "451", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "452", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "453", + "$id": "449", "kind": "constant", "valueType": { - "$id": "454", + "$id": "450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4893,7 +4754,7 @@ ], "Responses": [ { - "$id": "455", + "$id": "451", "StatusCodes": [ 200 ], @@ -4919,25 +4780,22 @@ "Decorators": [] }, { - "$id": "456", + "$id": "452", "Name": "put", "ResourceName": "UnknownInt", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "448" - }, - { - "$id": "457", + "$id": "453", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "458", + "$id": "454", "kind": "constant", "valueType": { - "$id": "459", + "$id": "455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4957,7 +4815,7 @@ "SkipUrlEncoding": false }, { - "$id": "460", + "$id": "456", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4977,7 +4835,7 @@ ], "Responses": [ { - "$id": "461", + "$id": "457", "StatusCodes": [ 204 ], @@ -5001,12 +4859,40 @@ } ], "Protocol": { - "$id": "462" + "$id": "458" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "448" + "$id": "459", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "460", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "461", + "Type": { + "$id": "462", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5024,44 +4910,13 @@ "Parameters": [ { "$id": "465", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "466", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "467", - "Type": { - "$id": "468", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "469", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "470", + "$id": "466", "kind": "constant", "valueType": { - "$id": "471", + "$id": "467", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5083,7 +4938,7 @@ ], "Responses": [ { - "$id": "472", + "$id": "468", "StatusCodes": [ 200 ], @@ -5109,25 +4964,22 @@ "Decorators": [] }, { - "$id": "473", + "$id": "469", "Name": "put", "ResourceName": "UnknownDict", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "465" - }, - { - "$id": "474", + "$id": "470", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "475", + "$id": "471", "kind": "constant", "valueType": { - "$id": "476", + "$id": "472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5147,7 +4999,7 @@ "SkipUrlEncoding": false }, { - "$id": "477", + "$id": "473", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5167,7 +5019,7 @@ ], "Responses": [ { - "$id": "478", + "$id": "474", "StatusCodes": [ 204 ], @@ -5191,12 +5043,40 @@ } ], "Protocol": { - "$id": "479" + "$id": "475" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "465" + "$id": "476", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "477", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "478", + "Type": { + "$id": "479", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5214,44 +5094,13 @@ "Parameters": [ { "$id": "482", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "483", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "484", - "Type": { - "$id": "485", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "486", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "487", + "$id": "483", "kind": "constant", "valueType": { - "$id": "488", + "$id": "484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5273,7 +5122,7 @@ ], "Responses": [ { - "$id": "489", + "$id": "485", "StatusCodes": [ 200 ], @@ -5299,25 +5148,22 @@ "Decorators": [] }, { - "$id": "490", + "$id": "486", "Name": "put", "ResourceName": "UnknownArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "482" - }, - { - "$id": "491", + "$id": "487", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "492", + "$id": "488", "kind": "constant", "valueType": { - "$id": "493", + "$id": "489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5337,7 +5183,7 @@ "SkipUrlEncoding": false }, { - "$id": "494", + "$id": "490", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5357,7 +5203,7 @@ ], "Responses": [ { - "$id": "495", + "$id": "491", "StatusCodes": [ 204 ], @@ -5381,12 +5227,40 @@ } ], "Protocol": { - "$id": "496" + "$id": "492" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "482" + "$id": "493", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "494", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "495", + "Type": { + "$id": "496", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5404,44 +5278,13 @@ "Parameters": [ { "$id": "499", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "500", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "501", - "Type": { - "$id": "502", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "503", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "504", + "$id": "500", "kind": "constant", "valueType": { - "$id": "505", + "$id": "501", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5463,7 +5306,7 @@ ], "Responses": [ { - "$id": "506", + "$id": "502", "StatusCodes": [ 200 ], @@ -5489,25 +5332,22 @@ "Decorators": [] }, { - "$id": "507", + "$id": "503", "Name": "put", "ResourceName": "StringLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "499" - }, - { - "$id": "508", + "$id": "504", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "509", + "$id": "505", "kind": "constant", "valueType": { - "$id": "510", + "$id": "506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5527,7 +5367,7 @@ "SkipUrlEncoding": false }, { - "$id": "511", + "$id": "507", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5547,7 +5387,7 @@ ], "Responses": [ { - "$id": "512", + "$id": "508", "StatusCodes": [ 204 ], @@ -5571,12 +5411,40 @@ } ], "Protocol": { - "$id": "513" + "$id": "509" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "499" + "$id": "510", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "511", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "512", + "Type": { + "$id": "513", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5594,44 +5462,13 @@ "Parameters": [ { "$id": "516", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "517", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "518", - "Type": { - "$id": "519", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "520", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "521", + "$id": "517", "kind": "constant", "valueType": { - "$id": "522", + "$id": "518", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5653,7 +5490,7 @@ ], "Responses": [ { - "$id": "523", + "$id": "519", "StatusCodes": [ 200 ], @@ -5679,25 +5516,22 @@ "Decorators": [] }, { - "$id": "524", + "$id": "520", "Name": "put", "ResourceName": "IntLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "516" - }, - { - "$id": "525", + "$id": "521", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "526", + "$id": "522", "kind": "constant", "valueType": { - "$id": "527", + "$id": "523", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5717,7 +5551,7 @@ "SkipUrlEncoding": false }, { - "$id": "528", + "$id": "524", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5737,7 +5571,7 @@ ], "Responses": [ { - "$id": "529", + "$id": "525", "StatusCodes": [ 204 ], @@ -5761,12 +5595,40 @@ } ], "Protocol": { - "$id": "530" + "$id": "526" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "516" + "$id": "527", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "528", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "529", + "Type": { + "$id": "530", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5784,44 +5646,13 @@ "Parameters": [ { "$id": "533", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "534", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "535", - "Type": { - "$id": "536", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "537", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "538", + "$id": "534", "kind": "constant", "valueType": { - "$id": "539", + "$id": "535", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5843,7 +5674,7 @@ ], "Responses": [ { - "$id": "540", + "$id": "536", "StatusCodes": [ 200 ], @@ -5869,25 +5700,22 @@ "Decorators": [] }, { - "$id": "541", + "$id": "537", "Name": "put", "ResourceName": "FloatLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "533" - }, - { - "$id": "542", + "$id": "538", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "543", + "$id": "539", "kind": "constant", "valueType": { - "$id": "544", + "$id": "540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5907,7 +5735,7 @@ "SkipUrlEncoding": false }, { - "$id": "545", + "$id": "541", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5927,7 +5755,7 @@ ], "Responses": [ { - "$id": "546", + "$id": "542", "StatusCodes": [ 204 ], @@ -5951,12 +5779,40 @@ } ], "Protocol": { - "$id": "547" + "$id": "543" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "533" + "$id": "544", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "545", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "546", + "Type": { + "$id": "547", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5974,44 +5830,13 @@ "Parameters": [ { "$id": "550", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "551", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "552", - "Type": { - "$id": "553", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "554", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "555", + "$id": "551", "kind": "constant", "valueType": { - "$id": "556", + "$id": "552", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6033,7 +5858,7 @@ ], "Responses": [ { - "$id": "557", + "$id": "553", "StatusCodes": [ 200 ], @@ -6059,25 +5884,22 @@ "Decorators": [] }, { - "$id": "558", + "$id": "554", "Name": "put", "ResourceName": "BooleanLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "550" - }, - { - "$id": "559", + "$id": "555", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "560", + "$id": "556", "kind": "constant", "valueType": { - "$id": "561", + "$id": "557", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6097,7 +5919,7 @@ "SkipUrlEncoding": false }, { - "$id": "562", + "$id": "558", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6117,7 +5939,7 @@ ], "Responses": [ { - "$id": "563", + "$id": "559", "StatusCodes": [ 204 ], @@ -6141,12 +5963,40 @@ } ], "Protocol": { - "$id": "564" + "$id": "560" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "550" + "$id": "561", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "562", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "563", + "Type": { + "$id": "564", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6164,44 +6014,13 @@ "Parameters": [ { "$id": "567", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "568", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "569", - "Type": { - "$id": "570", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "571", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "572", + "$id": "568", "kind": "constant", "valueType": { - "$id": "573", + "$id": "569", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6223,7 +6042,7 @@ ], "Responses": [ { - "$id": "574", + "$id": "570", "StatusCodes": [ 200 ], @@ -6249,25 +6068,22 @@ "Decorators": [] }, { - "$id": "575", + "$id": "571", "Name": "put", "ResourceName": "UnionStringLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "567" - }, - { - "$id": "576", + "$id": "572", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "577", + "$id": "573", "kind": "constant", "valueType": { - "$id": "578", + "$id": "574", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6287,7 +6103,7 @@ "SkipUrlEncoding": false }, { - "$id": "579", + "$id": "575", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6307,7 +6123,7 @@ ], "Responses": [ { - "$id": "580", + "$id": "576", "StatusCodes": [ 204 ], @@ -6331,12 +6147,40 @@ } ], "Protocol": { - "$id": "581" + "$id": "577" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "567" + "$id": "578", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "579", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "580", + "Type": { + "$id": "581", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6354,44 +6198,13 @@ "Parameters": [ { "$id": "584", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "585", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "586", - "Type": { - "$id": "587", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "588", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "589", + "$id": "585", "kind": "constant", "valueType": { - "$id": "590", + "$id": "586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6413,7 +6226,7 @@ ], "Responses": [ { - "$id": "591", + "$id": "587", "StatusCodes": [ 200 ], @@ -6439,25 +6252,22 @@ "Decorators": [] }, { - "$id": "592", + "$id": "588", "Name": "put", "ResourceName": "UnionIntLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "584" - }, - { - "$id": "593", + "$id": "589", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "594", + "$id": "590", "kind": "constant", "valueType": { - "$id": "595", + "$id": "591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6477,7 +6287,7 @@ "SkipUrlEncoding": false }, { - "$id": "596", + "$id": "592", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6497,7 +6307,7 @@ ], "Responses": [ { - "$id": "597", + "$id": "593", "StatusCodes": [ 204 ], @@ -6521,12 +6331,40 @@ } ], "Protocol": { - "$id": "598" + "$id": "594" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "584" + "$id": "595", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "596", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "597", + "Type": { + "$id": "598", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6544,44 +6382,13 @@ "Parameters": [ { "$id": "601", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "602", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "603", - "Type": { - "$id": "604", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "605", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "606", + "$id": "602", "kind": "constant", "valueType": { - "$id": "607", + "$id": "603", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6603,7 +6410,7 @@ ], "Responses": [ { - "$id": "608", + "$id": "604", "StatusCodes": [ 200 ], @@ -6629,25 +6436,22 @@ "Decorators": [] }, { - "$id": "609", + "$id": "605", "Name": "put", "ResourceName": "UnionFloatLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "601" - }, - { - "$id": "610", + "$id": "606", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "611", + "$id": "607", "kind": "constant", "valueType": { - "$id": "612", + "$id": "608", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6667,7 +6471,7 @@ "SkipUrlEncoding": false }, { - "$id": "613", + "$id": "609", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6687,7 +6491,7 @@ ], "Responses": [ { - "$id": "614", + "$id": "610", "StatusCodes": [ 204 ], @@ -6711,12 +6515,40 @@ } ], "Protocol": { - "$id": "615" + "$id": "611" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "601" + "$id": "612", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "613", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "614", + "Type": { + "$id": "615", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6734,44 +6566,13 @@ "Parameters": [ { "$id": "618", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "619", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "620", - "Type": { - "$id": "621", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "622", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "623", + "$id": "619", "kind": "constant", "valueType": { - "$id": "624", + "$id": "620", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6793,7 +6594,7 @@ ], "Responses": [ { - "$id": "625", + "$id": "621", "StatusCodes": [ 200 ], @@ -6819,25 +6620,22 @@ "Decorators": [] }, { - "$id": "626", + "$id": "622", "Name": "put", "ResourceName": "UnionEnumValue", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "618" - }, - { - "$id": "627", + "$id": "623", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "628", + "$id": "624", "kind": "constant", "valueType": { - "$id": "629", + "$id": "625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6857,7 +6655,7 @@ "SkipUrlEncoding": false }, { - "$id": "630", + "$id": "626", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6877,7 +6675,7 @@ ], "Responses": [ { - "$id": "631", + "$id": "627", "StatusCodes": [ 204 ], @@ -6901,12 +6699,40 @@ } ], "Protocol": { - "$id": "632" + "$id": "628" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "618" + "$id": "629", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "630", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "631", + "Type": { + "$id": "632", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/scalar/tspCodeModel.json b/test/CadlRanchProjects/type/scalar/tspCodeModel.json index a0333f12eb0..84a443b23d6 100644 --- a/test/CadlRanchProjects/type/scalar/tspCodeModel.json +++ b/test/CadlRanchProjects/type/scalar/tspCodeModel.json @@ -60,44 +60,13 @@ "Parameters": [ { "$id": "10", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "11", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "12", - "Type": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "14", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "15", + "$id": "11", "kind": "constant", "valueType": { - "$id": "16", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119,12 +88,12 @@ ], "Responses": [ { - "$id": "17", + "$id": "13", "StatusCodes": [ 200 ], "BodyType": { - "$id": "18", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149,25 +118,22 @@ "Decorators": [] }, { - "$id": "19", + "$id": "15", "Name": "put", "ResourceName": "String", "Description": "put string value", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "20", + "$id": "16", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "21", + "$id": "17", "kind": "constant", "valueType": { - "$id": "22", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -187,12 +153,12 @@ "SkipUrlEncoding": false }, { - "$id": "23", + "$id": "19", "Name": "body", "NameInRequest": "body", "Description": "_", "Type": { - "$id": "24", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -211,7 +177,7 @@ ], "Responses": [ { - "$id": "25", + "$id": "21", "StatusCodes": [ 204 ], @@ -235,12 +201,40 @@ } ], "Protocol": { - "$id": "26" + "$id": "22" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "10" + "$id": "23", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "24", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "25", + "Type": { + "$id": "26", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -258,44 +252,13 @@ "Parameters": [ { "$id": "29", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "30", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "31", - "Type": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "33", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "34", + "$id": "30", "kind": "constant", "valueType": { - "$id": "35", + "$id": "31", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -317,12 +280,12 @@ ], "Responses": [ { - "$id": "36", + "$id": "32", "StatusCodes": [ 200 ], "BodyType": { - "$id": "37", + "$id": "33", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -347,25 +310,22 @@ "Decorators": [] }, { - "$id": "38", + "$id": "34", "Name": "put", "ResourceName": "Boolean", "Description": "put boolean value", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "39", + "$id": "35", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "40", + "$id": "36", "kind": "constant", "valueType": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -385,12 +345,12 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "38", "Name": "body", "NameInRequest": "body", "Description": "_", "Type": { - "$id": "43", + "$id": "39", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -409,7 +369,7 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 204 ], @@ -433,12 +393,40 @@ } ], "Protocol": { - "$id": "45" + "$id": "41" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "29" + "$id": "42", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "43", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "44", + "Type": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -456,44 +444,13 @@ "Parameters": [ { "$id": "48", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "49", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "50", - "Type": { - "$id": "51", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "52", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "53", + "$id": "49", "kind": "constant", "valueType": { - "$id": "54", + "$id": "50", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -515,12 +472,12 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 200 ], "BodyType": { - "$id": "56", + "$id": "52", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -545,25 +502,22 @@ "Decorators": [] }, { - "$id": "57", + "$id": "53", "Name": "put", "ResourceName": "Unknown", "Description": "put unknown value", "Accessibility": "public", "Parameters": [ { - "$ref": "48" - }, - { - "$id": "58", + "$id": "54", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "59", + "$id": "55", "kind": "constant", "valueType": { - "$id": "60", + "$id": "56", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -583,12 +537,12 @@ "SkipUrlEncoding": false }, { - "$id": "61", + "$id": "57", "Name": "body", "NameInRequest": "body", "Description": "_", "Type": { - "$id": "62", + "$id": "58", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -607,7 +561,7 @@ ], "Responses": [ { - "$id": "63", + "$id": "59", "StatusCodes": [ 204 ], @@ -631,12 +585,40 @@ } ], "Protocol": { - "$id": "64" + "$id": "60" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "48" + "$id": "61", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "62", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "63", + "Type": { + "$id": "64", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -654,44 +636,13 @@ "Parameters": [ { "$id": "67", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "68", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "69", - "Type": { - "$id": "70", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "71", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "72", + "$id": "68", "kind": "constant", "valueType": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -713,12 +664,12 @@ ], "Responses": [ { - "$id": "74", + "$id": "70", "StatusCodes": [ 200 ], "BodyType": { - "$id": "75", + "$id": "71", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -743,24 +694,21 @@ "Decorators": [] }, { - "$id": "76", + "$id": "72", "Name": "requestBody", "ResourceName": "DecimalType", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "77", + "$id": "73", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "78", + "$id": "74", "kind": "constant", "valueType": { - "$id": "79", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -780,11 +728,11 @@ "SkipUrlEncoding": false }, { - "$id": "80", + "$id": "76", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "81", + "$id": "77", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -803,7 +751,7 @@ ], "Responses": [ { - "$id": "82", + "$id": "78", "StatusCodes": [ 204 ], @@ -826,20 +774,17 @@ "Decorators": [] }, { - "$id": "83", + "$id": "79", "Name": "requestParameter", "ResourceName": "DecimalType", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "84", + "$id": "80", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "85", + "$id": "81", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -858,7 +803,7 @@ ], "Responses": [ { - "$id": "86", + "$id": "82", "StatusCodes": [ 204 ], @@ -879,12 +824,40 @@ } ], "Protocol": { - "$id": "87" + "$id": "83" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "67" + "$id": "84", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "85", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "86", + "Type": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -902,44 +875,13 @@ "Parameters": [ { "$id": "90", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "91", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "92", - "Type": { - "$id": "93", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "94", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "95", + "$id": "91", "kind": "constant", "valueType": { - "$id": "96", + "$id": "92", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -961,12 +903,12 @@ ], "Responses": [ { - "$id": "97", + "$id": "93", "StatusCodes": [ 200 ], "BodyType": { - "$id": "98", + "$id": "94", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -991,24 +933,21 @@ "Decorators": [] }, { - "$id": "99", + "$id": "95", "Name": "requestBody", "ResourceName": "Decimal128Type", "Accessibility": "public", "Parameters": [ { - "$ref": "90" - }, - { - "$id": "100", + "$id": "96", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "101", + "$id": "97", "kind": "constant", "valueType": { - "$id": "102", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1028,11 +967,11 @@ "SkipUrlEncoding": false }, { - "$id": "103", + "$id": "99", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "104", + "$id": "100", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1051,7 +990,7 @@ ], "Responses": [ { - "$id": "105", + "$id": "101", "StatusCodes": [ 204 ], @@ -1074,20 +1013,17 @@ "Decorators": [] }, { - "$id": "106", + "$id": "102", "Name": "requestParameter", "ResourceName": "Decimal128Type", "Accessibility": "public", "Parameters": [ { - "$ref": "90" - }, - { - "$id": "107", + "$id": "103", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "108", + "$id": "104", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1106,7 +1042,7 @@ ], "Responses": [ { - "$id": "109", + "$id": "105", "StatusCodes": [ 204 ], @@ -1127,12 +1063,40 @@ } ], "Protocol": { - "$id": "110" + "$id": "106" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "90" + "$id": "107", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "108", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "109", + "Type": { + "$id": "110", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1150,44 +1114,13 @@ "Parameters": [ { "$id": "113", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "114", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "115", - "Type": { - "$id": "116", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "117", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "118", + "$id": "114", "kind": "constant", "valueType": { - "$id": "119", + "$id": "115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1209,16 +1142,16 @@ ], "Responses": [ { - "$id": "120", + "$id": "116", "StatusCodes": [ 200 ], "BodyType": { - "$id": "121", + "$id": "117", "kind": "array", "name": "Array", "valueType": { - "$id": "122", + "$id": "118", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1246,24 +1179,21 @@ "Decorators": [] }, { - "$id": "123", + "$id": "119", "Name": "verify", "ResourceName": "DecimalVerify", "Accessibility": "public", "Parameters": [ { - "$ref": "113" - }, - { - "$id": "124", + "$id": "120", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "125", + "$id": "121", "kind": "constant", "valueType": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1283,11 +1213,11 @@ "SkipUrlEncoding": false }, { - "$id": "127", + "$id": "123", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "128", + "$id": "124", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1306,7 +1236,7 @@ ], "Responses": [ { - "$id": "129", + "$id": "125", "StatusCodes": [ 204 ], @@ -1330,12 +1260,40 @@ } ], "Protocol": { - "$id": "130" + "$id": "126" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "113" + "$id": "127", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "128", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "129", + "Type": { + "$id": "130", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1353,44 +1311,13 @@ "Parameters": [ { "$id": "133", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "134", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "135", - "Type": { - "$id": "136", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "137", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "138", + "$id": "134", "kind": "constant", "valueType": { - "$id": "139", + "$id": "135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1412,16 +1339,16 @@ ], "Responses": [ { - "$id": "140", + "$id": "136", "StatusCodes": [ 200 ], "BodyType": { - "$id": "141", + "$id": "137", "kind": "array", "name": "Array", "valueType": { - "$id": "142", + "$id": "138", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1449,24 +1376,21 @@ "Decorators": [] }, { - "$id": "143", + "$id": "139", "Name": "verify", "ResourceName": "Decimal128Verify", "Accessibility": "public", "Parameters": [ { - "$ref": "133" - }, - { - "$id": "144", + "$id": "140", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "145", + "$id": "141", "kind": "constant", "valueType": { - "$id": "146", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1486,11 +1410,11 @@ "SkipUrlEncoding": false }, { - "$id": "147", + "$id": "143", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "148", + "$id": "144", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1509,7 +1433,7 @@ ], "Responses": [ { - "$id": "149", + "$id": "145", "StatusCodes": [ 204 ], @@ -1533,12 +1457,40 @@ } ], "Protocol": { - "$id": "150" + "$id": "146" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "133" + "$id": "147", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "148", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "149", + "Type": { + "$id": "150", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/type/union/tspCodeModel.json b/test/CadlRanchProjects/type/union/tspCodeModel.json index 14640ed17f7..bc9f0381888 100644 --- a/test/CadlRanchProjects/type/union/tspCodeModel.json +++ b/test/CadlRanchProjects/type/union/tspCodeModel.json @@ -1809,44 +1809,13 @@ "Parameters": [ { "$id": "197", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "198", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "199", - "Type": { - "$id": "200", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "201", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "202", + "$id": "198", "kind": "constant", "valueType": { - "$id": "203", + "$id": "199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1868,7 +1837,7 @@ ], "Responses": [ { - "$id": "204", + "$id": "200", "StatusCodes": [ 200 ], @@ -1894,24 +1863,21 @@ "Decorators": [] }, { - "$id": "205", + "$id": "201", "Name": "send", "ResourceName": "StringsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "197" - }, - { - "$id": "206", + "$id": "202", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "207", + "$id": "203", "kind": "constant", "valueType": { - "$id": "208", + "$id": "204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1931,7 +1897,7 @@ "SkipUrlEncoding": false }, { - "$id": "209", + "$id": "205", "Name": "sendRequest9", "NameInRequest": "sendRequest9", "Type": { @@ -1950,7 +1916,7 @@ ], "Responses": [ { - "$id": "210", + "$id": "206", "StatusCodes": [ 204 ], @@ -1974,12 +1940,40 @@ } ], "Protocol": { - "$id": "211" + "$id": "207" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "197" + "$id": "208", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "209", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "210", + "Type": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1997,44 +1991,13 @@ "Parameters": [ { "$id": "214", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "215", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "216", - "Type": { - "$id": "217", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "218", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "219", + "$id": "215", "kind": "constant", "valueType": { - "$id": "220", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2056,7 +2019,7 @@ ], "Responses": [ { - "$id": "221", + "$id": "217", "StatusCodes": [ 200 ], @@ -2082,24 +2045,21 @@ "Decorators": [] }, { - "$id": "222", + "$id": "218", "Name": "send", "ResourceName": "StringExtensible", "Accessibility": "public", "Parameters": [ { - "$ref": "214" - }, - { - "$id": "223", + "$id": "219", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "224", + "$id": "220", "kind": "constant", "valueType": { - "$id": "225", + "$id": "221", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2119,7 +2079,7 @@ "SkipUrlEncoding": false }, { - "$id": "226", + "$id": "222", "Name": "sendRequest8", "NameInRequest": "sendRequest8", "Type": { @@ -2138,7 +2098,7 @@ ], "Responses": [ { - "$id": "227", + "$id": "223", "StatusCodes": [ 204 ], @@ -2162,12 +2122,40 @@ } ], "Protocol": { - "$id": "228" + "$id": "224" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "214" + "$id": "225", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "226", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "227", + "Type": { + "$id": "228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2185,44 +2173,13 @@ "Parameters": [ { "$id": "231", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "232", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "233", - "Type": { - "$id": "234", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "235", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "236", + "$id": "232", "kind": "constant", "valueType": { - "$id": "237", + "$id": "233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2244,7 +2201,7 @@ ], "Responses": [ { - "$id": "238", + "$id": "234", "StatusCodes": [ 200 ], @@ -2270,24 +2227,21 @@ "Decorators": [] }, { - "$id": "239", + "$id": "235", "Name": "send", "ResourceName": "StringExtensibleNamed", "Accessibility": "public", "Parameters": [ { - "$ref": "231" - }, - { - "$id": "240", + "$id": "236", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "241", + "$id": "237", "kind": "constant", "valueType": { - "$id": "242", + "$id": "238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2307,7 +2261,7 @@ "SkipUrlEncoding": false }, { - "$id": "243", + "$id": "239", "Name": "sendRequest7", "NameInRequest": "sendRequest7", "Type": { @@ -2326,7 +2280,7 @@ ], "Responses": [ { - "$id": "244", + "$id": "240", "StatusCodes": [ 204 ], @@ -2350,12 +2304,40 @@ } ], "Protocol": { - "$id": "245" + "$id": "241" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "231" + "$id": "242", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "243", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "244", + "Type": { + "$id": "245", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2373,44 +2355,13 @@ "Parameters": [ { "$id": "248", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "249", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "250", - "Type": { - "$id": "251", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "252", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "253", + "$id": "249", "kind": "constant", "valueType": { - "$id": "254", + "$id": "250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2432,7 +2383,7 @@ ], "Responses": [ { - "$id": "255", + "$id": "251", "StatusCodes": [ 200 ], @@ -2458,24 +2409,21 @@ "Decorators": [] }, { - "$id": "256", + "$id": "252", "Name": "send", "ResourceName": "IntsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "248" - }, - { - "$id": "257", + "$id": "253", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "258", + "$id": "254", "kind": "constant", "valueType": { - "$id": "259", + "$id": "255", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2495,7 +2443,7 @@ "SkipUrlEncoding": false }, { - "$id": "260", + "$id": "256", "Name": "sendRequest6", "NameInRequest": "sendRequest6", "Type": { @@ -2514,7 +2462,7 @@ ], "Responses": [ { - "$id": "261", + "$id": "257", "StatusCodes": [ 204 ], @@ -2538,12 +2486,40 @@ } ], "Protocol": { - "$id": "262" + "$id": "258" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "248" + "$id": "259", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "260", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "261", + "Type": { + "$id": "262", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2561,44 +2537,13 @@ "Parameters": [ { "$id": "265", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "266", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "267", - "Type": { - "$id": "268", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "269", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "270", + "$id": "266", "kind": "constant", "valueType": { - "$id": "271", + "$id": "267", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2620,7 +2565,7 @@ ], "Responses": [ { - "$id": "272", + "$id": "268", "StatusCodes": [ 200 ], @@ -2646,24 +2591,21 @@ "Decorators": [] }, { - "$id": "273", + "$id": "269", "Name": "send", "ResourceName": "FloatsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "265" - }, - { - "$id": "274", + "$id": "270", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "275", + "$id": "271", "kind": "constant", "valueType": { - "$id": "276", + "$id": "272", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2683,7 +2625,7 @@ "SkipUrlEncoding": false }, { - "$id": "277", + "$id": "273", "Name": "sendRequest5", "NameInRequest": "sendRequest5", "Type": { @@ -2702,7 +2644,7 @@ ], "Responses": [ { - "$id": "278", + "$id": "274", "StatusCodes": [ 204 ], @@ -2726,12 +2668,40 @@ } ], "Protocol": { - "$id": "279" + "$id": "275" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "265" + "$id": "276", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "277", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "278", + "Type": { + "$id": "279", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2749,44 +2719,13 @@ "Parameters": [ { "$id": "282", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "283", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "284", - "Type": { - "$id": "285", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "286", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "287", + "$id": "283", "kind": "constant", "valueType": { - "$id": "288", + "$id": "284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2808,7 +2747,7 @@ ], "Responses": [ { - "$id": "289", + "$id": "285", "StatusCodes": [ 200 ], @@ -2834,24 +2773,21 @@ "Decorators": [] }, { - "$id": "290", + "$id": "286", "Name": "send", "ResourceName": "ModelsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "282" - }, - { - "$id": "291", + "$id": "287", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "292", + "$id": "288", "kind": "constant", "valueType": { - "$id": "293", + "$id": "289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2871,7 +2807,7 @@ "SkipUrlEncoding": false }, { - "$id": "294", + "$id": "290", "Name": "sendRequest4", "NameInRequest": "sendRequest4", "Type": { @@ -2890,7 +2826,7 @@ ], "Responses": [ { - "$id": "295", + "$id": "291", "StatusCodes": [ 204 ], @@ -2914,12 +2850,40 @@ } ], "Protocol": { - "$id": "296" + "$id": "292" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "282" + "$id": "293", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "294", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "295", + "Type": { + "$id": "296", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2937,44 +2901,13 @@ "Parameters": [ { "$id": "299", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "300", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "301", - "Type": { - "$id": "302", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "303", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "304", + "$id": "300", "kind": "constant", "valueType": { - "$id": "305", + "$id": "301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2996,7 +2929,7 @@ ], "Responses": [ { - "$id": "306", + "$id": "302", "StatusCodes": [ 200 ], @@ -3022,24 +2955,21 @@ "Decorators": [] }, { - "$id": "307", + "$id": "303", "Name": "send", "ResourceName": "EnumsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "299" - }, - { - "$id": "308", + "$id": "304", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "309", + "$id": "305", "kind": "constant", "valueType": { - "$id": "310", + "$id": "306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3059,7 +2989,7 @@ "SkipUrlEncoding": false }, { - "$id": "311", + "$id": "307", "Name": "sendRequest3", "NameInRequest": "sendRequest3", "Type": { @@ -3078,7 +3008,7 @@ ], "Responses": [ { - "$id": "312", + "$id": "308", "StatusCodes": [ 204 ], @@ -3102,12 +3032,40 @@ } ], "Protocol": { - "$id": "313" + "$id": "309" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "299" + "$id": "310", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "311", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "312", + "Type": { + "$id": "313", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3125,44 +3083,13 @@ "Parameters": [ { "$id": "316", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "317", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "318", - "Type": { - "$id": "319", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "320", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "321", + "$id": "317", "kind": "constant", "valueType": { - "$id": "322", + "$id": "318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3184,7 +3111,7 @@ ], "Responses": [ { - "$id": "323", + "$id": "319", "StatusCodes": [ 200 ], @@ -3210,24 +3137,21 @@ "Decorators": [] }, { - "$id": "324", + "$id": "320", "Name": "send", "ResourceName": "StringAndArray", "Accessibility": "public", "Parameters": [ { - "$ref": "316" - }, - { - "$id": "325", + "$id": "321", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "326", + "$id": "322", "kind": "constant", "valueType": { - "$id": "327", + "$id": "323", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3247,7 +3171,7 @@ "SkipUrlEncoding": false }, { - "$id": "328", + "$id": "324", "Name": "sendRequest2", "NameInRequest": "sendRequest2", "Type": { @@ -3266,7 +3190,7 @@ ], "Responses": [ { - "$id": "329", + "$id": "325", "StatusCodes": [ 204 ], @@ -3290,12 +3214,40 @@ } ], "Protocol": { - "$id": "330" + "$id": "326" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "316" + "$id": "327", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "328", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "329", + "Type": { + "$id": "330", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3313,44 +3265,13 @@ "Parameters": [ { "$id": "333", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "334", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "335", - "Type": { - "$id": "336", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "337", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "338", + "$id": "334", "kind": "constant", "valueType": { - "$id": "339", + "$id": "335", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3372,7 +3293,7 @@ ], "Responses": [ { - "$id": "340", + "$id": "336", "StatusCodes": [ 200 ], @@ -3398,24 +3319,21 @@ "Decorators": [] }, { - "$id": "341", + "$id": "337", "Name": "send", "ResourceName": "MixedLiterals", "Accessibility": "public", "Parameters": [ { - "$ref": "333" - }, - { - "$id": "342", + "$id": "338", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "343", + "$id": "339", "kind": "constant", "valueType": { - "$id": "344", + "$id": "340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3435,7 +3353,7 @@ "SkipUrlEncoding": false }, { - "$id": "345", + "$id": "341", "Name": "sendRequest1", "NameInRequest": "sendRequest1", "Type": { @@ -3454,7 +3372,7 @@ ], "Responses": [ { - "$id": "346", + "$id": "342", "StatusCodes": [ 204 ], @@ -3478,12 +3396,40 @@ } ], "Protocol": { - "$id": "347" + "$id": "343" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "333" + "$id": "344", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "345", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "346", + "Type": { + "$id": "347", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3501,44 +3447,13 @@ "Parameters": [ { "$id": "350", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "351", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "352", - "Type": { - "$id": "353", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "354", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "355", + "$id": "351", "kind": "constant", "valueType": { - "$id": "356", + "$id": "352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3560,7 +3475,7 @@ ], "Responses": [ { - "$id": "357", + "$id": "353", "StatusCodes": [ 200 ], @@ -3586,24 +3501,21 @@ "Decorators": [] }, { - "$id": "358", + "$id": "354", "Name": "send", "ResourceName": "MixedTypes", "Accessibility": "public", "Parameters": [ { - "$ref": "350" - }, - { - "$id": "359", + "$id": "355", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "360", + "$id": "356", "kind": "constant", "valueType": { - "$id": "361", + "$id": "357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3623,7 +3535,7 @@ "SkipUrlEncoding": false }, { - "$id": "362", + "$id": "358", "Name": "sendRequest", "NameInRequest": "sendRequest", "Type": { @@ -3642,7 +3554,7 @@ ], "Responses": [ { - "$id": "363", + "$id": "359", "StatusCodes": [ 204 ], @@ -3666,12 +3578,40 @@ } ], "Protocol": { - "$id": "364" + "$id": "360" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "350" + "$id": "361", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "362", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "363", + "Type": { + "$id": "364", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjects/versioning/added/src/Generated/Docs/AddedClient.xml b/test/CadlRanchProjects/versioning/added/src/Generated/Docs/AddedClient.xml index 1ad175937c0..6c14e2bdb5e 100644 --- a/test/CadlRanchProjects/versioning/added/src/Generated/Docs/AddedClient.xml +++ b/test/CadlRanchProjects/versioning/added/src/Generated/Docs/AddedClient.xml @@ -5,16 +5,16 @@ This sample shows how to call V1Async. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); ModelV1 body = new ModelV1("", EnumV1.EnumMemberV1, BinaryData.FromObjectAsJson("")); Response response = await client.V1Async("", body); ]]> This sample shows how to call V1Async with all parameters. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); ModelV1 body = new ModelV1("", EnumV1.EnumMemberV1, BinaryData.FromObjectAsJson("")); Response response = await client.V1Async("", body); @@ -24,16 +24,16 @@ Response response = await client.V1Async("", body); This sample shows how to call V1. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); ModelV1 body = new ModelV1("", EnumV1.EnumMemberV1, BinaryData.FromObjectAsJson("")); Response response = client.V1("", body); ]]> This sample shows how to call V1 with all parameters. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); ModelV1 body = new ModelV1("", EnumV1.EnumMemberV1, BinaryData.FromObjectAsJson("")); Response response = client.V1("", body); @@ -43,8 +43,8 @@ Response response = client.V1("", body); This sample shows how to call V1Async and parse the result. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -61,8 +61,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call V1Async with all parameters and request content and parse the result. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -82,8 +82,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); This sample shows how to call V1 and parse the result. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -100,8 +100,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call V1 with all parameters and request content and parse the result. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -121,16 +121,16 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); This sample shows how to call V2Async. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.V2Async(body); ]]> This sample shows how to call V2Async with all parameters. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.V2Async(body); @@ -140,16 +140,16 @@ Response response = await client.V2Async(body); This sample shows how to call V2. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = client.V2(body); ]]> This sample shows how to call V2 with all parameters. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = client.V2(body); @@ -159,8 +159,8 @@ Response response = client.V2(body); This sample shows how to call V2Async and parse the result. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -177,8 +177,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call V2Async with all request content and parse the result. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -198,8 +198,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); This sample shows how to call V2 and parse the result. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -216,8 +216,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call V2 with all request content and parse the result. "); -AddedClient client = new AddedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { diff --git a/test/CadlRanchProjects/versioning/added/src/Generated/Docs/InterfaceV2.xml b/test/CadlRanchProjects/versioning/added/src/Generated/Docs/InterfaceV2.xml index 41087611d97..fa82d3b1d31 100644 --- a/test/CadlRanchProjects/versioning/added/src/Generated/Docs/InterfaceV2.xml +++ b/test/CadlRanchProjects/versioning/added/src/Generated/Docs/InterfaceV2.xml @@ -5,16 +5,16 @@ This sample shows how to call V2InInterfaceAsync. "); -InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); +Uri endpoint = new Uri(""); +InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.V2InInterfaceAsync(body); ]]> This sample shows how to call V2InInterfaceAsync with all parameters. "); -InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); +Uri endpoint = new Uri(""); +InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.V2InInterfaceAsync(body); @@ -24,16 +24,16 @@ Response response = await client.V2InInterfaceAsync(body); This sample shows how to call V2InInterface. "); -InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); +Uri endpoint = new Uri(""); +InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = client.V2InInterface(body); ]]> This sample shows how to call V2InInterface with all parameters. "); -InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); +Uri endpoint = new Uri(""); +InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = client.V2InInterface(body); @@ -43,8 +43,8 @@ Response response = client.V2InInterface(body); This sample shows how to call V2InInterfaceAsync and parse the result. "); -InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); +Uri endpoint = new Uri(""); +InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); using RequestContent content = RequestContent.Create(new { @@ -61,8 +61,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call V2InInterfaceAsync with all request content and parse the result. "); -InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); +Uri endpoint = new Uri(""); +InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); using RequestContent content = RequestContent.Create(new { @@ -82,8 +82,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); This sample shows how to call V2InInterface and parse the result. "); -InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); +Uri endpoint = new Uri(""); +InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); using RequestContent content = RequestContent.Create(new { @@ -100,8 +100,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call V2InInterface with all request content and parse the result. "); -InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); +Uri endpoint = new Uri(""); +InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); using RequestContent content = RequestContent.Create(new { diff --git a/test/CadlRanchProjects/versioning/added/tests/Generated/Samples/Samples_AddedClient.cs b/test/CadlRanchProjects/versioning/added/tests/Generated/Samples/Samples_AddedClient.cs index 501cc72bba4..fcb4384d7b5 100644 --- a/test/CadlRanchProjects/versioning/added/tests/Generated/Samples/Samples_AddedClient.cs +++ b/test/CadlRanchProjects/versioning/added/tests/Generated/Samples/Samples_AddedClient.cs @@ -22,8 +22,8 @@ public partial class Samples_AddedClient [Ignore("Only validating compilation of examples")] public void Example_Added_V1_ShortVersion() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -43,8 +43,8 @@ public void Example_Added_V1_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Added_V1_ShortVersion_Async() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -64,8 +64,8 @@ public async Task Example_Added_V1_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Added_V1_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); ModelV1 body = new ModelV1("", EnumV1.EnumMemberV1, BinaryData.FromObjectAsJson("")); Response response = client.V1("", body); @@ -75,8 +75,8 @@ public void Example_Added_V1_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Added_V1_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); ModelV1 body = new ModelV1("", EnumV1.EnumMemberV1, BinaryData.FromObjectAsJson("")); Response response = await client.V1Async("", body); @@ -86,8 +86,8 @@ public async Task Example_Added_V1_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Added_V1_AllParameters() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -107,8 +107,8 @@ public void Example_Added_V1_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Added_V1_AllParameters_Async() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -128,8 +128,8 @@ public async Task Example_Added_V1_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Added_V1_AllParameters_Convenience() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); ModelV1 body = new ModelV1("", EnumV1.EnumMemberV1, BinaryData.FromObjectAsJson("")); Response response = client.V1("", body); @@ -139,8 +139,8 @@ public void Example_Added_V1_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Added_V1_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); ModelV1 body = new ModelV1("", EnumV1.EnumMemberV1, BinaryData.FromObjectAsJson("")); Response response = await client.V1Async("", body); @@ -150,8 +150,8 @@ public async Task Example_Added_V1_AllParameters_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Added_V2_ShortVersion() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -171,8 +171,8 @@ public void Example_Added_V2_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Added_V2_ShortVersion_Async() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -192,8 +192,8 @@ public async Task Example_Added_V2_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Added_V2_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = client.V2(body); @@ -203,8 +203,8 @@ public void Example_Added_V2_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Added_V2_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.V2Async(body); @@ -214,8 +214,8 @@ public async Task Example_Added_V2_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Added_V2_AllParameters() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -235,8 +235,8 @@ public void Example_Added_V2_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Added_V2_AllParameters_Async() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -256,8 +256,8 @@ public async Task Example_Added_V2_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Added_V2_AllParameters_Convenience() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = client.V2(body); @@ -267,8 +267,8 @@ public void Example_Added_V2_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Added_V2_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); - AddedClient client = new AddedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + AddedClient client = new AddedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.V2Async(body); diff --git a/test/CadlRanchProjects/versioning/added/tests/Generated/Samples/Samples_InterfaceV2.cs b/test/CadlRanchProjects/versioning/added/tests/Generated/Samples/Samples_InterfaceV2.cs index 04dc75cfc12..10365c1005f 100644 --- a/test/CadlRanchProjects/versioning/added/tests/Generated/Samples/Samples_InterfaceV2.cs +++ b/test/CadlRanchProjects/versioning/added/tests/Generated/Samples/Samples_InterfaceV2.cs @@ -22,8 +22,8 @@ public partial class Samples_InterfaceV2 [Ignore("Only validating compilation of examples")] public void Example_InterfaceV2_V2InInterface_ShortVersion() { - Uri endpoint = new Uri(""); - InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); + Uri endpoint = new Uri(""); + InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); using RequestContent content = RequestContent.Create(new { @@ -43,8 +43,8 @@ public void Example_InterfaceV2_V2InInterface_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_InterfaceV2_V2InInterface_ShortVersion_Async() { - Uri endpoint = new Uri(""); - InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); + Uri endpoint = new Uri(""); + InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); using RequestContent content = RequestContent.Create(new { @@ -64,8 +64,8 @@ public async Task Example_InterfaceV2_V2InInterface_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_InterfaceV2_V2InInterface_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); - InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); + Uri endpoint = new Uri(""); + InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = client.V2InInterface(body); @@ -75,8 +75,8 @@ public void Example_InterfaceV2_V2InInterface_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_InterfaceV2_V2InInterface_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); - InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); + Uri endpoint = new Uri(""); + InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.V2InInterfaceAsync(body); @@ -86,8 +86,8 @@ public async Task Example_InterfaceV2_V2InInterface_ShortVersion_Convenience_Asy [Ignore("Only validating compilation of examples")] public void Example_InterfaceV2_V2InInterface_AllParameters() { - Uri endpoint = new Uri(""); - InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); + Uri endpoint = new Uri(""); + InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); using RequestContent content = RequestContent.Create(new { @@ -107,8 +107,8 @@ public void Example_InterfaceV2_V2InInterface_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_InterfaceV2_V2InInterface_AllParameters_Async() { - Uri endpoint = new Uri(""); - InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); + Uri endpoint = new Uri(""); + InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); using RequestContent content = RequestContent.Create(new { @@ -128,8 +128,8 @@ public async Task Example_InterfaceV2_V2InInterface_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_InterfaceV2_V2InInterface_AllParameters_Convenience() { - Uri endpoint = new Uri(""); - InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); + Uri endpoint = new Uri(""); + InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = client.V2InInterface(body); @@ -139,8 +139,8 @@ public void Example_InterfaceV2_V2InInterface_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_InterfaceV2_V2InInterface_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); - InterfaceV2 client = new AddedClient(endpoint, Versions.V1).GetInterfaceV2Client(); + Uri endpoint = new Uri(""); + InterfaceV2 client = new AddedClient(endpoint, default).GetInterfaceV2Client(); ModelV2 body = new ModelV2("", EnumV2.EnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.V2InInterfaceAsync(body); diff --git a/test/CadlRanchProjects/versioning/added/tspCodeModel.json b/test/CadlRanchProjects/versioning/added/tspCodeModel.json index c9d2bbaf6f3..b97fdf50a09 100644 --- a/test/CadlRanchProjects/versioning/added/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/added/tspCodeModel.json @@ -331,49 +331,10 @@ "Parameters": [ { "$id": "37", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "38", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "39", - "Name": "version", - "NameInRequest": "version", - "Description": "Need to be set as 'v1' or 'v2' in client.", - "Type": { - "$ref": "12" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "40", "Name": "headerV2", "NameInRequest": "header-v2", "Type": { - "$id": "41", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -390,15 +351,15 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "39", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "43", + "$id": "40", "kind": "constant", "valueType": { - "$id": "44", + "$id": "41", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -418,14 +379,14 @@ "SkipUrlEncoding": false }, { - "$id": "45", + "$id": "42", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "46", + "$id": "43", "kind": "constant", "valueType": { - "$id": "47", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -445,7 +406,7 @@ "SkipUrlEncoding": false }, { - "$id": "48", + "$id": "45", "Name": "body", "NameInRequest": "body", "Type": { @@ -464,7 +425,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "46", "StatusCodes": [ 200 ], @@ -493,27 +454,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "47", "Name": "v2", "ResourceName": "Added", "Accessibility": "public", "Parameters": [ { - "$ref": "37" - }, - { - "$ref": "39" - }, - { - "$id": "51", + "$id": "48", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "49", "kind": "constant", "valueType": { - "$id": "53", + "$id": "50", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -533,14 +488,14 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "51", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "55", + "$id": "52", "kind": "constant", "valueType": { - "$id": "56", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -560,7 +515,7 @@ "SkipUrlEncoding": false }, { - "$id": "57", + "$id": "54", "Name": "body", "NameInRequest": "body", "Type": { @@ -579,7 +534,7 @@ ], "Responses": [ { - "$id": "58", + "$id": "55", "StatusCodes": [ 200 ], @@ -609,14 +564,47 @@ } ], "Protocol": { - "$id": "59" + "$id": "56" }, "Parameters": [ { - "$ref": "37" + "$id": "57", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "58", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "39" + "$id": "59", + "Name": "version", + "NameInRequest": "version", + "Description": "Need to be set as 'v1' or 'v2' in client.", + "Type": { + "$ref": "12" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -633,53 +621,14 @@ "Parameters": [ { "$id": "62", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "63", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "64", - "Name": "version", - "NameInRequest": "version", - "Description": "Need to be set as 'v1' or 'v2' in client.", - "Type": { - "$ref": "12" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "65", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "66", + "$id": "63", "kind": "constant", "valueType": { - "$id": "67", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -699,14 +648,14 @@ "SkipUrlEncoding": false }, { - "$id": "68", + "$id": "65", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "69", + "$id": "66", "kind": "constant", "valueType": { - "$id": "70", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -726,7 +675,7 @@ "SkipUrlEncoding": false }, { - "$id": "71", + "$id": "68", "Name": "body", "NameInRequest": "body", "Type": { @@ -745,7 +694,7 @@ ], "Responses": [ { - "$id": "72", + "$id": "69", "StatusCodes": [ 200 ], @@ -775,15 +724,48 @@ } ], "Protocol": { - "$id": "73" + "$id": "70" }, "Parent": "AddedClient", "Parameters": [ { - "$ref": "62" + "$id": "71", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "72", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "64" + "$id": "73", + "Name": "version", + "NameInRequest": "version", + "Description": "Need to be set as 'v1' or 'v2' in client.", + "Type": { + "$ref": "12" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/versioning/madeOptional/src/Generated/Docs/MadeOptionalClient.xml b/test/CadlRanchProjects/versioning/madeOptional/src/Generated/Docs/MadeOptionalClient.xml index bced249d7ce..bfa02de24ad 100644 --- a/test/CadlRanchProjects/versioning/madeOptional/src/Generated/Docs/MadeOptionalClient.xml +++ b/test/CadlRanchProjects/versioning/madeOptional/src/Generated/Docs/MadeOptionalClient.xml @@ -5,16 +5,16 @@ This sample shows how to call TestAsync. "); -MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +MadeOptionalClient client = new MadeOptionalClient(endpoint, default); TestModel body = new TestModel(""); Response response = await client.TestAsync(body); ]]> This sample shows how to call TestAsync with all parameters. "); -MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +MadeOptionalClient client = new MadeOptionalClient(endpoint, default); TestModel body = new TestModel("") { @@ -27,16 +27,16 @@ Response response = await client.TestAsync(body, param: ""); This sample shows how to call Test. "); -MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +MadeOptionalClient client = new MadeOptionalClient(endpoint, default); TestModel body = new TestModel(""); Response response = client.Test(body); ]]> This sample shows how to call Test with all parameters. "); -MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +MadeOptionalClient client = new MadeOptionalClient(endpoint, default); TestModel body = new TestModel("") { @@ -49,8 +49,8 @@ Response response = client.Test(body, param: ""); This sample shows how to call TestAsync and parse the result. "); -MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +MadeOptionalClient client = new MadeOptionalClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -63,8 +63,8 @@ Console.WriteLine(result.GetProperty("prop").ToString()); ]]> This sample shows how to call TestAsync with all parameters and request content and parse the result. "); -MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +MadeOptionalClient client = new MadeOptionalClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -82,8 +82,8 @@ Console.WriteLine(result.GetProperty("changedProp").ToString()); This sample shows how to call Test and parse the result. "); -MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +MadeOptionalClient client = new MadeOptionalClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -96,8 +96,8 @@ Console.WriteLine(result.GetProperty("prop").ToString()); ]]> This sample shows how to call Test with all parameters and request content and parse the result. "); -MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +MadeOptionalClient client = new MadeOptionalClient(endpoint, default); using RequestContent content = RequestContent.Create(new { diff --git a/test/CadlRanchProjects/versioning/madeOptional/tests/Generated/Samples/Samples_MadeOptionalClient.cs b/test/CadlRanchProjects/versioning/madeOptional/tests/Generated/Samples/Samples_MadeOptionalClient.cs index ea013ae0cad..9f1607aefb1 100644 --- a/test/CadlRanchProjects/versioning/madeOptional/tests/Generated/Samples/Samples_MadeOptionalClient.cs +++ b/test/CadlRanchProjects/versioning/madeOptional/tests/Generated/Samples/Samples_MadeOptionalClient.cs @@ -22,8 +22,8 @@ public partial class Samples_MadeOptionalClient [Ignore("Only validating compilation of examples")] public void Example_MadeOptional_Test_ShortVersion() { - Uri endpoint = new Uri(""); - MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + MadeOptionalClient client = new MadeOptionalClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -39,8 +39,8 @@ public void Example_MadeOptional_Test_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_MadeOptional_Test_ShortVersion_Async() { - Uri endpoint = new Uri(""); - MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + MadeOptionalClient client = new MadeOptionalClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -56,8 +56,8 @@ public async Task Example_MadeOptional_Test_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_MadeOptional_Test_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); - MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + MadeOptionalClient client = new MadeOptionalClient(endpoint, default); TestModel body = new TestModel(""); Response response = client.Test(body); @@ -67,8 +67,8 @@ public void Example_MadeOptional_Test_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_MadeOptional_Test_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); - MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + MadeOptionalClient client = new MadeOptionalClient(endpoint, default); TestModel body = new TestModel(""); Response response = await client.TestAsync(body); @@ -78,8 +78,8 @@ public async Task Example_MadeOptional_Test_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_MadeOptional_Test_AllParameters() { - Uri endpoint = new Uri(""); - MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + MadeOptionalClient client = new MadeOptionalClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -97,8 +97,8 @@ public void Example_MadeOptional_Test_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_MadeOptional_Test_AllParameters_Async() { - Uri endpoint = new Uri(""); - MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + MadeOptionalClient client = new MadeOptionalClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -116,8 +116,8 @@ public async Task Example_MadeOptional_Test_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_MadeOptional_Test_AllParameters_Convenience() { - Uri endpoint = new Uri(""); - MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + MadeOptionalClient client = new MadeOptionalClient(endpoint, default); TestModel body = new TestModel("") { @@ -130,8 +130,8 @@ public void Example_MadeOptional_Test_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_MadeOptional_Test_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); - MadeOptionalClient client = new MadeOptionalClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + MadeOptionalClient client = new MadeOptionalClient(endpoint, default); TestModel body = new TestModel("") { diff --git a/test/CadlRanchProjects/versioning/madeOptional/tspCodeModel.json b/test/CadlRanchProjects/versioning/madeOptional/tspCodeModel.json index 47eefab656a..90207ea9588 100644 --- a/test/CadlRanchProjects/versioning/madeOptional/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/madeOptional/tspCodeModel.json @@ -127,49 +127,10 @@ "Parameters": [ { "$id": "15", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "16", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "17", - "Name": "version", - "NameInRequest": "version", - "Description": "Need to be set as 'v1' or 'v2' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "18", "Name": "param", "NameInRequest": "param", "Type": { - "$id": "19", + "$id": "16", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -186,15 +147,15 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "17", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "21", + "$id": "18", "kind": "constant", "valueType": { - "$id": "22", + "$id": "19", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -214,14 +175,14 @@ "SkipUrlEncoding": false }, { - "$id": "23", + "$id": "20", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "24", + "$id": "21", "kind": "constant", "valueType": { - "$id": "25", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -241,7 +202,7 @@ "SkipUrlEncoding": false }, { - "$id": "26", + "$id": "23", "Name": "body", "NameInRequest": "body", "Type": { @@ -260,7 +221,7 @@ ], "Responses": [ { - "$id": "27", + "$id": "24", "StatusCodes": [ 200 ], @@ -290,14 +251,47 @@ } ], "Protocol": { - "$id": "28" + "$id": "25" }, "Parameters": [ { - "$ref": "15" + "$id": "26", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "27", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "17" + "$id": "28", + "Name": "version", + "NameInRequest": "version", + "Description": "Need to be set as 'v1' or 'v2' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/versioning/removed/src/Generated/Docs/RemovedClient.xml b/test/CadlRanchProjects/versioning/removed/src/Generated/Docs/RemovedClient.xml index 21a929ce4b8..99d23084878 100644 --- a/test/CadlRanchProjects/versioning/removed/src/Generated/Docs/RemovedClient.xml +++ b/test/CadlRanchProjects/versioning/removed/src/Generated/Docs/RemovedClient.xml @@ -5,16 +5,16 @@ This sample shows how to call V2Async. "); -RemovedClient client = new RemovedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RemovedClient client = new RemovedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMemberV2, BinaryData.FromObjectAsJson("")); Response response = await client.V2Async(body); ]]> This sample shows how to call V2Async with all parameters. "); -RemovedClient client = new RemovedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RemovedClient client = new RemovedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMemberV2, BinaryData.FromObjectAsJson("")); Response response = await client.V2Async(body); @@ -24,16 +24,16 @@ Response response = await client.V2Async(body); This sample shows how to call V2. "); -RemovedClient client = new RemovedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RemovedClient client = new RemovedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMemberV2, BinaryData.FromObjectAsJson("")); Response response = client.V2(body); ]]> This sample shows how to call V2 with all parameters. "); -RemovedClient client = new RemovedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RemovedClient client = new RemovedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMemberV2, BinaryData.FromObjectAsJson("")); Response response = client.V2(body); @@ -43,8 +43,8 @@ Response response = client.V2(body); This sample shows how to call V2Async and parse the result. "); -RemovedClient client = new RemovedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RemovedClient client = new RemovedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -61,8 +61,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call V2Async with all request content and parse the result. "); -RemovedClient client = new RemovedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RemovedClient client = new RemovedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -82,8 +82,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); This sample shows how to call V2 and parse the result. "); -RemovedClient client = new RemovedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RemovedClient client = new RemovedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -100,8 +100,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call V2 with all request content and parse the result. "); -RemovedClient client = new RemovedClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RemovedClient client = new RemovedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { diff --git a/test/CadlRanchProjects/versioning/removed/tests/Generated/Samples/Samples_RemovedClient.cs b/test/CadlRanchProjects/versioning/removed/tests/Generated/Samples/Samples_RemovedClient.cs index 7c9f65f8043..c8526e8f011 100644 --- a/test/CadlRanchProjects/versioning/removed/tests/Generated/Samples/Samples_RemovedClient.cs +++ b/test/CadlRanchProjects/versioning/removed/tests/Generated/Samples/Samples_RemovedClient.cs @@ -22,8 +22,8 @@ public partial class Samples_RemovedClient [Ignore("Only validating compilation of examples")] public void Example_Removed_V2_ShortVersion() { - Uri endpoint = new Uri(""); - RemovedClient client = new RemovedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RemovedClient client = new RemovedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -43,8 +43,8 @@ public void Example_Removed_V2_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Removed_V2_ShortVersion_Async() { - Uri endpoint = new Uri(""); - RemovedClient client = new RemovedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RemovedClient client = new RemovedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -64,8 +64,8 @@ public async Task Example_Removed_V2_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Removed_V2_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); - RemovedClient client = new RemovedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RemovedClient client = new RemovedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMemberV2, BinaryData.FromObjectAsJson("")); Response response = client.V2(body); @@ -75,8 +75,8 @@ public void Example_Removed_V2_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Removed_V2_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); - RemovedClient client = new RemovedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RemovedClient client = new RemovedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMemberV2, BinaryData.FromObjectAsJson("")); Response response = await client.V2Async(body); @@ -86,8 +86,8 @@ public async Task Example_Removed_V2_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Removed_V2_AllParameters() { - Uri endpoint = new Uri(""); - RemovedClient client = new RemovedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RemovedClient client = new RemovedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -107,8 +107,8 @@ public void Example_Removed_V2_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Removed_V2_AllParameters_Async() { - Uri endpoint = new Uri(""); - RemovedClient client = new RemovedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RemovedClient client = new RemovedClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -128,8 +128,8 @@ public async Task Example_Removed_V2_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Removed_V2_AllParameters_Convenience() { - Uri endpoint = new Uri(""); - RemovedClient client = new RemovedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RemovedClient client = new RemovedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMemberV2, BinaryData.FromObjectAsJson("")); Response response = client.V2(body); @@ -139,8 +139,8 @@ public void Example_Removed_V2_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Removed_V2_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); - RemovedClient client = new RemovedClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RemovedClient client = new RemovedClient(endpoint, default); ModelV2 body = new ModelV2("", EnumV2.EnumMemberV2, BinaryData.FromObjectAsJson("")); Response response = await client.V2Async(body); diff --git a/test/CadlRanchProjects/versioning/removed/tspCodeModel.json b/test/CadlRanchProjects/versioning/removed/tspCodeModel.json index 6dc03296a89..41c9f525e8e 100644 --- a/test/CadlRanchProjects/versioning/removed/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/removed/tspCodeModel.json @@ -193,53 +193,14 @@ "Parameters": [ { "$id": "22", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "23", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "24", - "Name": "version", - "NameInRequest": "version", - "Description": "Need to be set as 'v1' or 'v2' in client.", - "Type": { - "$ref": "6" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "25", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "26", + "$id": "23", "kind": "constant", "valueType": { - "$id": "27", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -259,14 +220,14 @@ "SkipUrlEncoding": false }, { - "$id": "28", + "$id": "25", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "29", + "$id": "26", "kind": "constant", "valueType": { - "$id": "30", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -286,7 +247,7 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "28", "Name": "body", "NameInRequest": "body", "Type": { @@ -305,7 +266,7 @@ ], "Responses": [ { - "$id": "32", + "$id": "29", "StatusCodes": [ 200 ], @@ -335,14 +296,47 @@ } ], "Protocol": { - "$id": "33" + "$id": "30" }, "Parameters": [ { - "$ref": "22" + "$id": "31", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "32", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "24" + "$id": "33", + "Name": "version", + "NameInRequest": "version", + "Description": "Need to be set as 'v1' or 'v2' in client.", + "Type": { + "$ref": "6" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/versioning/renamedFrom/src/Generated/Docs/NewInterface.xml b/test/CadlRanchProjects/versioning/renamedFrom/src/Generated/Docs/NewInterface.xml index 837b525e97d..a2067cd37d6 100644 --- a/test/CadlRanchProjects/versioning/renamedFrom/src/Generated/Docs/NewInterface.xml +++ b/test/CadlRanchProjects/versioning/renamedFrom/src/Generated/Docs/NewInterface.xml @@ -5,16 +5,16 @@ This sample shows how to call NewOpInNewInterfaceAsync. "); -NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); +Uri endpoint = new Uri(""); +NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.NewOpInNewInterfaceAsync(body); ]]> This sample shows how to call NewOpInNewInterfaceAsync with all parameters. "); -NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); +Uri endpoint = new Uri(""); +NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.NewOpInNewInterfaceAsync(body); @@ -24,16 +24,16 @@ Response response = await client.NewOpInNewInterfaceAsync(body); This sample shows how to call NewOpInNewInterface. "); -NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); +Uri endpoint = new Uri(""); +NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = client.NewOpInNewInterface(body); ]]> This sample shows how to call NewOpInNewInterface with all parameters. "); -NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); +Uri endpoint = new Uri(""); +NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = client.NewOpInNewInterface(body); @@ -43,8 +43,8 @@ Response response = client.NewOpInNewInterface(body); This sample shows how to call NewOpInNewInterfaceAsync and parse the result. "); -NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); +Uri endpoint = new Uri(""); +NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); using RequestContent content = RequestContent.Create(new { @@ -61,8 +61,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call NewOpInNewInterfaceAsync with all request content and parse the result. "); -NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); +Uri endpoint = new Uri(""); +NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); using RequestContent content = RequestContent.Create(new { @@ -82,8 +82,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); This sample shows how to call NewOpInNewInterface and parse the result. "); -NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); +Uri endpoint = new Uri(""); +NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); using RequestContent content = RequestContent.Create(new { @@ -100,8 +100,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call NewOpInNewInterface with all request content and parse the result. "); -NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); +Uri endpoint = new Uri(""); +NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); using RequestContent content = RequestContent.Create(new { diff --git a/test/CadlRanchProjects/versioning/renamedFrom/src/Generated/Docs/RenamedFromClient.xml b/test/CadlRanchProjects/versioning/renamedFrom/src/Generated/Docs/RenamedFromClient.xml index 5a577983b4f..76cdbb90b0e 100644 --- a/test/CadlRanchProjects/versioning/renamedFrom/src/Generated/Docs/RenamedFromClient.xml +++ b/test/CadlRanchProjects/versioning/renamedFrom/src/Generated/Docs/RenamedFromClient.xml @@ -5,16 +5,16 @@ This sample shows how to call NewOpAsync. "); -RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RenamedFromClient client = new RenamedFromClient(endpoint, default); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.NewOpAsync("", body); ]]> This sample shows how to call NewOpAsync with all parameters. "); -RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RenamedFromClient client = new RenamedFromClient(endpoint, default); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.NewOpAsync("", body); @@ -24,16 +24,16 @@ Response response = await client.NewOpAsync("", body); This sample shows how to call NewOp. "); -RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RenamedFromClient client = new RenamedFromClient(endpoint, default); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = client.NewOp("", body); ]]> This sample shows how to call NewOp with all parameters. "); -RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RenamedFromClient client = new RenamedFromClient(endpoint, default); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = client.NewOp("", body); @@ -43,8 +43,8 @@ Response response = client.NewOp("", body); This sample shows how to call NewOpAsync and parse the result. "); -RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RenamedFromClient client = new RenamedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -61,8 +61,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call NewOpAsync with all parameters and request content and parse the result. "); -RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RenamedFromClient client = new RenamedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -82,8 +82,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); This sample shows how to call NewOp and parse the result. "); -RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RenamedFromClient client = new RenamedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -100,8 +100,8 @@ Console.WriteLine(result.GetProperty("unionProp").ToString()); ]]> This sample shows how to call NewOp with all parameters and request content and parse the result. "); -RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +RenamedFromClient client = new RenamedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { diff --git a/test/CadlRanchProjects/versioning/renamedFrom/tests/Generated/Samples/Samples_NewInterface.cs b/test/CadlRanchProjects/versioning/renamedFrom/tests/Generated/Samples/Samples_NewInterface.cs index eb7c21075c1..be8bd62008b 100644 --- a/test/CadlRanchProjects/versioning/renamedFrom/tests/Generated/Samples/Samples_NewInterface.cs +++ b/test/CadlRanchProjects/versioning/renamedFrom/tests/Generated/Samples/Samples_NewInterface.cs @@ -22,8 +22,8 @@ public partial class Samples_NewInterface [Ignore("Only validating compilation of examples")] public void Example_NewInterface_NewOpInNewInterface_ShortVersion() { - Uri endpoint = new Uri(""); - NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); + Uri endpoint = new Uri(""); + NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); using RequestContent content = RequestContent.Create(new { @@ -43,8 +43,8 @@ public void Example_NewInterface_NewOpInNewInterface_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_NewInterface_NewOpInNewInterface_ShortVersion_Async() { - Uri endpoint = new Uri(""); - NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); + Uri endpoint = new Uri(""); + NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); using RequestContent content = RequestContent.Create(new { @@ -64,8 +64,8 @@ public async Task Example_NewInterface_NewOpInNewInterface_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_NewInterface_NewOpInNewInterface_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); - NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); + Uri endpoint = new Uri(""); + NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = client.NewOpInNewInterface(body); @@ -75,8 +75,8 @@ public void Example_NewInterface_NewOpInNewInterface_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_NewInterface_NewOpInNewInterface_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); - NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); + Uri endpoint = new Uri(""); + NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.NewOpInNewInterfaceAsync(body); @@ -86,8 +86,8 @@ public async Task Example_NewInterface_NewOpInNewInterface_ShortVersion_Convenie [Ignore("Only validating compilation of examples")] public void Example_NewInterface_NewOpInNewInterface_AllParameters() { - Uri endpoint = new Uri(""); - NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); + Uri endpoint = new Uri(""); + NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); using RequestContent content = RequestContent.Create(new { @@ -107,8 +107,8 @@ public void Example_NewInterface_NewOpInNewInterface_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_NewInterface_NewOpInNewInterface_AllParameters_Async() { - Uri endpoint = new Uri(""); - NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); + Uri endpoint = new Uri(""); + NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); using RequestContent content = RequestContent.Create(new { @@ -128,8 +128,8 @@ public async Task Example_NewInterface_NewOpInNewInterface_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_NewInterface_NewOpInNewInterface_AllParameters_Convenience() { - Uri endpoint = new Uri(""); - NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); + Uri endpoint = new Uri(""); + NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = client.NewOpInNewInterface(body); @@ -139,8 +139,8 @@ public void Example_NewInterface_NewOpInNewInterface_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_NewInterface_NewOpInNewInterface_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); - NewInterface client = new RenamedFromClient(endpoint, Versions.V1).GetNewInterfaceClient(); + Uri endpoint = new Uri(""); + NewInterface client = new RenamedFromClient(endpoint, default).GetNewInterfaceClient(); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.NewOpInNewInterfaceAsync(body); diff --git a/test/CadlRanchProjects/versioning/renamedFrom/tests/Generated/Samples/Samples_RenamedFromClient.cs b/test/CadlRanchProjects/versioning/renamedFrom/tests/Generated/Samples/Samples_RenamedFromClient.cs index 26d0078f2a8..c40578ec47c 100644 --- a/test/CadlRanchProjects/versioning/renamedFrom/tests/Generated/Samples/Samples_RenamedFromClient.cs +++ b/test/CadlRanchProjects/versioning/renamedFrom/tests/Generated/Samples/Samples_RenamedFromClient.cs @@ -22,8 +22,8 @@ public partial class Samples_RenamedFromClient [Ignore("Only validating compilation of examples")] public void Example_RenamedFrom_NewOp_ShortVersion() { - Uri endpoint = new Uri(""); - RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RenamedFromClient client = new RenamedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -43,8 +43,8 @@ public void Example_RenamedFrom_NewOp_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedFrom_NewOp_ShortVersion_Async() { - Uri endpoint = new Uri(""); - RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RenamedFromClient client = new RenamedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -64,8 +64,8 @@ public async Task Example_RenamedFrom_NewOp_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_RenamedFrom_NewOp_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); - RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RenamedFromClient client = new RenamedFromClient(endpoint, default); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = client.NewOp("", body); @@ -75,8 +75,8 @@ public void Example_RenamedFrom_NewOp_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedFrom_NewOp_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); - RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RenamedFromClient client = new RenamedFromClient(endpoint, default); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.NewOpAsync("", body); @@ -86,8 +86,8 @@ public async Task Example_RenamedFrom_NewOp_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_RenamedFrom_NewOp_AllParameters() { - Uri endpoint = new Uri(""); - RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RenamedFromClient client = new RenamedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -107,8 +107,8 @@ public void Example_RenamedFrom_NewOp_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedFrom_NewOp_AllParameters_Async() { - Uri endpoint = new Uri(""); - RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RenamedFromClient client = new RenamedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -128,8 +128,8 @@ public async Task Example_RenamedFrom_NewOp_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_RenamedFrom_NewOp_AllParameters_Convenience() { - Uri endpoint = new Uri(""); - RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RenamedFromClient client = new RenamedFromClient(endpoint, default); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = client.NewOp("", body); @@ -139,8 +139,8 @@ public void Example_RenamedFrom_NewOp_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_RenamedFrom_NewOp_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); - RenamedFromClient client = new RenamedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + RenamedFromClient client = new RenamedFromClient(endpoint, default); NewModel body = new NewModel("", NewEnum.NewEnumMember, BinaryData.FromObjectAsJson("")); Response response = await client.NewOpAsync("", body); diff --git a/test/CadlRanchProjects/versioning/renamedFrom/tspCodeModel.json b/test/CadlRanchProjects/versioning/renamedFrom/tspCodeModel.json index 8324e7ba394..95d70230571 100644 --- a/test/CadlRanchProjects/versioning/renamedFrom/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/renamedFrom/tspCodeModel.json @@ -200,49 +200,10 @@ "Parameters": [ { "$id": "23", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "24", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "25", - "Name": "version", - "NameInRequest": "version", - "Description": "Need to be set as 'v1' or 'v2' in client.", - "Type": { - "$ref": "6" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "26", "Name": "newQuery", "NameInRequest": "newQuery", "Type": { - "$id": "27", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -259,15 +220,15 @@ "SkipUrlEncoding": false }, { - "$id": "28", + "$id": "25", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "29", + "$id": "26", "kind": "constant", "valueType": { - "$id": "30", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -287,14 +248,14 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "28", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "32", + "$id": "29", "kind": "constant", "valueType": { - "$id": "33", + "$id": "30", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -314,7 +275,7 @@ "SkipUrlEncoding": false }, { - "$id": "34", + "$id": "31", "Name": "body", "NameInRequest": "body", "Type": { @@ -333,7 +294,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "32", "StatusCodes": [ 200 ], @@ -363,14 +324,47 @@ } ], "Protocol": { - "$id": "36" + "$id": "33" }, "Parameters": [ { - "$ref": "23" + "$id": "34", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "35", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "25" + "$id": "36", + "Name": "version", + "NameInRequest": "version", + "Description": "Need to be set as 'v1' or 'v2' in client.", + "Type": { + "$ref": "6" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -387,53 +381,14 @@ "Parameters": [ { "$id": "39", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "40", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "41", - "Name": "version", - "NameInRequest": "version", - "Description": "Need to be set as 'v1' or 'v2' in client.", - "Type": { - "$ref": "6" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "42", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "43", + "$id": "40", "kind": "constant", "valueType": { - "$id": "44", + "$id": "41", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -453,14 +408,14 @@ "SkipUrlEncoding": false }, { - "$id": "45", + "$id": "42", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "46", + "$id": "43", "kind": "constant", "valueType": { - "$id": "47", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -480,7 +435,7 @@ "SkipUrlEncoding": false }, { - "$id": "48", + "$id": "45", "Name": "body", "NameInRequest": "body", "Type": { @@ -499,7 +454,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "46", "StatusCodes": [ 200 ], @@ -529,15 +484,48 @@ } ], "Protocol": { - "$id": "50" + "$id": "47" }, "Parent": "RenamedFromClient", "Parameters": [ { - "$ref": "39" + "$id": "48", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "49", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "41" + "$id": "50", + "Name": "version", + "NameInRequest": "version", + "Description": "Need to be set as 'v1' or 'v2' in client.", + "Type": { + "$ref": "6" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/versioning/returnTypeChangedFrom/src/Generated/Docs/ReturnTypeChangedFromClient.xml b/test/CadlRanchProjects/versioning/returnTypeChangedFrom/src/Generated/Docs/ReturnTypeChangedFromClient.xml index 7b99ed07855..a8da6f86991 100644 --- a/test/CadlRanchProjects/versioning/returnTypeChangedFrom/src/Generated/Docs/ReturnTypeChangedFromClient.xml +++ b/test/CadlRanchProjects/versioning/returnTypeChangedFrom/src/Generated/Docs/ReturnTypeChangedFromClient.xml @@ -5,15 +5,15 @@ This sample shows how to call TestAsync. "); -ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); Response response = await client.TestAsync(""); ]]> This sample shows how to call TestAsync with all parameters. "); -ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); Response response = await client.TestAsync(""); ]]> @@ -22,15 +22,15 @@ Response response = await client.TestAsync(""); This sample shows how to call Test. "); -ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); Response response = client.Test(""); ]]> This sample shows how to call Test with all parameters. "); -ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); Response response = client.Test(""); ]]> @@ -39,8 +39,8 @@ Response response = client.Test(""); This sample shows how to call TestAsync and parse the result. "); -ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(""); Response response = await client.TestAsync(content); @@ -50,8 +50,8 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call TestAsync with all request content and parse the result. "); -ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(""); Response response = await client.TestAsync(content); @@ -64,8 +64,8 @@ Console.WriteLine(result.ToString()); This sample shows how to call Test and parse the result. "); -ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(""); Response response = client.Test(content); @@ -75,8 +75,8 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call Test with all request content and parse the result. "); -ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(""); Response response = client.Test(content); diff --git a/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tests/Generated/Samples/Samples_ReturnTypeChangedFromClient.cs b/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tests/Generated/Samples/Samples_ReturnTypeChangedFromClient.cs index c6c1200df83..8c4608193d8 100644 --- a/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tests/Generated/Samples/Samples_ReturnTypeChangedFromClient.cs +++ b/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tests/Generated/Samples/Samples_ReturnTypeChangedFromClient.cs @@ -22,8 +22,8 @@ public partial class Samples_ReturnTypeChangedFromClient [Ignore("Only validating compilation of examples")] public void Example_ReturnTypeChangedFrom_Test_ShortVersion() { - Uri endpoint = new Uri(""); - ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(""); Response response = client.Test(content); @@ -36,8 +36,8 @@ public void Example_ReturnTypeChangedFrom_Test_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ReturnTypeChangedFrom_Test_ShortVersion_Async() { - Uri endpoint = new Uri(""); - ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(""); Response response = await client.TestAsync(content); @@ -50,8 +50,8 @@ public async Task Example_ReturnTypeChangedFrom_Test_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ReturnTypeChangedFrom_Test_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); - ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); Response response = client.Test(""); } @@ -60,8 +60,8 @@ public void Example_ReturnTypeChangedFrom_Test_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_ReturnTypeChangedFrom_Test_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); - ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); Response response = await client.TestAsync(""); } @@ -70,8 +70,8 @@ public async Task Example_ReturnTypeChangedFrom_Test_ShortVersion_Convenience_As [Ignore("Only validating compilation of examples")] public void Example_ReturnTypeChangedFrom_Test_AllParameters() { - Uri endpoint = new Uri(""); - ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(""); Response response = client.Test(content); @@ -84,8 +84,8 @@ public void Example_ReturnTypeChangedFrom_Test_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ReturnTypeChangedFrom_Test_AllParameters_Async() { - Uri endpoint = new Uri(""); - ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(""); Response response = await client.TestAsync(content); @@ -98,8 +98,8 @@ public async Task Example_ReturnTypeChangedFrom_Test_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_ReturnTypeChangedFrom_Test_AllParameters_Convenience() { - Uri endpoint = new Uri(""); - ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); Response response = client.Test(""); } @@ -108,8 +108,8 @@ public void Example_ReturnTypeChangedFrom_Test_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_ReturnTypeChangedFrom_Test_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); - ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + ReturnTypeChangedFromClient client = new ReturnTypeChangedFromClient(endpoint, default); Response response = await client.TestAsync(""); } diff --git a/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tspCodeModel.json b/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tspCodeModel.json index e7d42621508..4e307e361d7 100644 --- a/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/returnTypeChangedFrom/tspCodeModel.json @@ -78,53 +78,14 @@ "Parameters": [ { "$id": "10", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "11", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "12", - "Name": "version", - "NameInRequest": "version", - "Description": "Need to be set as 'v1' or 'v2' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "13", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "14", + "$id": "11", "kind": "constant", "valueType": { - "$id": "15", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144,14 +105,14 @@ "SkipUrlEncoding": false }, { - "$id": "16", + "$id": "13", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "17", + "$id": "14", "kind": "constant", "valueType": { - "$id": "18", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -171,11 +132,11 @@ "SkipUrlEncoding": false }, { - "$id": "19", + "$id": "16", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "20", + "$id": "17", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -194,12 +155,12 @@ ], "Responses": [ { - "$id": "21", + "$id": "18", "StatusCodes": [ 200 ], "BodyType": { - "$id": "22", + "$id": "19", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -228,14 +189,47 @@ } ], "Protocol": { - "$id": "23" + "$id": "20" }, "Parameters": [ { - "$ref": "10" + "$id": "21", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "22", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "12" + "$id": "23", + "Name": "version", + "NameInRequest": "version", + "Description": "Need to be set as 'v1' or 'v2' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjects/versioning/typeChangedFrom/src/Generated/Docs/TypeChangedFromClient.xml b/test/CadlRanchProjects/versioning/typeChangedFrom/src/Generated/Docs/TypeChangedFromClient.xml index 93f565eb415..43cc803f859 100644 --- a/test/CadlRanchProjects/versioning/typeChangedFrom/src/Generated/Docs/TypeChangedFromClient.xml +++ b/test/CadlRanchProjects/versioning/typeChangedFrom/src/Generated/Docs/TypeChangedFromClient.xml @@ -5,16 +5,16 @@ This sample shows how to call TestAsync. "); -TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); TestModel body = new TestModel("", ""); Response response = await client.TestAsync("", body); ]]> This sample shows how to call TestAsync with all parameters. "); -TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); TestModel body = new TestModel("", ""); Response response = await client.TestAsync("", body); @@ -24,16 +24,16 @@ Response response = await client.TestAsync("", body); This sample shows how to call Test. "); -TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); TestModel body = new TestModel("", ""); Response response = client.Test("", body); ]]> This sample shows how to call Test with all parameters. "); -TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); TestModel body = new TestModel("", ""); Response response = client.Test("", body); @@ -43,8 +43,8 @@ Response response = client.Test("", body); This sample shows how to call TestAsync and parse the result. "); -TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -59,8 +59,8 @@ Console.WriteLine(result.GetProperty("changedProp").ToString()); ]]> This sample shows how to call TestAsync with all parameters and request content and parse the result. "); -TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -78,8 +78,8 @@ Console.WriteLine(result.GetProperty("changedProp").ToString()); This sample shows how to call Test and parse the result. "); -TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -94,8 +94,8 @@ Console.WriteLine(result.GetProperty("changedProp").ToString()); ]]> This sample shows how to call Test with all parameters and request content and parse the result. "); -TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); +Uri endpoint = new Uri(""); +TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { diff --git a/test/CadlRanchProjects/versioning/typeChangedFrom/tests/Generated/Samples/Samples_TypeChangedFromClient.cs b/test/CadlRanchProjects/versioning/typeChangedFrom/tests/Generated/Samples/Samples_TypeChangedFromClient.cs index fd2b2db2c6e..03bed9227d5 100644 --- a/test/CadlRanchProjects/versioning/typeChangedFrom/tests/Generated/Samples/Samples_TypeChangedFromClient.cs +++ b/test/CadlRanchProjects/versioning/typeChangedFrom/tests/Generated/Samples/Samples_TypeChangedFromClient.cs @@ -22,8 +22,8 @@ public partial class Samples_TypeChangedFromClient [Ignore("Only validating compilation of examples")] public void Example_TypeChangedFrom_Test_ShortVersion() { - Uri endpoint = new Uri(""); - TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -41,8 +41,8 @@ public void Example_TypeChangedFrom_Test_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_TypeChangedFrom_Test_ShortVersion_Async() { - Uri endpoint = new Uri(""); - TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -60,8 +60,8 @@ public async Task Example_TypeChangedFrom_Test_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_TypeChangedFrom_Test_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); - TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); TestModel body = new TestModel("", ""); Response response = client.Test("", body); @@ -71,8 +71,8 @@ public void Example_TypeChangedFrom_Test_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_TypeChangedFrom_Test_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); - TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); TestModel body = new TestModel("", ""); Response response = await client.TestAsync("", body); @@ -82,8 +82,8 @@ public async Task Example_TypeChangedFrom_Test_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_TypeChangedFrom_Test_AllParameters() { - Uri endpoint = new Uri(""); - TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -101,8 +101,8 @@ public void Example_TypeChangedFrom_Test_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_TypeChangedFrom_Test_AllParameters_Async() { - Uri endpoint = new Uri(""); - TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); using RequestContent content = RequestContent.Create(new { @@ -120,8 +120,8 @@ public async Task Example_TypeChangedFrom_Test_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_TypeChangedFrom_Test_AllParameters_Convenience() { - Uri endpoint = new Uri(""); - TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); TestModel body = new TestModel("", ""); Response response = client.Test("", body); @@ -131,8 +131,8 @@ public void Example_TypeChangedFrom_Test_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_TypeChangedFrom_Test_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); - TypeChangedFromClient client = new TypeChangedFromClient(endpoint, Versions.V1); + Uri endpoint = new Uri(""); + TypeChangedFromClient client = new TypeChangedFromClient(endpoint, default); TestModel body = new TestModel("", ""); Response response = await client.TestAsync("", body); diff --git a/test/CadlRanchProjects/versioning/typeChangedFrom/tspCodeModel.json b/test/CadlRanchProjects/versioning/typeChangedFrom/tspCodeModel.json index 360984a84b0..710a5913931 100644 --- a/test/CadlRanchProjects/versioning/typeChangedFrom/tspCodeModel.json +++ b/test/CadlRanchProjects/versioning/typeChangedFrom/tspCodeModel.json @@ -127,49 +127,10 @@ "Parameters": [ { "$id": "15", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Need to be set as 'http://localhost:3000' in client.", - "Type": { - "$id": "16", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "17", - "Name": "version", - "NameInRequest": "version", - "Description": "Need to be set as 'v1' or 'v2' in client.", - "Type": { - "$ref": "2" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": false, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "18", "Name": "param", "NameInRequest": "param", "Type": { - "$id": "19", + "$id": "16", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -186,15 +147,15 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "17", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "21", + "$id": "18", "kind": "constant", "valueType": { - "$id": "22", + "$id": "19", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -214,14 +175,14 @@ "SkipUrlEncoding": false }, { - "$id": "23", + "$id": "20", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "24", + "$id": "21", "kind": "constant", "valueType": { - "$id": "25", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -241,7 +202,7 @@ "SkipUrlEncoding": false }, { - "$id": "26", + "$id": "23", "Name": "body", "NameInRequest": "body", "Type": { @@ -260,7 +221,7 @@ ], "Responses": [ { - "$id": "27", + "$id": "24", "StatusCodes": [ 200 ], @@ -290,14 +251,47 @@ } ], "Protocol": { - "$id": "28" + "$id": "25" }, "Parameters": [ { - "$ref": "15" + "$id": "26", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Need to be set as 'http://localhost:3000' in client.", + "Type": { + "$id": "27", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" }, { - "$ref": "17" + "$id": "28", + "Name": "version", + "NameInRequest": "version", + "Description": "Need to be set as 'v1' or 'v2' in client.", + "Type": { + "$ref": "2" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": false, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/authentication/api-key/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/authentication/api-key/tspCodeModel.json index 07259e18555..fc72c08e84d 100644 --- a/test/CadlRanchProjectsNonAzure/authentication/api-key/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/authentication/api-key/tspCodeModel.json @@ -46,42 +46,10 @@ "ResourceName": "ApiKey", "Description": "Check whether client is authenticated", "Accessibility": "public", - "Parameters": [ - { - "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "9", - "Type": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "11", + "$id": "7", "StatusCodes": [ 204 ], @@ -101,24 +69,21 @@ "Decorators": [] }, { - "$id": "12", + "$id": "8", "Name": "invalid", "ResourceName": "ApiKey", "Description": "Check whether client is authenticated.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "13", + "$id": "9", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "14", + "$id": "10", "kind": "constant", "valueType": { - "$id": "15", + "$id": "11", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140,7 +105,7 @@ ], "Responses": [ { - "$id": "16", + "$id": "12", "StatusCodes": [ 204 ], @@ -161,11 +126,39 @@ } ], "Protocol": { - "$id": "17" + "$id": "13" }, "Parameters": [ { - "$ref": "7" + "$id": "14", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "15", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "16", + "Type": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/authentication/http/custom/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/authentication/http/custom/tspCodeModel.json index 953b9f71050..3cb96146845 100644 --- a/test/CadlRanchProjectsNonAzure/authentication/http/custom/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/authentication/http/custom/tspCodeModel.json @@ -46,42 +46,10 @@ "ResourceName": "Custom", "Description": "Check whether client is authenticated", "Accessibility": "public", - "Parameters": [ - { - "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "9", - "Type": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "11", + "$id": "7", "StatusCodes": [ 204 ], @@ -101,24 +69,21 @@ "Decorators": [] }, { - "$id": "12", + "$id": "8", "Name": "invalid", "ResourceName": "Custom", "Description": "Check whether client is authenticated.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "13", + "$id": "9", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "14", + "$id": "10", "kind": "constant", "valueType": { - "$id": "15", + "$id": "11", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140,7 +105,7 @@ ], "Responses": [ { - "$id": "16", + "$id": "12", "StatusCodes": [ 204 ], @@ -161,11 +126,39 @@ } ], "Protocol": { - "$id": "17" + "$id": "13" }, "Parameters": [ { - "$ref": "7" + "$id": "14", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "15", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "16", + "Type": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/client/naming/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/client/naming/tspCodeModel.json index 4afbde3323e..9dd12ec66cf 100644 --- a/test/CadlRanchProjectsNonAzure/client/naming/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/client/naming/tspCodeModel.json @@ -256,42 +256,10 @@ "Name": "clientName", "ResourceName": "Naming", "Accessibility": "public", - "Parameters": [ - { - "$id": "29", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "30", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "31", - "Type": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "33", + "$id": "29", "StatusCodes": [ 204 ], @@ -311,20 +279,17 @@ "Decorators": [] }, { - "$id": "34", + "$id": "30", "Name": "parameter", "ResourceName": "Naming", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "35", + "$id": "31", "Name": "clientName", "NameInRequest": "defaultName", "Type": { - "$id": "36", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -343,7 +308,7 @@ ], "Responses": [ { - "$id": "37", + "$id": "33", "StatusCodes": [ 204 ], @@ -363,24 +328,21 @@ "Decorators": [] }, { - "$id": "38", + "$id": "34", "Name": "client", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "39", + "$id": "35", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "40", + "$id": "36", "kind": "constant", "valueType": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -400,7 +362,7 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "38", "Name": "body", "NameInRequest": "body", "Type": { @@ -419,7 +381,7 @@ ], "Responses": [ { - "$id": "43", + "$id": "39", "StatusCodes": [ 204 ], @@ -442,24 +404,21 @@ "Decorators": [] }, { - "$id": "44", + "$id": "40", "Name": "language", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "45", + "$id": "41", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "46", + "$id": "42", "kind": "constant", "valueType": { - "$id": "47", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -479,7 +438,7 @@ "SkipUrlEncoding": false }, { - "$id": "48", + "$id": "44", "Name": "body", "NameInRequest": "body", "Type": { @@ -498,7 +457,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "45", "StatusCodes": [ 204 ], @@ -521,24 +480,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "compatibleWithEncodedName", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "51", + "$id": "47", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "48", "kind": "constant", "valueType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -558,7 +514,7 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "50", "Name": "body", "NameInRequest": "body", "Type": { @@ -577,7 +533,7 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 204 ], @@ -600,20 +556,17 @@ "Decorators": [] }, { - "$id": "56", + "$id": "52", "Name": "request", "ResourceName": "Header", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "57", + "$id": "53", "Name": "clientName", "NameInRequest": "default-name", "Type": { - "$id": "58", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -632,7 +585,7 @@ ], "Responses": [ { - "$id": "59", + "$id": "55", "StatusCodes": [ 204 ], @@ -652,29 +605,25 @@ "Decorators": [] }, { - "$id": "60", + "$id": "56", "Name": "response", "ResourceName": "Header", "Accessibility": "public", - "Parameters": [ - { - "$ref": "29" - } - ], + "Parameters": [], "Responses": [ { - "$id": "61", + "$id": "57", "StatusCodes": [ 204 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "62", + "$id": "58", "Name": "default-name", "NameInResponse": "default-name", "Type": { - "$id": "63", + "$id": "59", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -697,11 +646,39 @@ } ], "Protocol": { - "$id": "64" + "$id": "60" }, "Parameters": [ { - "$ref": "29" + "$id": "61", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "62", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "63", + "Type": { + "$id": "64", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -718,45 +695,14 @@ "Parameters": [ { "$id": "67", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "68", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "69", - "Type": { - "$id": "70", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "71", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "72", + "$id": "68", "kind": "constant", "valueType": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -776,7 +722,7 @@ "SkipUrlEncoding": false }, { - "$id": "74", + "$id": "70", "Name": "body", "NameInRequest": "body", "Type": { @@ -795,7 +741,7 @@ ], "Responses": [ { - "$id": "75", + "$id": "71", "StatusCodes": [ 204 ], @@ -818,24 +764,21 @@ "Decorators": [] }, { - "$id": "76", + "$id": "72", "Name": "language", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "77", + "$id": "73", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "78", + "$id": "74", "kind": "constant", "valueType": { - "$id": "79", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -855,7 +798,7 @@ "SkipUrlEncoding": false }, { - "$id": "80", + "$id": "76", "Name": "body", "NameInRequest": "body", "Type": { @@ -874,7 +817,7 @@ ], "Responses": [ { - "$id": "81", + "$id": "77", "StatusCodes": [ 204 ], @@ -898,12 +841,40 @@ } ], "Protocol": { - "$id": "82" + "$id": "78" }, "Parent": "NamingClient", "Parameters": [ { - "$ref": "67" + "$id": "79", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "80", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "81", + "Type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -920,45 +891,14 @@ "Parameters": [ { "$id": "85", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "86", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "87", - "Type": { - "$id": "88", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "89", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -978,7 +918,7 @@ "SkipUrlEncoding": false }, { - "$id": "92", + "$id": "88", "Name": "body", "NameInRequest": "body", "Type": { @@ -997,7 +937,7 @@ ], "Responses": [ { - "$id": "93", + "$id": "89", "StatusCodes": [ 204 ], @@ -1020,24 +960,21 @@ "Decorators": [] }, { - "$id": "94", + "$id": "90", "Name": "unionEnumMemberName", "ResourceName": "UnionEnum", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "95", + "$id": "91", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "96", + "$id": "92", "kind": "constant", "valueType": { - "$id": "97", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1057,7 +994,7 @@ "SkipUrlEncoding": false }, { - "$id": "98", + "$id": "94", "Name": "body", "NameInRequest": "body", "Type": { @@ -1076,7 +1013,7 @@ ], "Responses": [ { - "$id": "99", + "$id": "95", "StatusCodes": [ 204 ], @@ -1100,12 +1037,40 @@ } ], "Protocol": { - "$id": "100" + "$id": "96" }, "Parent": "NamingClient", "Parameters": [ { - "$ref": "85" + "$id": "97", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "98", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "99", + "Type": { + "$id": "100", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/parameters/body-optionality/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/parameters/body-optionality/tspCodeModel.json index f9edde75043..b67afd40a95 100644 --- a/test/CadlRanchProjectsNonAzure/parameters/body-optionality/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/parameters/body-optionality/tspCodeModel.json @@ -48,45 +48,14 @@ "Parameters": [ { "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "9", - "Type": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "11", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "12", + "$id": "8", "kind": "constant", "valueType": { - "$id": "13", + "$id": "9", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106,7 +75,7 @@ "SkipUrlEncoding": false }, { - "$id": "14", + "$id": "10", "Name": "body", "NameInRequest": "body", "Type": { @@ -125,7 +94,7 @@ ], "Responses": [ { - "$id": "15", + "$id": "11", "StatusCodes": [ 204 ], @@ -148,24 +117,21 @@ "Decorators": [] }, { - "$id": "16", + "$id": "12", "Name": "requiredImplicit", "ResourceName": "BodyOptionality", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "17", + "$id": "13", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -185,7 +151,7 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "16", "Name": "bodyModel", "NameInRequest": "bodyModel", "Type": { @@ -204,7 +170,7 @@ ], "Responses": [ { - "$id": "21", + "$id": "17", "StatusCodes": [ 204 ], @@ -228,11 +194,39 @@ } ], "Protocol": { - "$id": "22" + "$id": "18" }, "Parameters": [ { - "$ref": "7" + "$id": "19", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "20", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "21", + "Type": { + "$id": "22", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -249,45 +243,14 @@ "Parameters": [ { "$id": "25", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "26", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "27", - "Type": { - "$id": "28", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "29", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "30", + "$id": "26", "kind": "constant", "valueType": { - "$id": "31", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -307,7 +270,7 @@ "SkipUrlEncoding": false }, { - "$id": "32", + "$id": "28", "Name": "body", "NameInRequest": "body", "Type": { @@ -326,7 +289,7 @@ ], "Responses": [ { - "$id": "33", + "$id": "29", "StatusCodes": [ 204 ], @@ -349,24 +312,21 @@ "Decorators": [] }, { - "$id": "34", + "$id": "30", "Name": "omit", "ResourceName": "OptionalExplicit", "Accessibility": "public", "Parameters": [ { - "$ref": "25" - }, - { - "$id": "35", + "$id": "31", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "36", + "$id": "32", "kind": "constant", "valueType": { - "$id": "37", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -386,7 +346,7 @@ "SkipUrlEncoding": false }, { - "$id": "38", + "$id": "34", "Name": "body", "NameInRequest": "body", "Type": { @@ -405,7 +365,7 @@ ], "Responses": [ { - "$id": "39", + "$id": "35", "StatusCodes": [ 204 ], @@ -429,12 +389,40 @@ } ], "Protocol": { - "$id": "40" + "$id": "36" }, "Parent": "BodyOptionalityClient", "Parameters": [ { - "$ref": "25" + "$id": "37", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "38", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "39", + "Type": { + "$id": "40", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/parameters/spread/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/parameters/spread/tspCodeModel.json index 65c3268444c..3cc532ba734 100644 --- a/test/CadlRanchProjectsNonAzure/parameters/spread/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/parameters/spread/tspCodeModel.json @@ -361,45 +361,14 @@ "Parameters": [ { "$id": "41", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "42", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "43", - "Type": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "45", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "46", + "$id": "42", "kind": "constant", "valueType": { - "$id": "47", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -419,7 +388,7 @@ "SkipUrlEncoding": false }, { - "$id": "48", + "$id": "44", "Name": "bodyParameter", "NameInRequest": "bodyParameter", "Type": { @@ -438,7 +407,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "45", "StatusCodes": [ 204 ], @@ -461,24 +430,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "spreadCompositeRequestOnlyWithBody", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "41" - }, - { - "$id": "51", + "$id": "47", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "48", "kind": "constant", "valueType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -498,7 +464,7 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "50", "Name": "body", "NameInRequest": "body", "Type": { @@ -517,7 +483,7 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 204 ], @@ -540,20 +506,17 @@ "Decorators": [] }, { - "$id": "56", + "$id": "52", "Name": "spreadCompositeRequestWithoutBody", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "41" - }, - { - "$id": "57", + "$id": "53", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "58", + "$id": "54", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -570,11 +533,11 @@ "SkipUrlEncoding": false }, { - "$id": "59", + "$id": "55", "Name": "testHeader", "NameInRequest": "test-header", "Type": { - "$id": "60", + "$id": "56", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -593,7 +556,7 @@ ], "Responses": [ { - "$id": "61", + "$id": "57", "StatusCodes": [ 204 ], @@ -613,20 +576,17 @@ "Decorators": [] }, { - "$id": "62", + "$id": "58", "Name": "spreadCompositeRequest", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "41" - }, - { - "$id": "63", + "$id": "59", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "64", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -643,11 +603,11 @@ "SkipUrlEncoding": false }, { - "$id": "65", + "$id": "61", "Name": "testHeader", "NameInRequest": "test-header", "Type": { - "$id": "66", + "$id": "62", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -664,15 +624,15 @@ "SkipUrlEncoding": false }, { - "$id": "67", + "$id": "63", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "68", + "$id": "64", "kind": "constant", "valueType": { - "$id": "69", + "$id": "65", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -692,7 +652,7 @@ "SkipUrlEncoding": false }, { - "$id": "70", + "$id": "66", "Name": "body", "NameInRequest": "body", "Type": { @@ -711,7 +671,7 @@ ], "Responses": [ { - "$id": "71", + "$id": "67", "StatusCodes": [ 204 ], @@ -734,20 +694,17 @@ "Decorators": [] }, { - "$id": "72", + "$id": "68", "Name": "spreadCompositeRequestMix", "ResourceName": "Model", "Accessibility": "public", "Parameters": [ { - "$ref": "41" - }, - { - "$id": "73", + "$id": "69", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "74", + "$id": "70", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -764,11 +721,11 @@ "SkipUrlEncoding": false }, { - "$id": "75", + "$id": "71", "Name": "testHeader", "NameInRequest": "test-header", "Type": { - "$id": "76", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -785,15 +742,15 @@ "SkipUrlEncoding": false }, { - "$id": "77", + "$id": "73", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "78", + "$id": "74", "kind": "constant", "valueType": { - "$id": "79", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -813,7 +770,7 @@ "SkipUrlEncoding": false }, { - "$id": "80", + "$id": "76", "Name": "spreadCompositeRequestMixRequest", "NameInRequest": "spreadCompositeRequestMixRequest", "Type": { @@ -832,7 +789,7 @@ ], "Responses": [ { - "$id": "81", + "$id": "77", "StatusCodes": [ 204 ], @@ -856,12 +813,40 @@ } ], "Protocol": { - "$id": "82" + "$id": "78" }, "Parent": "SpreadClient", "Parameters": [ { - "$ref": "41" + "$id": "79", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "80", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "81", + "Type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -878,45 +863,14 @@ "Parameters": [ { "$id": "85", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "86", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "87", - "Type": { - "$id": "88", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "89", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -936,7 +890,7 @@ "SkipUrlEncoding": false }, { - "$id": "92", + "$id": "88", "Name": "spreadAsRequestBodyRequest", "NameInRequest": "spreadAsRequestBodyRequest", "Type": { @@ -955,7 +909,7 @@ ], "Responses": [ { - "$id": "93", + "$id": "89", "StatusCodes": [ 204 ], @@ -978,20 +932,17 @@ "Decorators": [] }, { - "$id": "94", + "$id": "90", "Name": "spreadParameterWithInnerModel", "ResourceName": "Alias", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "95", + "$id": "91", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "96", + "$id": "92", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1008,11 +959,11 @@ "SkipUrlEncoding": false }, { - "$id": "97", + "$id": "93", "Name": "x-ms-test-header", "NameInRequest": "x-ms-test-header", "Type": { - "$id": "98", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1029,15 +980,15 @@ "SkipUrlEncoding": false }, { - "$id": "99", + "$id": "95", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "100", + "$id": "96", "kind": "constant", "valueType": { - "$id": "101", + "$id": "97", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1057,7 +1008,7 @@ "SkipUrlEncoding": false }, { - "$id": "102", + "$id": "98", "Name": "spreadParameterWithInnerModelRequest", "NameInRequest": "spreadParameterWithInnerModelRequest", "Type": { @@ -1076,7 +1027,7 @@ ], "Responses": [ { - "$id": "103", + "$id": "99", "StatusCodes": [ 204 ], @@ -1099,20 +1050,17 @@ "Decorators": [] }, { - "$id": "104", + "$id": "100", "Name": "spreadAsRequestParameter", "ResourceName": "Alias", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "105", + "$id": "101", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "106", + "$id": "102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1129,11 +1077,11 @@ "SkipUrlEncoding": false }, { - "$id": "107", + "$id": "103", "Name": "x-ms-test-header", "NameInRequest": "x-ms-test-header", "Type": { - "$id": "108", + "$id": "104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1150,15 +1098,15 @@ "SkipUrlEncoding": false }, { - "$id": "109", + "$id": "105", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "110", + "$id": "106", "kind": "constant", "valueType": { - "$id": "111", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1178,7 +1126,7 @@ "SkipUrlEncoding": false }, { - "$id": "112", + "$id": "108", "Name": "spreadAsRequestParameterRequest", "NameInRequest": "spreadAsRequestParameterRequest", "Type": { @@ -1197,7 +1145,7 @@ ], "Responses": [ { - "$id": "113", + "$id": "109", "StatusCodes": [ 204 ], @@ -1220,20 +1168,17 @@ "Decorators": [] }, { - "$id": "114", + "$id": "110", "Name": "spreadWithMultipleParameters", "ResourceName": "Alias", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "115", + "$id": "111", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "116", + "$id": "112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1250,11 +1195,11 @@ "SkipUrlEncoding": false }, { - "$id": "117", + "$id": "113", "Name": "x-ms-test-header", "NameInRequest": "x-ms-test-header", "Type": { - "$id": "118", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1271,15 +1216,15 @@ "SkipUrlEncoding": false }, { - "$id": "119", + "$id": "115", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "120", + "$id": "116", "kind": "constant", "valueType": { - "$id": "121", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1299,7 +1244,7 @@ "SkipUrlEncoding": false }, { - "$id": "122", + "$id": "118", "Name": "spreadWithMultipleParametersRequest", "NameInRequest": "spreadWithMultipleParametersRequest", "Type": { @@ -1318,7 +1263,7 @@ ], "Responses": [ { - "$id": "123", + "$id": "119", "StatusCodes": [ 204 ], @@ -1341,21 +1286,18 @@ "Decorators": [] }, { - "$id": "124", + "$id": "120", "Name": "spreadParameterWithInnerAlias", "ResourceName": "Alias", "Description": "spread an alias with contains another alias property as body.", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "125", + "$id": "121", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1372,11 +1314,11 @@ "SkipUrlEncoding": false }, { - "$id": "127", + "$id": "123", "Name": "x-ms-test-header", "NameInRequest": "x-ms-test-header", "Type": { - "$id": "128", + "$id": "124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1393,15 +1335,15 @@ "SkipUrlEncoding": false }, { - "$id": "129", + "$id": "125", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "130", + "$id": "126", "kind": "constant", "valueType": { - "$id": "131", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1421,7 +1363,7 @@ "SkipUrlEncoding": false }, { - "$id": "132", + "$id": "128", "Name": "spreadParameterWithInnerAliasRequest", "NameInRequest": "spreadParameterWithInnerAliasRequest", "Type": { @@ -1440,7 +1382,7 @@ ], "Responses": [ { - "$id": "133", + "$id": "129", "StatusCodes": [ 204 ], @@ -1464,12 +1406,40 @@ } ], "Protocol": { - "$id": "134" + "$id": "130" }, "Parent": "SpreadClient", "Parameters": [ { - "$ref": "85" + "$id": "131", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "132", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "133", + "Type": { + "$id": "134", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/payload/content-negotiation/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/payload/content-negotiation/tspCodeModel.json index 3505ab70f79..c01cf7b6fac 100644 --- a/test/CadlRanchProjectsNonAzure/payload/content-negotiation/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/payload/content-negotiation/tspCodeModel.json @@ -91,44 +91,13 @@ "Parameters": [ { "$id": "13", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "14", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "15", - "Type": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "17", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150,12 +119,12 @@ ], "Responses": [ { - "$id": "20", + "$id": "16", "StatusCodes": [ 200 ], "BodyType": { - "$id": "21", + "$id": "17", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -165,14 +134,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "22", + "$id": "18", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "23", + "$id": "19", "kind": "constant", "valueType": { - "$id": "24", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -200,23 +169,20 @@ "Decorators": [] }, { - "$id": "25", + "$id": "21", "Name": "getAvatarAsJpeg", "ResourceName": "SameBody", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "26", + "$id": "22", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "27", + "$id": "23", "kind": "constant", "valueType": { - "$id": "28", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -238,12 +204,12 @@ ], "Responses": [ { - "$id": "29", + "$id": "25", "StatusCodes": [ 200 ], "BodyType": { - "$id": "30", + "$id": "26", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -253,14 +219,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "31", + "$id": "27", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "32", + "$id": "28", "kind": "constant", "valueType": { - "$id": "33", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -289,12 +255,40 @@ } ], "Protocol": { - "$id": "34" + "$id": "30" }, "Parent": "ContentNegotiationClient", "Parameters": [ { - "$ref": "13" + "$id": "31", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "32", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "33", + "Type": { + "$id": "34", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -311,44 +305,13 @@ "Parameters": [ { "$id": "37", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "38", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "39", - "Type": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "41", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "42", + "$id": "38", "kind": "constant", "valueType": { - "$id": "43", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -370,12 +333,12 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 200 ], "BodyType": { - "$id": "45", + "$id": "41", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -385,14 +348,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "46", + "$id": "42", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "47", + "$id": "43", "kind": "constant", "valueType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -420,23 +383,20 @@ "Decorators": [] }, { - "$id": "49", + "$id": "45", "Name": "getAvatarAsJson", "ResourceName": "DifferentBody", "Accessibility": "public", "Parameters": [ { - "$ref": "37" - }, - { - "$id": "50", + "$id": "46", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "51", + "$id": "47", "kind": "constant", "valueType": { - "$id": "52", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -458,7 +418,7 @@ ], "Responses": [ { - "$id": "53", + "$id": "49", "StatusCodes": [ 200 ], @@ -468,14 +428,14 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "54", + "$id": "50", "Name": "contentType", "NameInResponse": "content-type", "Type": { - "$id": "55", + "$id": "51", "kind": "constant", "valueType": { - "$id": "56", + "$id": "52", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -504,12 +464,40 @@ } ], "Protocol": { - "$id": "57" + "$id": "53" }, "Parent": "ContentNegotiationClient", "Parameters": [ { - "$ref": "37" + "$id": "54", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "55", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "56", + "Type": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/payload/multipart/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/payload/multipart/tspCodeModel.json index 09c32bb00a0..cfc7d5e279b 100644 --- a/test/CadlRanchProjectsNonAzure/payload/multipart/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/payload/multipart/tspCodeModel.json @@ -866,44 +866,13 @@ "Parameters": [ { "$id": "87", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "88", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "89", - "Type": { - "$id": "90", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "91", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "92", + "$id": "88", "kind": "constant", "valueType": { - "$id": "93", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -923,7 +892,7 @@ "SkipUrlEncoding": false }, { - "$id": "94", + "$id": "90", "Name": "body", "NameInRequest": "body", "Type": { @@ -942,7 +911,7 @@ ], "Responses": [ { - "$id": "95", + "$id": "91", "StatusCodes": [ 204 ], @@ -965,24 +934,21 @@ "Decorators": [] }, { - "$id": "96", + "$id": "92", "Name": "fileArrayAndBasic", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data for mixed scenarios", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "97", + "$id": "93", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "98", + "$id": "94", "kind": "constant", "valueType": { - "$id": "99", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1002,7 +968,7 @@ "SkipUrlEncoding": false }, { - "$id": "100", + "$id": "96", "Name": "body", "NameInRequest": "body", "Type": { @@ -1021,7 +987,7 @@ ], "Responses": [ { - "$id": "101", + "$id": "97", "StatusCodes": [ 204 ], @@ -1044,24 +1010,21 @@ "Decorators": [] }, { - "$id": "102", + "$id": "98", "Name": "jsonPart", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data for scenario contains json part and binary part ", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "103", + "$id": "99", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "104", + "$id": "100", "kind": "constant", "valueType": { - "$id": "105", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1081,7 +1044,7 @@ "SkipUrlEncoding": false }, { - "$id": "106", + "$id": "102", "Name": "body", "NameInRequest": "body", "Type": { @@ -1100,7 +1063,7 @@ ], "Responses": [ { - "$id": "107", + "$id": "103", "StatusCodes": [ 204 ], @@ -1123,24 +1086,21 @@ "Decorators": [] }, { - "$id": "108", + "$id": "104", "Name": "binaryArrayParts", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data for scenario contains multi binary parts", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "109", + "$id": "105", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "110", + "$id": "106", "kind": "constant", "valueType": { - "$id": "111", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1160,7 +1120,7 @@ "SkipUrlEncoding": false }, { - "$id": "112", + "$id": "108", "Name": "body", "NameInRequest": "body", "Type": { @@ -1179,7 +1139,7 @@ ], "Responses": [ { - "$id": "113", + "$id": "109", "StatusCodes": [ 204 ], @@ -1202,24 +1162,21 @@ "Decorators": [] }, { - "$id": "114", + "$id": "110", "Name": "multiBinaryParts", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data for scenario contains multi binary parts", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "115", + "$id": "111", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "116", + "$id": "112", "kind": "constant", "valueType": { - "$id": "117", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1239,7 +1196,7 @@ "SkipUrlEncoding": false }, { - "$id": "118", + "$id": "114", "Name": "body", "NameInRequest": "body", "Type": { @@ -1258,7 +1215,7 @@ ], "Responses": [ { - "$id": "119", + "$id": "115", "StatusCodes": [ 204 ], @@ -1281,24 +1238,21 @@ "Decorators": [] }, { - "$id": "120", + "$id": "116", "Name": "checkFileNameAndContentType", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "121", + "$id": "117", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "122", + "$id": "118", "kind": "constant", "valueType": { - "$id": "123", + "$id": "119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1318,7 +1272,7 @@ "SkipUrlEncoding": false }, { - "$id": "124", + "$id": "120", "Name": "body", "NameInRequest": "body", "Type": { @@ -1337,7 +1291,7 @@ ], "Responses": [ { - "$id": "125", + "$id": "121", "StatusCodes": [ 204 ], @@ -1360,24 +1314,21 @@ "Decorators": [] }, { - "$id": "126", + "$id": "122", "Name": "anonymousModel", "ResourceName": "FormData", "Description": "Test content-type: multipart/form-data", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "127", + "$id": "123", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "128", + "$id": "124", "kind": "constant", "valueType": { - "$id": "129", + "$id": "125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1397,7 +1348,7 @@ "SkipUrlEncoding": false }, { - "$id": "130", + "$id": "126", "Name": "anonymousModelRequest", "NameInRequest": "anonymousModelRequest", "Type": { @@ -1416,7 +1367,7 @@ ], "Responses": [ { - "$id": "131", + "$id": "127", "StatusCodes": [ 204 ], @@ -1440,12 +1391,40 @@ } ], "Protocol": { - "$id": "132" + "$id": "128" }, "Parent": "MultiPartClient", "Parameters": [ { - "$ref": "87" + "$id": "129", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "130", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "131", + "Type": { + "$id": "132", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1463,44 +1442,13 @@ "Parameters": [ { "$id": "135", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "136", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "137", - "Type": { - "$id": "138", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "139", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "140", + "$id": "136", "kind": "constant", "valueType": { - "$id": "141", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1520,7 +1468,7 @@ "SkipUrlEncoding": false }, { - "$id": "142", + "$id": "138", "Name": "body", "NameInRequest": "body", "Type": { @@ -1539,7 +1487,7 @@ ], "Responses": [ { - "$id": "143", + "$id": "139", "StatusCodes": [ 204 ], @@ -1563,12 +1511,40 @@ } ], "Protocol": { - "$id": "144" + "$id": "140" }, "Parent": "FormData", "Parameters": [ { - "$ref": "135" + "$id": "141", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "142", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "143", + "Type": { + "$id": "144", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1586,44 +1562,13 @@ "Parameters": [ { "$id": "147", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "148", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "149", - "Type": { - "$id": "150", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "151", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "152", + "$id": "148", "kind": "constant", "valueType": { - "$id": "153", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1643,7 +1588,7 @@ "SkipUrlEncoding": false }, { - "$id": "154", + "$id": "150", "Name": "body", "NameInRequest": "body", "Type": { @@ -1662,7 +1607,7 @@ ], "Responses": [ { - "$id": "155", + "$id": "151", "StatusCodes": [ 204 ], @@ -1685,24 +1630,21 @@ "Decorators": [] }, { - "$id": "156", + "$id": "152", "Name": "requiredContentType", "ResourceName": "ContentType", "Description": "Test content-type: multipart/form-data", "Accessibility": "public", "Parameters": [ { - "$ref": "147" - }, - { - "$id": "157", + "$id": "153", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "158", + "$id": "154", "kind": "constant", "valueType": { - "$id": "159", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1722,7 +1664,7 @@ "SkipUrlEncoding": false }, { - "$id": "160", + "$id": "156", "Name": "body", "NameInRequest": "body", "Type": { @@ -1741,7 +1683,7 @@ ], "Responses": [ { - "$id": "161", + "$id": "157", "StatusCodes": [ 204 ], @@ -1764,24 +1706,21 @@ "Decorators": [] }, { - "$id": "162", + "$id": "158", "Name": "optionalContentType", "ResourceName": "ContentType", "Description": "Test content-type: multipart/form-data for optional content type", "Accessibility": "public", "Parameters": [ { - "$ref": "147" - }, - { - "$id": "163", + "$id": "159", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "164", + "$id": "160", "kind": "constant", "valueType": { - "$id": "165", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1801,7 +1740,7 @@ "SkipUrlEncoding": false }, { - "$id": "166", + "$id": "162", "Name": "body", "NameInRequest": "body", "Type": { @@ -1820,7 +1759,7 @@ ], "Responses": [ { - "$id": "167", + "$id": "163", "StatusCodes": [ 204 ], @@ -1844,12 +1783,40 @@ } ], "Protocol": { - "$id": "168" + "$id": "164" }, "Parent": "FormDataHttpParts", "Parameters": [ { - "$ref": "147" + "$id": "165", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "166", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "167", + "Type": { + "$id": "168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1867,44 +1834,13 @@ "Parameters": [ { "$id": "171", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "172", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "173", - "Type": { - "$id": "174", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "175", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "176", + "$id": "172", "kind": "constant", "valueType": { - "$id": "177", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1924,7 +1860,7 @@ "SkipUrlEncoding": false }, { - "$id": "178", + "$id": "174", "Name": "body", "NameInRequest": "body", "Type": { @@ -1943,7 +1879,7 @@ ], "Responses": [ { - "$id": "179", + "$id": "175", "StatusCodes": [ 204 ], @@ -1967,12 +1903,40 @@ } ], "Protocol": { - "$id": "180" + "$id": "176" }, "Parent": "FormDataHttpParts", "Parameters": [ { - "$ref": "171" + "$id": "177", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "178", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "179", + "Type": { + "$id": "180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/serialization/encoded-name/json/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/serialization/encoded-name/json/tspCodeModel.json index 42ed00cbe5c..c0c94e895dc 100644 --- a/test/CadlRanchProjectsNonAzure/serialization/encoded-name/json/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/serialization/encoded-name/json/tspCodeModel.json @@ -91,45 +91,14 @@ "Parameters": [ { "$id": "13", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "14", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "15", - "Type": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "17", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149,7 +118,7 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "16", "Name": "body", "NameInRequest": "body", "Type": { @@ -168,7 +137,7 @@ ], "Responses": [ { - "$id": "21", + "$id": "17", "StatusCodes": [ 204 ], @@ -191,23 +160,20 @@ "Decorators": [] }, { - "$id": "22", + "$id": "18", "Name": "get", "ResourceName": "Property", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "23", + "$id": "19", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "24", + "$id": "20", "kind": "constant", "valueType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -229,7 +195,7 @@ ], "Responses": [ { - "$id": "26", + "$id": "22", "StatusCodes": [ 200 ], @@ -256,12 +222,40 @@ } ], "Protocol": { - "$id": "27" + "$id": "23" }, "Parent": "JsonClient", "Parameters": [ { - "$ref": "13" + "$id": "24", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "25", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "26", + "Type": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/server/endpoint/not-defined/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/server/endpoint/not-defined/tspCodeModel.json index 8138d28f416..097d7cba3a8 100644 --- a/test/CadlRanchProjectsNonAzure/server/endpoint/not-defined/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/server/endpoint/not-defined/tspCodeModel.json @@ -15,32 +15,10 @@ "Name": "valid", "ResourceName": "NotDefined", "Accessibility": "public", - "Parameters": [ - { - "$id": "4", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "5", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - } - ], + "Parameters": [], "Responses": [ { - "$id": "6", + "$id": "4", "StatusCodes": [ 200 ], @@ -61,11 +39,29 @@ } ], "Protocol": { - "$id": "7" + "$id": "5" }, "Parameters": [ { - "$ref": "4" + "$id": "6", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "7", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/special-words/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/special-words/tspCodeModel.json index 8b481ef2f02..db71e6b4289 100644 --- a/test/CadlRanchProjectsNonAzure/special-words/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/special-words/tspCodeModel.json @@ -1048,45 +1048,14 @@ "Parameters": [ { "$id": "112", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "113", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "114", - "Type": { - "$id": "115", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "116", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "117", + "$id": "113", "kind": "constant", "valueType": { - "$id": "118", + "$id": "114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1106,7 +1075,7 @@ "SkipUrlEncoding": false }, { - "$id": "119", + "$id": "115", "Name": "body", "NameInRequest": "body", "Type": { @@ -1125,7 +1094,7 @@ ], "Responses": [ { - "$id": "120", + "$id": "116", "StatusCodes": [ 204 ], @@ -1148,24 +1117,21 @@ "Decorators": [] }, { - "$id": "121", + "$id": "117", "Name": "withAs", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "122", + "$id": "118", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "123", + "$id": "119", "kind": "constant", "valueType": { - "$id": "124", + "$id": "120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1185,7 +1151,7 @@ "SkipUrlEncoding": false }, { - "$id": "125", + "$id": "121", "Name": "body", "NameInRequest": "body", "Type": { @@ -1204,7 +1170,7 @@ ], "Responses": [ { - "$id": "126", + "$id": "122", "StatusCodes": [ 204 ], @@ -1227,24 +1193,21 @@ "Decorators": [] }, { - "$id": "127", + "$id": "123", "Name": "withAssert", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "128", + "$id": "124", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "129", + "$id": "125", "kind": "constant", "valueType": { - "$id": "130", + "$id": "126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1264,7 +1227,7 @@ "SkipUrlEncoding": false }, { - "$id": "131", + "$id": "127", "Name": "body", "NameInRequest": "body", "Type": { @@ -1283,7 +1246,7 @@ ], "Responses": [ { - "$id": "132", + "$id": "128", "StatusCodes": [ 204 ], @@ -1306,24 +1269,21 @@ "Decorators": [] }, { - "$id": "133", + "$id": "129", "Name": "withAsync", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "134", + "$id": "130", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "135", + "$id": "131", "kind": "constant", "valueType": { - "$id": "136", + "$id": "132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1343,7 +1303,7 @@ "SkipUrlEncoding": false }, { - "$id": "137", + "$id": "133", "Name": "body", "NameInRequest": "body", "Type": { @@ -1362,7 +1322,7 @@ ], "Responses": [ { - "$id": "138", + "$id": "134", "StatusCodes": [ 204 ], @@ -1385,24 +1345,21 @@ "Decorators": [] }, { - "$id": "139", + "$id": "135", "Name": "withAwait", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "140", + "$id": "136", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "141", + "$id": "137", "kind": "constant", "valueType": { - "$id": "142", + "$id": "138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1422,7 +1379,7 @@ "SkipUrlEncoding": false }, { - "$id": "143", + "$id": "139", "Name": "body", "NameInRequest": "body", "Type": { @@ -1441,7 +1398,7 @@ ], "Responses": [ { - "$id": "144", + "$id": "140", "StatusCodes": [ 204 ], @@ -1464,24 +1421,21 @@ "Decorators": [] }, { - "$id": "145", + "$id": "141", "Name": "withBreak", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "146", + "$id": "142", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "147", + "$id": "143", "kind": "constant", "valueType": { - "$id": "148", + "$id": "144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1501,7 +1455,7 @@ "SkipUrlEncoding": false }, { - "$id": "149", + "$id": "145", "Name": "body", "NameInRequest": "body", "Type": { @@ -1520,7 +1474,7 @@ ], "Responses": [ { - "$id": "150", + "$id": "146", "StatusCodes": [ 204 ], @@ -1543,24 +1497,21 @@ "Decorators": [] }, { - "$id": "151", + "$id": "147", "Name": "withClass", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "152", + "$id": "148", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "153", + "$id": "149", "kind": "constant", "valueType": { - "$id": "154", + "$id": "150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1580,7 +1531,7 @@ "SkipUrlEncoding": false }, { - "$id": "155", + "$id": "151", "Name": "body", "NameInRequest": "body", "Type": { @@ -1599,7 +1550,7 @@ ], "Responses": [ { - "$id": "156", + "$id": "152", "StatusCodes": [ 204 ], @@ -1622,24 +1573,21 @@ "Decorators": [] }, { - "$id": "157", + "$id": "153", "Name": "withConstructor", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "158", + "$id": "154", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "159", + "$id": "155", "kind": "constant", "valueType": { - "$id": "160", + "$id": "156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1659,7 +1607,7 @@ "SkipUrlEncoding": false }, { - "$id": "161", + "$id": "157", "Name": "body", "NameInRequest": "body", "Type": { @@ -1678,7 +1626,7 @@ ], "Responses": [ { - "$id": "162", + "$id": "158", "StatusCodes": [ 204 ], @@ -1701,24 +1649,21 @@ "Decorators": [] }, { - "$id": "163", + "$id": "159", "Name": "withContinue", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "164", + "$id": "160", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "165", + "$id": "161", "kind": "constant", "valueType": { - "$id": "166", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1738,7 +1683,7 @@ "SkipUrlEncoding": false }, { - "$id": "167", + "$id": "163", "Name": "body", "NameInRequest": "body", "Type": { @@ -1757,7 +1702,7 @@ ], "Responses": [ { - "$id": "168", + "$id": "164", "StatusCodes": [ 204 ], @@ -1780,24 +1725,21 @@ "Decorators": [] }, { - "$id": "169", + "$id": "165", "Name": "withDef", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "170", + "$id": "166", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "171", + "$id": "167", "kind": "constant", "valueType": { - "$id": "172", + "$id": "168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1817,7 +1759,7 @@ "SkipUrlEncoding": false }, { - "$id": "173", + "$id": "169", "Name": "body", "NameInRequest": "body", "Type": { @@ -1836,7 +1778,7 @@ ], "Responses": [ { - "$id": "174", + "$id": "170", "StatusCodes": [ 204 ], @@ -1859,24 +1801,21 @@ "Decorators": [] }, { - "$id": "175", + "$id": "171", "Name": "withDel", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "176", + "$id": "172", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "177", + "$id": "173", "kind": "constant", "valueType": { - "$id": "178", + "$id": "174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1896,7 +1835,7 @@ "SkipUrlEncoding": false }, { - "$id": "179", + "$id": "175", "Name": "body", "NameInRequest": "body", "Type": { @@ -1915,7 +1854,7 @@ ], "Responses": [ { - "$id": "180", + "$id": "176", "StatusCodes": [ 204 ], @@ -1938,24 +1877,21 @@ "Decorators": [] }, { - "$id": "181", + "$id": "177", "Name": "withElif", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "182", + "$id": "178", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "183", + "$id": "179", "kind": "constant", "valueType": { - "$id": "184", + "$id": "180", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1975,7 +1911,7 @@ "SkipUrlEncoding": false }, { - "$id": "185", + "$id": "181", "Name": "body", "NameInRequest": "body", "Type": { @@ -1994,7 +1930,7 @@ ], "Responses": [ { - "$id": "186", + "$id": "182", "StatusCodes": [ 204 ], @@ -2017,24 +1953,21 @@ "Decorators": [] }, { - "$id": "187", + "$id": "183", "Name": "withElse", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "188", + "$id": "184", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "189", + "$id": "185", "kind": "constant", "valueType": { - "$id": "190", + "$id": "186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2054,7 +1987,7 @@ "SkipUrlEncoding": false }, { - "$id": "191", + "$id": "187", "Name": "body", "NameInRequest": "body", "Type": { @@ -2073,7 +2006,7 @@ ], "Responses": [ { - "$id": "192", + "$id": "188", "StatusCodes": [ 204 ], @@ -2096,24 +2029,21 @@ "Decorators": [] }, { - "$id": "193", + "$id": "189", "Name": "withExcept", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "194", + "$id": "190", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "195", + "$id": "191", "kind": "constant", "valueType": { - "$id": "196", + "$id": "192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2133,7 +2063,7 @@ "SkipUrlEncoding": false }, { - "$id": "197", + "$id": "193", "Name": "body", "NameInRequest": "body", "Type": { @@ -2152,7 +2082,7 @@ ], "Responses": [ { - "$id": "198", + "$id": "194", "StatusCodes": [ 204 ], @@ -2175,24 +2105,21 @@ "Decorators": [] }, { - "$id": "199", + "$id": "195", "Name": "withExec", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "200", + "$id": "196", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "201", + "$id": "197", "kind": "constant", "valueType": { - "$id": "202", + "$id": "198", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2212,7 +2139,7 @@ "SkipUrlEncoding": false }, { - "$id": "203", + "$id": "199", "Name": "body", "NameInRequest": "body", "Type": { @@ -2231,7 +2158,7 @@ ], "Responses": [ { - "$id": "204", + "$id": "200", "StatusCodes": [ 204 ], @@ -2254,24 +2181,21 @@ "Decorators": [] }, { - "$id": "205", + "$id": "201", "Name": "withFinally", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "206", + "$id": "202", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "207", + "$id": "203", "kind": "constant", "valueType": { - "$id": "208", + "$id": "204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2291,7 +2215,7 @@ "SkipUrlEncoding": false }, { - "$id": "209", + "$id": "205", "Name": "body", "NameInRequest": "body", "Type": { @@ -2310,7 +2234,7 @@ ], "Responses": [ { - "$id": "210", + "$id": "206", "StatusCodes": [ 204 ], @@ -2333,24 +2257,21 @@ "Decorators": [] }, { - "$id": "211", + "$id": "207", "Name": "withFor", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "212", + "$id": "208", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "213", + "$id": "209", "kind": "constant", "valueType": { - "$id": "214", + "$id": "210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2370,7 +2291,7 @@ "SkipUrlEncoding": false }, { - "$id": "215", + "$id": "211", "Name": "body", "NameInRequest": "body", "Type": { @@ -2389,7 +2310,7 @@ ], "Responses": [ { - "$id": "216", + "$id": "212", "StatusCodes": [ 204 ], @@ -2412,24 +2333,21 @@ "Decorators": [] }, { - "$id": "217", + "$id": "213", "Name": "withFrom", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "218", + "$id": "214", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "219", + "$id": "215", "kind": "constant", "valueType": { - "$id": "220", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2449,7 +2367,7 @@ "SkipUrlEncoding": false }, { - "$id": "221", + "$id": "217", "Name": "body", "NameInRequest": "body", "Type": { @@ -2468,7 +2386,7 @@ ], "Responses": [ { - "$id": "222", + "$id": "218", "StatusCodes": [ 204 ], @@ -2491,24 +2409,21 @@ "Decorators": [] }, { - "$id": "223", + "$id": "219", "Name": "withGlobal", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "224", + "$id": "220", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "225", + "$id": "221", "kind": "constant", "valueType": { - "$id": "226", + "$id": "222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2528,7 +2443,7 @@ "SkipUrlEncoding": false }, { - "$id": "227", + "$id": "223", "Name": "body", "NameInRequest": "body", "Type": { @@ -2547,7 +2462,7 @@ ], "Responses": [ { - "$id": "228", + "$id": "224", "StatusCodes": [ 204 ], @@ -2570,24 +2485,21 @@ "Decorators": [] }, { - "$id": "229", + "$id": "225", "Name": "withIf", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "230", + "$id": "226", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "231", + "$id": "227", "kind": "constant", "valueType": { - "$id": "232", + "$id": "228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2607,7 +2519,7 @@ "SkipUrlEncoding": false }, { - "$id": "233", + "$id": "229", "Name": "body", "NameInRequest": "body", "Type": { @@ -2626,7 +2538,7 @@ ], "Responses": [ { - "$id": "234", + "$id": "230", "StatusCodes": [ 204 ], @@ -2649,24 +2561,21 @@ "Decorators": [] }, { - "$id": "235", + "$id": "231", "Name": "withImport", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "236", + "$id": "232", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "237", + "$id": "233", "kind": "constant", "valueType": { - "$id": "238", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2686,7 +2595,7 @@ "SkipUrlEncoding": false }, { - "$id": "239", + "$id": "235", "Name": "body", "NameInRequest": "body", "Type": { @@ -2705,7 +2614,7 @@ ], "Responses": [ { - "$id": "240", + "$id": "236", "StatusCodes": [ 204 ], @@ -2728,24 +2637,21 @@ "Decorators": [] }, { - "$id": "241", + "$id": "237", "Name": "withIn", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "242", + "$id": "238", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "243", + "$id": "239", "kind": "constant", "valueType": { - "$id": "244", + "$id": "240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2765,7 +2671,7 @@ "SkipUrlEncoding": false }, { - "$id": "245", + "$id": "241", "Name": "body", "NameInRequest": "body", "Type": { @@ -2784,7 +2690,7 @@ ], "Responses": [ { - "$id": "246", + "$id": "242", "StatusCodes": [ 204 ], @@ -2807,24 +2713,21 @@ "Decorators": [] }, { - "$id": "247", + "$id": "243", "Name": "withIs", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "248", + "$id": "244", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "249", + "$id": "245", "kind": "constant", "valueType": { - "$id": "250", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2844,7 +2747,7 @@ "SkipUrlEncoding": false }, { - "$id": "251", + "$id": "247", "Name": "body", "NameInRequest": "body", "Type": { @@ -2863,7 +2766,7 @@ ], "Responses": [ { - "$id": "252", + "$id": "248", "StatusCodes": [ 204 ], @@ -2886,24 +2789,21 @@ "Decorators": [] }, { - "$id": "253", + "$id": "249", "Name": "withLambda", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "254", + "$id": "250", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "255", + "$id": "251", "kind": "constant", "valueType": { - "$id": "256", + "$id": "252", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2923,7 +2823,7 @@ "SkipUrlEncoding": false }, { - "$id": "257", + "$id": "253", "Name": "body", "NameInRequest": "body", "Type": { @@ -2942,7 +2842,7 @@ ], "Responses": [ { - "$id": "258", + "$id": "254", "StatusCodes": [ 204 ], @@ -2965,24 +2865,21 @@ "Decorators": [] }, { - "$id": "259", + "$id": "255", "Name": "withNot", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "260", + "$id": "256", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "261", + "$id": "257", "kind": "constant", "valueType": { - "$id": "262", + "$id": "258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3002,7 +2899,7 @@ "SkipUrlEncoding": false }, { - "$id": "263", + "$id": "259", "Name": "body", "NameInRequest": "body", "Type": { @@ -3021,7 +2918,7 @@ ], "Responses": [ { - "$id": "264", + "$id": "260", "StatusCodes": [ 204 ], @@ -3044,24 +2941,21 @@ "Decorators": [] }, { - "$id": "265", + "$id": "261", "Name": "withOr", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "266", + "$id": "262", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "267", + "$id": "263", "kind": "constant", "valueType": { - "$id": "268", + "$id": "264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3081,7 +2975,7 @@ "SkipUrlEncoding": false }, { - "$id": "269", + "$id": "265", "Name": "body", "NameInRequest": "body", "Type": { @@ -3100,7 +2994,7 @@ ], "Responses": [ { - "$id": "270", + "$id": "266", "StatusCodes": [ 204 ], @@ -3123,24 +3017,21 @@ "Decorators": [] }, { - "$id": "271", + "$id": "267", "Name": "withPass", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "272", + "$id": "268", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "273", + "$id": "269", "kind": "constant", "valueType": { - "$id": "274", + "$id": "270", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3160,7 +3051,7 @@ "SkipUrlEncoding": false }, { - "$id": "275", + "$id": "271", "Name": "body", "NameInRequest": "body", "Type": { @@ -3179,7 +3070,7 @@ ], "Responses": [ { - "$id": "276", + "$id": "272", "StatusCodes": [ 204 ], @@ -3202,24 +3093,21 @@ "Decorators": [] }, { - "$id": "277", + "$id": "273", "Name": "withRaise", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "278", + "$id": "274", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "279", + "$id": "275", "kind": "constant", "valueType": { - "$id": "280", + "$id": "276", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3239,7 +3127,7 @@ "SkipUrlEncoding": false }, { - "$id": "281", + "$id": "277", "Name": "body", "NameInRequest": "body", "Type": { @@ -3258,7 +3146,7 @@ ], "Responses": [ { - "$id": "282", + "$id": "278", "StatusCodes": [ 204 ], @@ -3281,24 +3169,21 @@ "Decorators": [] }, { - "$id": "283", + "$id": "279", "Name": "withReturn", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "284", + "$id": "280", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "285", + "$id": "281", "kind": "constant", "valueType": { - "$id": "286", + "$id": "282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3318,7 +3203,7 @@ "SkipUrlEncoding": false }, { - "$id": "287", + "$id": "283", "Name": "body", "NameInRequest": "body", "Type": { @@ -3337,7 +3222,7 @@ ], "Responses": [ { - "$id": "288", + "$id": "284", "StatusCodes": [ 204 ], @@ -3360,24 +3245,21 @@ "Decorators": [] }, { - "$id": "289", + "$id": "285", "Name": "withTry", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "290", + "$id": "286", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "291", + "$id": "287", "kind": "constant", "valueType": { - "$id": "292", + "$id": "288", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3397,7 +3279,7 @@ "SkipUrlEncoding": false }, { - "$id": "293", + "$id": "289", "Name": "body", "NameInRequest": "body", "Type": { @@ -3416,7 +3298,7 @@ ], "Responses": [ { - "$id": "294", + "$id": "290", "StatusCodes": [ 204 ], @@ -3439,24 +3321,21 @@ "Decorators": [] }, { - "$id": "295", + "$id": "291", "Name": "withWhile", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "296", + "$id": "292", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "297", + "$id": "293", "kind": "constant", "valueType": { - "$id": "298", + "$id": "294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3476,7 +3355,7 @@ "SkipUrlEncoding": false }, { - "$id": "299", + "$id": "295", "Name": "body", "NameInRequest": "body", "Type": { @@ -3495,7 +3374,7 @@ ], "Responses": [ { - "$id": "300", + "$id": "296", "StatusCodes": [ 204 ], @@ -3518,24 +3397,21 @@ "Decorators": [] }, { - "$id": "301", + "$id": "297", "Name": "withWith", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "302", + "$id": "298", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "303", + "$id": "299", "kind": "constant", "valueType": { - "$id": "304", + "$id": "300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3555,7 +3431,7 @@ "SkipUrlEncoding": false }, { - "$id": "305", + "$id": "301", "Name": "body", "NameInRequest": "body", "Type": { @@ -3574,7 +3450,7 @@ ], "Responses": [ { - "$id": "306", + "$id": "302", "StatusCodes": [ 204 ], @@ -3597,24 +3473,21 @@ "Decorators": [] }, { - "$id": "307", + "$id": "303", "Name": "withYield", "ResourceName": "Models", "Accessibility": "public", "Parameters": [ { - "$ref": "112" - }, - { - "$id": "308", + "$id": "304", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "309", + "$id": "305", "kind": "constant", "valueType": { - "$id": "310", + "$id": "306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3634,7 +3507,7 @@ "SkipUrlEncoding": false }, { - "$id": "311", + "$id": "307", "Name": "body", "NameInRequest": "body", "Type": { @@ -3653,7 +3526,7 @@ ], "Responses": [ { - "$id": "312", + "$id": "308", "StatusCodes": [ 204 ], @@ -3677,12 +3550,40 @@ } ], "Protocol": { - "$id": "313" + "$id": "309" }, "Parent": "SpecialWordsClient", "Parameters": [ { - "$ref": "112" + "$id": "310", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "311", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "312", + "Type": { + "$id": "313", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3700,45 +3601,14 @@ "Parameters": [ { "$id": "316", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "317", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "318", - "Type": { - "$id": "319", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "320", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "321", + "$id": "317", "kind": "constant", "valueType": { - "$id": "322", + "$id": "318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3758,7 +3628,7 @@ "SkipUrlEncoding": false }, { - "$id": "323", + "$id": "319", "Name": "body", "NameInRequest": "body", "Type": { @@ -3777,7 +3647,7 @@ ], "Responses": [ { - "$id": "324", + "$id": "320", "StatusCodes": [ 204 ], @@ -3801,12 +3671,40 @@ } ], "Protocol": { - "$id": "325" + "$id": "321" }, "Parent": "SpecialWordsClient", "Parameters": [ { - "$ref": "316" + "$id": "322", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "323", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "324", + "Type": { + "$id": "325", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3821,42 +3719,10 @@ "Name": "and", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$id": "328", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "329", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "330", - "Type": { - "$id": "331", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - } - ], + "Parameters": [], "Responses": [ { - "$id": "332", + "$id": "328", "StatusCodes": [ 204 ], @@ -3876,18 +3742,14 @@ "Decorators": [] }, { - "$id": "333", + "$id": "329", "Name": "as", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "334", + "$id": "330", "StatusCodes": [ 204 ], @@ -3907,18 +3769,14 @@ "Decorators": [] }, { - "$id": "335", + "$id": "331", "Name": "assert", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "336", + "$id": "332", "StatusCodes": [ 204 ], @@ -3938,18 +3796,14 @@ "Decorators": [] }, { - "$id": "337", + "$id": "333", "Name": "async", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "338", + "$id": "334", "StatusCodes": [ 204 ], @@ -3969,18 +3823,14 @@ "Decorators": [] }, { - "$id": "339", + "$id": "335", "Name": "await", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "340", + "$id": "336", "StatusCodes": [ 204 ], @@ -4000,18 +3850,14 @@ "Decorators": [] }, { - "$id": "341", + "$id": "337", "Name": "break", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "342", + "$id": "338", "StatusCodes": [ 204 ], @@ -4031,18 +3877,14 @@ "Decorators": [] }, { - "$id": "343", + "$id": "339", "Name": "class", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "344", + "$id": "340", "StatusCodes": [ 204 ], @@ -4062,18 +3904,14 @@ "Decorators": [] }, { - "$id": "345", + "$id": "341", "Name": "constructor", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "346", + "$id": "342", "StatusCodes": [ 204 ], @@ -4093,18 +3931,14 @@ "Decorators": [] }, { - "$id": "347", + "$id": "343", "Name": "continue", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "348", + "$id": "344", "StatusCodes": [ 204 ], @@ -4124,18 +3958,14 @@ "Decorators": [] }, { - "$id": "349", + "$id": "345", "Name": "def", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "350", + "$id": "346", "StatusCodes": [ 204 ], @@ -4155,18 +3985,14 @@ "Decorators": [] }, { - "$id": "351", + "$id": "347", "Name": "del", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "352", + "$id": "348", "StatusCodes": [ 204 ], @@ -4186,18 +4012,14 @@ "Decorators": [] }, { - "$id": "353", + "$id": "349", "Name": "elif", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "354", + "$id": "350", "StatusCodes": [ 204 ], @@ -4217,18 +4039,14 @@ "Decorators": [] }, { - "$id": "355", + "$id": "351", "Name": "else", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "356", + "$id": "352", "StatusCodes": [ 204 ], @@ -4248,18 +4066,14 @@ "Decorators": [] }, { - "$id": "357", + "$id": "353", "Name": "except", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "358", + "$id": "354", "StatusCodes": [ 204 ], @@ -4279,18 +4093,14 @@ "Decorators": [] }, { - "$id": "359", + "$id": "355", "Name": "exec", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "360", + "$id": "356", "StatusCodes": [ 204 ], @@ -4310,18 +4120,14 @@ "Decorators": [] }, { - "$id": "361", + "$id": "357", "Name": "finally", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "362", + "$id": "358", "StatusCodes": [ 204 ], @@ -4341,18 +4147,14 @@ "Decorators": [] }, { - "$id": "363", + "$id": "359", "Name": "for", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "364", + "$id": "360", "StatusCodes": [ 204 ], @@ -4372,18 +4174,14 @@ "Decorators": [] }, { - "$id": "365", + "$id": "361", "Name": "from", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "366", + "$id": "362", "StatusCodes": [ 204 ], @@ -4403,18 +4201,14 @@ "Decorators": [] }, { - "$id": "367", + "$id": "363", "Name": "global", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "368", + "$id": "364", "StatusCodes": [ 204 ], @@ -4434,18 +4228,14 @@ "Decorators": [] }, { - "$id": "369", + "$id": "365", "Name": "if", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "370", + "$id": "366", "StatusCodes": [ 204 ], @@ -4465,18 +4255,14 @@ "Decorators": [] }, { - "$id": "371", + "$id": "367", "Name": "import", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "372", + "$id": "368", "StatusCodes": [ 204 ], @@ -4496,18 +4282,14 @@ "Decorators": [] }, { - "$id": "373", + "$id": "369", "Name": "in", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "374", + "$id": "370", "StatusCodes": [ 204 ], @@ -4527,18 +4309,14 @@ "Decorators": [] }, { - "$id": "375", + "$id": "371", "Name": "is", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "376", + "$id": "372", "StatusCodes": [ 204 ], @@ -4558,18 +4336,14 @@ "Decorators": [] }, { - "$id": "377", + "$id": "373", "Name": "lambda", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "378", + "$id": "374", "StatusCodes": [ 204 ], @@ -4589,18 +4363,14 @@ "Decorators": [] }, { - "$id": "379", + "$id": "375", "Name": "not", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "380", + "$id": "376", "StatusCodes": [ 204 ], @@ -4620,18 +4390,14 @@ "Decorators": [] }, { - "$id": "381", + "$id": "377", "Name": "or", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "382", + "$id": "378", "StatusCodes": [ 204 ], @@ -4651,18 +4417,14 @@ "Decorators": [] }, { - "$id": "383", + "$id": "379", "Name": "pass", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "384", + "$id": "380", "StatusCodes": [ 204 ], @@ -4682,18 +4444,14 @@ "Decorators": [] }, { - "$id": "385", + "$id": "381", "Name": "raise", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "386", + "$id": "382", "StatusCodes": [ 204 ], @@ -4713,18 +4471,14 @@ "Decorators": [] }, { - "$id": "387", + "$id": "383", "Name": "return", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "388", + "$id": "384", "StatusCodes": [ 204 ], @@ -4744,18 +4498,14 @@ "Decorators": [] }, { - "$id": "389", + "$id": "385", "Name": "try", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "390", + "$id": "386", "StatusCodes": [ 204 ], @@ -4775,18 +4525,14 @@ "Decorators": [] }, { - "$id": "391", + "$id": "387", "Name": "while", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "392", + "$id": "388", "StatusCodes": [ 204 ], @@ -4806,18 +4552,14 @@ "Decorators": [] }, { - "$id": "393", + "$id": "389", "Name": "with", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "394", + "$id": "390", "StatusCodes": [ 204 ], @@ -4837,18 +4579,14 @@ "Decorators": [] }, { - "$id": "395", + "$id": "391", "Name": "yield", "ResourceName": "Operations", "Accessibility": "public", - "Parameters": [ - { - "$ref": "328" - } - ], + "Parameters": [], "Responses": [ { - "$id": "396", + "$id": "392", "StatusCodes": [ 204 ], @@ -4869,12 +4607,40 @@ } ], "Protocol": { - "$id": "397" + "$id": "393" }, "Parent": "SpecialWordsClient", "Parameters": [ { - "$ref": "328" + "$id": "394", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "395", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "396", + "Type": { + "$id": "397", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4892,41 +4658,10 @@ "Parameters": [ { "$id": "400", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "401", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "402", - "Type": { - "$id": "403", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "404", "Name": "and", "NameInRequest": "and", "Type": { - "$id": "405", + "$id": "401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4945,7 +4680,7 @@ ], "Responses": [ { - "$id": "406", + "$id": "402", "StatusCodes": [ 204 ], @@ -4965,20 +4700,17 @@ "Decorators": [] }, { - "$id": "407", + "$id": "403", "Name": "withAs", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "408", + "$id": "404", "Name": "as", "NameInRequest": "as", "Type": { - "$id": "409", + "$id": "405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4997,7 +4729,7 @@ ], "Responses": [ { - "$id": "410", + "$id": "406", "StatusCodes": [ 204 ], @@ -5017,20 +4749,17 @@ "Decorators": [] }, { - "$id": "411", + "$id": "407", "Name": "withAssert", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "412", + "$id": "408", "Name": "assert", "NameInRequest": "assert", "Type": { - "$id": "413", + "$id": "409", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5049,7 +4778,7 @@ ], "Responses": [ { - "$id": "414", + "$id": "410", "StatusCodes": [ 204 ], @@ -5069,20 +4798,17 @@ "Decorators": [] }, { - "$id": "415", + "$id": "411", "Name": "withAsync", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "416", + "$id": "412", "Name": "async", "NameInRequest": "async", "Type": { - "$id": "417", + "$id": "413", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5101,7 +4827,7 @@ ], "Responses": [ { - "$id": "418", + "$id": "414", "StatusCodes": [ 204 ], @@ -5121,20 +4847,17 @@ "Decorators": [] }, { - "$id": "419", + "$id": "415", "Name": "withAwait", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "420", + "$id": "416", "Name": "await", "NameInRequest": "await", "Type": { - "$id": "421", + "$id": "417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5153,7 +4876,7 @@ ], "Responses": [ { - "$id": "422", + "$id": "418", "StatusCodes": [ 204 ], @@ -5173,20 +4896,17 @@ "Decorators": [] }, { - "$id": "423", + "$id": "419", "Name": "withBreak", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "424", + "$id": "420", "Name": "break", "NameInRequest": "break", "Type": { - "$id": "425", + "$id": "421", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5205,7 +4925,7 @@ ], "Responses": [ { - "$id": "426", + "$id": "422", "StatusCodes": [ 204 ], @@ -5225,20 +4945,17 @@ "Decorators": [] }, { - "$id": "427", + "$id": "423", "Name": "withClass", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "428", + "$id": "424", "Name": "class", "NameInRequest": "class", "Type": { - "$id": "429", + "$id": "425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5257,7 +4974,7 @@ ], "Responses": [ { - "$id": "430", + "$id": "426", "StatusCodes": [ 204 ], @@ -5277,20 +4994,17 @@ "Decorators": [] }, { - "$id": "431", + "$id": "427", "Name": "withConstructor", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "432", + "$id": "428", "Name": "constructor", "NameInRequest": "constructor", "Type": { - "$id": "433", + "$id": "429", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5309,7 +5023,7 @@ ], "Responses": [ { - "$id": "434", + "$id": "430", "StatusCodes": [ 204 ], @@ -5329,20 +5043,17 @@ "Decorators": [] }, { - "$id": "435", + "$id": "431", "Name": "withContinue", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "436", + "$id": "432", "Name": "continue", "NameInRequest": "continue", "Type": { - "$id": "437", + "$id": "433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5361,7 +5072,7 @@ ], "Responses": [ { - "$id": "438", + "$id": "434", "StatusCodes": [ 204 ], @@ -5381,20 +5092,17 @@ "Decorators": [] }, { - "$id": "439", + "$id": "435", "Name": "withDef", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "440", + "$id": "436", "Name": "def", "NameInRequest": "def", "Type": { - "$id": "441", + "$id": "437", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5413,7 +5121,7 @@ ], "Responses": [ { - "$id": "442", + "$id": "438", "StatusCodes": [ 204 ], @@ -5433,20 +5141,17 @@ "Decorators": [] }, { - "$id": "443", + "$id": "439", "Name": "withDel", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "444", + "$id": "440", "Name": "del", "NameInRequest": "del", "Type": { - "$id": "445", + "$id": "441", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5465,7 +5170,7 @@ ], "Responses": [ { - "$id": "446", + "$id": "442", "StatusCodes": [ 204 ], @@ -5485,20 +5190,17 @@ "Decorators": [] }, { - "$id": "447", + "$id": "443", "Name": "withElif", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "448", + "$id": "444", "Name": "elif", "NameInRequest": "elif", "Type": { - "$id": "449", + "$id": "445", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5517,7 +5219,7 @@ ], "Responses": [ { - "$id": "450", + "$id": "446", "StatusCodes": [ 204 ], @@ -5537,20 +5239,17 @@ "Decorators": [] }, { - "$id": "451", + "$id": "447", "Name": "withElse", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "452", + "$id": "448", "Name": "else", "NameInRequest": "else", "Type": { - "$id": "453", + "$id": "449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5569,7 +5268,7 @@ ], "Responses": [ { - "$id": "454", + "$id": "450", "StatusCodes": [ 204 ], @@ -5589,20 +5288,17 @@ "Decorators": [] }, { - "$id": "455", + "$id": "451", "Name": "withExcept", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "456", + "$id": "452", "Name": "except", "NameInRequest": "except", "Type": { - "$id": "457", + "$id": "453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5621,7 +5317,7 @@ ], "Responses": [ { - "$id": "458", + "$id": "454", "StatusCodes": [ 204 ], @@ -5641,20 +5337,17 @@ "Decorators": [] }, { - "$id": "459", + "$id": "455", "Name": "withExec", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "460", + "$id": "456", "Name": "exec", "NameInRequest": "exec", "Type": { - "$id": "461", + "$id": "457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5673,7 +5366,7 @@ ], "Responses": [ { - "$id": "462", + "$id": "458", "StatusCodes": [ 204 ], @@ -5693,20 +5386,17 @@ "Decorators": [] }, { - "$id": "463", + "$id": "459", "Name": "withFinally", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "464", + "$id": "460", "Name": "finally", "NameInRequest": "finally", "Type": { - "$id": "465", + "$id": "461", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5725,7 +5415,7 @@ ], "Responses": [ { - "$id": "466", + "$id": "462", "StatusCodes": [ 204 ], @@ -5745,20 +5435,17 @@ "Decorators": [] }, { - "$id": "467", + "$id": "463", "Name": "withFor", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "468", + "$id": "464", "Name": "for", "NameInRequest": "for", "Type": { - "$id": "469", + "$id": "465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5777,7 +5464,7 @@ ], "Responses": [ { - "$id": "470", + "$id": "466", "StatusCodes": [ 204 ], @@ -5797,20 +5484,17 @@ "Decorators": [] }, { - "$id": "471", + "$id": "467", "Name": "withFrom", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "472", + "$id": "468", "Name": "from", "NameInRequest": "from", "Type": { - "$id": "473", + "$id": "469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5829,7 +5513,7 @@ ], "Responses": [ { - "$id": "474", + "$id": "470", "StatusCodes": [ 204 ], @@ -5849,20 +5533,17 @@ "Decorators": [] }, { - "$id": "475", + "$id": "471", "Name": "withGlobal", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "476", + "$id": "472", "Name": "global", "NameInRequest": "global", "Type": { - "$id": "477", + "$id": "473", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5881,7 +5562,7 @@ ], "Responses": [ { - "$id": "478", + "$id": "474", "StatusCodes": [ 204 ], @@ -5901,20 +5582,17 @@ "Decorators": [] }, { - "$id": "479", + "$id": "475", "Name": "withIf", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "480", + "$id": "476", "Name": "if", "NameInRequest": "if", "Type": { - "$id": "481", + "$id": "477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5933,7 +5611,7 @@ ], "Responses": [ { - "$id": "482", + "$id": "478", "StatusCodes": [ 204 ], @@ -5953,20 +5631,17 @@ "Decorators": [] }, { - "$id": "483", + "$id": "479", "Name": "withImport", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "484", + "$id": "480", "Name": "import", "NameInRequest": "import", "Type": { - "$id": "485", + "$id": "481", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5985,7 +5660,7 @@ ], "Responses": [ { - "$id": "486", + "$id": "482", "StatusCodes": [ 204 ], @@ -6005,20 +5680,17 @@ "Decorators": [] }, { - "$id": "487", + "$id": "483", "Name": "withIn", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "488", + "$id": "484", "Name": "in", "NameInRequest": "in", "Type": { - "$id": "489", + "$id": "485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6037,7 +5709,7 @@ ], "Responses": [ { - "$id": "490", + "$id": "486", "StatusCodes": [ 204 ], @@ -6057,20 +5729,17 @@ "Decorators": [] }, { - "$id": "491", + "$id": "487", "Name": "withIs", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "492", + "$id": "488", "Name": "is", "NameInRequest": "is", "Type": { - "$id": "493", + "$id": "489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6089,7 +5758,7 @@ ], "Responses": [ { - "$id": "494", + "$id": "490", "StatusCodes": [ 204 ], @@ -6109,20 +5778,17 @@ "Decorators": [] }, { - "$id": "495", + "$id": "491", "Name": "withLambda", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "496", + "$id": "492", "Name": "lambda", "NameInRequest": "lambda", "Type": { - "$id": "497", + "$id": "493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6141,7 +5807,7 @@ ], "Responses": [ { - "$id": "498", + "$id": "494", "StatusCodes": [ 204 ], @@ -6161,20 +5827,17 @@ "Decorators": [] }, { - "$id": "499", + "$id": "495", "Name": "withNot", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "500", + "$id": "496", "Name": "not", "NameInRequest": "not", "Type": { - "$id": "501", + "$id": "497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6193,7 +5856,7 @@ ], "Responses": [ { - "$id": "502", + "$id": "498", "StatusCodes": [ 204 ], @@ -6213,20 +5876,17 @@ "Decorators": [] }, { - "$id": "503", + "$id": "499", "Name": "withOr", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "504", + "$id": "500", "Name": "or", "NameInRequest": "or", "Type": { - "$id": "505", + "$id": "501", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6245,7 +5905,7 @@ ], "Responses": [ { - "$id": "506", + "$id": "502", "StatusCodes": [ 204 ], @@ -6265,20 +5925,17 @@ "Decorators": [] }, { - "$id": "507", + "$id": "503", "Name": "withPass", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "508", + "$id": "504", "Name": "pass", "NameInRequest": "pass", "Type": { - "$id": "509", + "$id": "505", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6297,7 +5954,7 @@ ], "Responses": [ { - "$id": "510", + "$id": "506", "StatusCodes": [ 204 ], @@ -6317,20 +5974,17 @@ "Decorators": [] }, { - "$id": "511", + "$id": "507", "Name": "withRaise", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "512", + "$id": "508", "Name": "raise", "NameInRequest": "raise", "Type": { - "$id": "513", + "$id": "509", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6349,7 +6003,7 @@ ], "Responses": [ { - "$id": "514", + "$id": "510", "StatusCodes": [ 204 ], @@ -6369,20 +6023,17 @@ "Decorators": [] }, { - "$id": "515", + "$id": "511", "Name": "withReturn", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "516", + "$id": "512", "Name": "return", "NameInRequest": "return", "Type": { - "$id": "517", + "$id": "513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6401,7 +6052,7 @@ ], "Responses": [ { - "$id": "518", + "$id": "514", "StatusCodes": [ 204 ], @@ -6421,20 +6072,17 @@ "Decorators": [] }, { - "$id": "519", + "$id": "515", "Name": "withTry", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "520", + "$id": "516", "Name": "try", "NameInRequest": "try", "Type": { - "$id": "521", + "$id": "517", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6453,7 +6101,7 @@ ], "Responses": [ { - "$id": "522", + "$id": "518", "StatusCodes": [ 204 ], @@ -6473,20 +6121,17 @@ "Decorators": [] }, { - "$id": "523", + "$id": "519", "Name": "withWhile", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "524", + "$id": "520", "Name": "while", "NameInRequest": "while", "Type": { - "$id": "525", + "$id": "521", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6505,7 +6150,7 @@ ], "Responses": [ { - "$id": "526", + "$id": "522", "StatusCodes": [ 204 ], @@ -6525,20 +6170,17 @@ "Decorators": [] }, { - "$id": "527", + "$id": "523", "Name": "withWith", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "528", + "$id": "524", "Name": "with", "NameInRequest": "with", "Type": { - "$id": "529", + "$id": "525", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6557,7 +6199,7 @@ ], "Responses": [ { - "$id": "530", + "$id": "526", "StatusCodes": [ 204 ], @@ -6577,20 +6219,17 @@ "Decorators": [] }, { - "$id": "531", + "$id": "527", "Name": "withYield", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "532", + "$id": "528", "Name": "yield", "NameInRequest": "yield", "Type": { - "$id": "533", + "$id": "529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6609,7 +6248,7 @@ ], "Responses": [ { - "$id": "534", + "$id": "530", "StatusCodes": [ 204 ], @@ -6629,20 +6268,17 @@ "Decorators": [] }, { - "$id": "535", + "$id": "531", "Name": "withCancellationToken", "ResourceName": "Parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "400" - }, - { - "$id": "536", + "$id": "532", "Name": "cancellationToken", "NameInRequest": "cancellationToken", "Type": { - "$id": "537", + "$id": "533", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6661,7 +6297,7 @@ ], "Responses": [ { - "$id": "538", + "$id": "534", "StatusCodes": [ 204 ], @@ -6682,12 +6318,40 @@ } ], "Protocol": { - "$id": "539" + "$id": "535" }, "Parent": "SpecialWordsClient", "Parameters": [ { - "$ref": "400" + "$id": "536", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "537", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "538", + "Type": { + "$id": "539", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/array/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/array/tspCodeModel.json index 8867dfccfae..1df76335c9f 100644 --- a/test/CadlRanchProjectsNonAzure/type/array/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/array/tspCodeModel.json @@ -115,44 +115,13 @@ "Parameters": [ { "$id": "15", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "16", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "17", - "Type": { - "$id": "18", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "19", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "20", + "$id": "16", "kind": "constant", "valueType": { - "$id": "21", + "$id": "17", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -174,16 +143,16 @@ ], "Responses": [ { - "$id": "22", + "$id": "18", "StatusCodes": [ 200 ], "BodyType": { - "$id": "23", + "$id": "19", "kind": "array", "name": "Array", "valueType": { - "$id": "24", + "$id": "20", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -211,24 +180,21 @@ "Decorators": [] }, { - "$id": "25", + "$id": "21", "Name": "put", "ResourceName": "Int32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "15" - }, - { - "$id": "26", + "$id": "22", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "27", + "$id": "23", "kind": "constant", "valueType": { - "$id": "28", + "$id": "24", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -248,15 +214,15 @@ "SkipUrlEncoding": false }, { - "$id": "29", + "$id": "25", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "30", + "$id": "26", "kind": "array", "name": "Array", "valueType": { - "$id": "31", + "$id": "27", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -278,7 +244,7 @@ ], "Responses": [ { - "$id": "32", + "$id": "28", "StatusCodes": [ 204 ], @@ -302,12 +268,40 @@ } ], "Protocol": { - "$id": "33" + "$id": "29" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "15" + "$id": "30", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "31", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "32", + "Type": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -325,44 +319,13 @@ "Parameters": [ { "$id": "36", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "37", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "38", - "Type": { - "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "40", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "41", + "$id": "37", "kind": "constant", "valueType": { - "$id": "42", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -384,16 +347,16 @@ ], "Responses": [ { - "$id": "43", + "$id": "39", "StatusCodes": [ 200 ], "BodyType": { - "$id": "44", + "$id": "40", "kind": "array", "name": "Array", "valueType": { - "$id": "45", + "$id": "41", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -421,24 +384,21 @@ "Decorators": [] }, { - "$id": "46", + "$id": "42", "Name": "put", "ResourceName": "Int64Value", "Accessibility": "public", "Parameters": [ { - "$ref": "36" - }, - { - "$id": "47", + "$id": "43", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "48", + "$id": "44", "kind": "constant", "valueType": { - "$id": "49", + "$id": "45", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -458,15 +418,15 @@ "SkipUrlEncoding": false }, { - "$id": "50", + "$id": "46", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "51", + "$id": "47", "kind": "array", "name": "Array", "valueType": { - "$id": "52", + "$id": "48", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -488,7 +448,7 @@ ], "Responses": [ { - "$id": "53", + "$id": "49", "StatusCodes": [ 204 ], @@ -512,12 +472,40 @@ } ], "Protocol": { - "$id": "54" + "$id": "50" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "36" + "$id": "51", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "52", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "53", + "Type": { + "$id": "54", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -535,44 +523,13 @@ "Parameters": [ { "$id": "57", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "58", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "59", - "Type": { - "$id": "60", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "61", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "62", + "$id": "58", "kind": "constant", "valueType": { - "$id": "63", + "$id": "59", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -594,16 +551,16 @@ ], "Responses": [ { - "$id": "64", + "$id": "60", "StatusCodes": [ 200 ], "BodyType": { - "$id": "65", + "$id": "61", "kind": "array", "name": "Array", "valueType": { - "$id": "66", + "$id": "62", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -631,24 +588,21 @@ "Decorators": [] }, { - "$id": "67", + "$id": "63", "Name": "put", "ResourceName": "BooleanValue", "Accessibility": "public", "Parameters": [ { - "$ref": "57" - }, - { - "$id": "68", + "$id": "64", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "69", + "$id": "65", "kind": "constant", "valueType": { - "$id": "70", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -668,15 +622,15 @@ "SkipUrlEncoding": false }, { - "$id": "71", + "$id": "67", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "72", + "$id": "68", "kind": "array", "name": "Array", "valueType": { - "$id": "73", + "$id": "69", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -698,7 +652,7 @@ ], "Responses": [ { - "$id": "74", + "$id": "70", "StatusCodes": [ 204 ], @@ -722,12 +676,40 @@ } ], "Protocol": { - "$id": "75" + "$id": "71" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "57" + "$id": "72", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "73", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "74", + "Type": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -745,44 +727,13 @@ "Parameters": [ { "$id": "78", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "79", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "80", - "Type": { - "$id": "81", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "82", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "83", + "$id": "79", "kind": "constant", "valueType": { - "$id": "84", + "$id": "80", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -804,16 +755,16 @@ ], "Responses": [ { - "$id": "85", + "$id": "81", "StatusCodes": [ 200 ], "BodyType": { - "$id": "86", + "$id": "82", "kind": "array", "name": "Array", "valueType": { - "$id": "87", + "$id": "83", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -841,24 +792,21 @@ "Decorators": [] }, { - "$id": "88", + "$id": "84", "Name": "put", "ResourceName": "StringValue", "Accessibility": "public", "Parameters": [ { - "$ref": "78" - }, - { - "$id": "89", + "$id": "85", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -878,15 +826,15 @@ "SkipUrlEncoding": false }, { - "$id": "92", + "$id": "88", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "93", + "$id": "89", "kind": "array", "name": "Array", "valueType": { - "$id": "94", + "$id": "90", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -908,7 +856,7 @@ ], "Responses": [ { - "$id": "95", + "$id": "91", "StatusCodes": [ 204 ], @@ -932,12 +880,40 @@ } ], "Protocol": { - "$id": "96" + "$id": "92" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "78" + "$id": "93", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "94", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "95", + "Type": { + "$id": "96", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -955,44 +931,13 @@ "Parameters": [ { "$id": "99", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "100", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "101", - "Type": { - "$id": "102", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "103", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "104", + "$id": "100", "kind": "constant", "valueType": { - "$id": "105", + "$id": "101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1014,16 +959,16 @@ ], "Responses": [ { - "$id": "106", + "$id": "102", "StatusCodes": [ 200 ], "BodyType": { - "$id": "107", + "$id": "103", "kind": "array", "name": "Array", "valueType": { - "$id": "108", + "$id": "104", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1051,24 +996,21 @@ "Decorators": [] }, { - "$id": "109", + "$id": "105", "Name": "put", "ResourceName": "Float32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "99" - }, - { - "$id": "110", + "$id": "106", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "111", + "$id": "107", "kind": "constant", "valueType": { - "$id": "112", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1088,15 +1030,15 @@ "SkipUrlEncoding": false }, { - "$id": "113", + "$id": "109", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "114", + "$id": "110", "kind": "array", "name": "Array", "valueType": { - "$id": "115", + "$id": "111", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1118,7 +1060,7 @@ ], "Responses": [ { - "$id": "116", + "$id": "112", "StatusCodes": [ 204 ], @@ -1142,12 +1084,40 @@ } ], "Protocol": { - "$id": "117" + "$id": "113" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "99" + "$id": "114", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "115", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "116", + "Type": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1165,44 +1135,13 @@ "Parameters": [ { "$id": "120", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "121", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "122", - "Type": { - "$id": "123", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "124", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "125", + "$id": "121", "kind": "constant", "valueType": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1224,21 +1163,21 @@ ], "Responses": [ { - "$id": "127", + "$id": "123", "StatusCodes": [ 200 ], "BodyType": { - "$id": "128", + "$id": "124", "kind": "array", "name": "Array", "valueType": { - "$id": "129", + "$id": "125", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "130", + "$id": "126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1269,24 +1208,21 @@ "Decorators": [] }, { - "$id": "131", + "$id": "127", "Name": "put", "ResourceName": "DatetimeValue", "Accessibility": "public", "Parameters": [ { - "$ref": "120" - }, - { - "$id": "132", + "$id": "128", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "133", + "$id": "129", "kind": "constant", "valueType": { - "$id": "134", + "$id": "130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1306,20 +1242,20 @@ "SkipUrlEncoding": false }, { - "$id": "135", + "$id": "131", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "136", + "$id": "132", "kind": "array", "name": "Array", "valueType": { - "$id": "137", + "$id": "133", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "138", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1344,7 +1280,7 @@ ], "Responses": [ { - "$id": "139", + "$id": "135", "StatusCodes": [ 204 ], @@ -1368,12 +1304,40 @@ } ], "Protocol": { - "$id": "140" + "$id": "136" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "120" + "$id": "137", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "138", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "139", + "Type": { + "$id": "140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1391,44 +1355,13 @@ "Parameters": [ { "$id": "143", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "144", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "145", - "Type": { - "$id": "146", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "147", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "148", + "$id": "144", "kind": "constant", "valueType": { - "$id": "149", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1450,21 +1383,21 @@ ], "Responses": [ { - "$id": "150", + "$id": "146", "StatusCodes": [ 200 ], "BodyType": { - "$id": "151", + "$id": "147", "kind": "array", "name": "Array", "valueType": { - "$id": "152", + "$id": "148", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "153", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1495,24 +1428,21 @@ "Decorators": [] }, { - "$id": "154", + "$id": "150", "Name": "put", "ResourceName": "DurationValue", "Accessibility": "public", "Parameters": [ { - "$ref": "143" - }, - { - "$id": "155", + "$id": "151", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "156", + "$id": "152", "kind": "constant", "valueType": { - "$id": "157", + "$id": "153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1532,20 +1462,20 @@ "SkipUrlEncoding": false }, { - "$id": "158", + "$id": "154", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "159", + "$id": "155", "kind": "array", "name": "Array", "valueType": { - "$id": "160", + "$id": "156", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "161", + "$id": "157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1570,7 +1500,7 @@ ], "Responses": [ { - "$id": "162", + "$id": "158", "StatusCodes": [ 204 ], @@ -1594,12 +1524,40 @@ } ], "Protocol": { - "$id": "163" + "$id": "159" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "143" + "$id": "160", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "161", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "162", + "Type": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1617,44 +1575,13 @@ "Parameters": [ { "$id": "166", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "167", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "168", - "Type": { - "$id": "169", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "170", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "171", + "$id": "167", "kind": "constant", "valueType": { - "$id": "172", + "$id": "168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1676,16 +1603,16 @@ ], "Responses": [ { - "$id": "173", + "$id": "169", "StatusCodes": [ 200 ], "BodyType": { - "$id": "174", + "$id": "170", "kind": "array", "name": "Array", "valueType": { - "$id": "175", + "$id": "171", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1713,24 +1640,21 @@ "Decorators": [] }, { - "$id": "176", + "$id": "172", "Name": "put", "ResourceName": "UnknownValue", "Accessibility": "public", "Parameters": [ { - "$ref": "166" - }, - { - "$id": "177", + "$id": "173", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "178", + "$id": "174", "kind": "constant", "valueType": { - "$id": "179", + "$id": "175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1750,15 +1674,15 @@ "SkipUrlEncoding": false }, { - "$id": "180", + "$id": "176", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "181", + "$id": "177", "kind": "array", "name": "Array", "valueType": { - "$id": "182", + "$id": "178", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1780,7 +1704,7 @@ ], "Responses": [ { - "$id": "183", + "$id": "179", "StatusCodes": [ 204 ], @@ -1804,12 +1728,40 @@ } ], "Protocol": { - "$id": "184" + "$id": "180" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "166" + "$id": "181", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "182", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "183", + "Type": { + "$id": "184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1827,44 +1779,13 @@ "Parameters": [ { "$id": "187", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "188", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "189", - "Type": { - "$id": "190", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "191", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "192", + "$id": "188", "kind": "constant", "valueType": { - "$id": "193", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1886,12 +1807,12 @@ ], "Responses": [ { - "$id": "194", + "$id": "190", "StatusCodes": [ 200 ], "BodyType": { - "$id": "195", + "$id": "191", "kind": "array", "name": "ArrayInnerModel", "valueType": { @@ -1919,24 +1840,21 @@ "Decorators": [] }, { - "$id": "196", + "$id": "192", "Name": "put", "ResourceName": "ModelValue", "Accessibility": "public", "Parameters": [ { - "$ref": "187" - }, - { - "$id": "197", + "$id": "193", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "198", + "$id": "194", "kind": "constant", "valueType": { - "$id": "199", + "$id": "195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1956,11 +1874,11 @@ "SkipUrlEncoding": false }, { - "$id": "200", + "$id": "196", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "201", + "$id": "197", "kind": "array", "name": "ArrayInnerModel", "valueType": { @@ -1982,7 +1900,7 @@ ], "Responses": [ { - "$id": "202", + "$id": "198", "StatusCodes": [ 204 ], @@ -2006,12 +1924,40 @@ } ], "Protocol": { - "$id": "203" + "$id": "199" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "187" + "$id": "200", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "201", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "202", + "Type": { + "$id": "203", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2029,44 +1975,13 @@ "Parameters": [ { "$id": "206", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "207", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "208", - "Type": { - "$id": "209", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "210", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "211", + "$id": "207", "kind": "constant", "valueType": { - "$id": "212", + "$id": "208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2088,19 +2003,19 @@ ], "Responses": [ { - "$id": "213", + "$id": "209", "StatusCodes": [ 200 ], "BodyType": { - "$id": "214", + "$id": "210", "kind": "array", "name": "Array", "valueType": { - "$id": "215", + "$id": "211", "kind": "nullable", "type": { - "$id": "216", + "$id": "212", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2129,24 +2044,21 @@ "Decorators": [] }, { - "$id": "217", + "$id": "213", "Name": "put", "ResourceName": "NullableFloatValue", "Accessibility": "public", "Parameters": [ { - "$ref": "206" - }, - { - "$id": "218", + "$id": "214", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "219", + "$id": "215", "kind": "constant", "valueType": { - "$id": "220", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2166,18 +2078,18 @@ "SkipUrlEncoding": false }, { - "$id": "221", + "$id": "217", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "222", + "$id": "218", "kind": "array", "name": "Array", "valueType": { - "$id": "223", + "$id": "219", "kind": "nullable", "type": { - "$id": "224", + "$id": "220", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2200,7 +2112,7 @@ ], "Responses": [ { - "$id": "225", + "$id": "221", "StatusCodes": [ 204 ], @@ -2224,12 +2136,40 @@ } ], "Protocol": { - "$id": "226" + "$id": "222" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "206" + "$id": "223", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "224", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "225", + "Type": { + "$id": "226", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2247,44 +2187,13 @@ "Parameters": [ { "$id": "229", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "230", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "231", - "Type": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "233", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "234", + "$id": "230", "kind": "constant", "valueType": { - "$id": "235", + "$id": "231", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2306,19 +2215,19 @@ ], "Responses": [ { - "$id": "236", + "$id": "232", "StatusCodes": [ 200 ], "BodyType": { - "$id": "237", + "$id": "233", "kind": "array", "name": "Array", "valueType": { - "$id": "238", + "$id": "234", "kind": "nullable", "type": { - "$id": "239", + "$id": "235", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2347,24 +2256,21 @@ "Decorators": [] }, { - "$id": "240", + "$id": "236", "Name": "put", "ResourceName": "NullableInt32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "229" - }, - { - "$id": "241", + "$id": "237", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "242", + "$id": "238", "kind": "constant", "valueType": { - "$id": "243", + "$id": "239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2384,18 +2290,18 @@ "SkipUrlEncoding": false }, { - "$id": "244", + "$id": "240", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "245", + "$id": "241", "kind": "array", "name": "Array", "valueType": { - "$id": "246", + "$id": "242", "kind": "nullable", "type": { - "$id": "247", + "$id": "243", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -2418,7 +2324,7 @@ ], "Responses": [ { - "$id": "248", + "$id": "244", "StatusCodes": [ 204 ], @@ -2442,12 +2348,40 @@ } ], "Protocol": { - "$id": "249" + "$id": "245" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "229" + "$id": "246", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "247", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "248", + "Type": { + "$id": "249", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2465,44 +2399,13 @@ "Parameters": [ { "$id": "252", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "253", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "254", - "Type": { - "$id": "255", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "256", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "257", + "$id": "253", "kind": "constant", "valueType": { - "$id": "258", + "$id": "254", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2524,19 +2427,19 @@ ], "Responses": [ { - "$id": "259", + "$id": "255", "StatusCodes": [ 200 ], "BodyType": { - "$id": "260", + "$id": "256", "kind": "array", "name": "Array", "valueType": { - "$id": "261", + "$id": "257", "kind": "nullable", "type": { - "$id": "262", + "$id": "258", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -2565,24 +2468,21 @@ "Decorators": [] }, { - "$id": "263", + "$id": "259", "Name": "put", "ResourceName": "NullableBooleanValue", "Accessibility": "public", "Parameters": [ { - "$ref": "252" - }, - { - "$id": "264", + "$id": "260", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "265", + "$id": "261", "kind": "constant", "valueType": { - "$id": "266", + "$id": "262", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2602,18 +2502,18 @@ "SkipUrlEncoding": false }, { - "$id": "267", + "$id": "263", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "268", + "$id": "264", "kind": "array", "name": "Array", "valueType": { - "$id": "269", + "$id": "265", "kind": "nullable", "type": { - "$id": "270", + "$id": "266", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -2636,7 +2536,7 @@ ], "Responses": [ { - "$id": "271", + "$id": "267", "StatusCodes": [ 204 ], @@ -2660,12 +2560,40 @@ } ], "Protocol": { - "$id": "272" + "$id": "268" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "252" + "$id": "269", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "270", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "271", + "Type": { + "$id": "272", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2683,44 +2611,13 @@ "Parameters": [ { "$id": "275", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "276", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "277", - "Type": { - "$id": "278", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "279", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "280", + "$id": "276", "kind": "constant", "valueType": { - "$id": "281", + "$id": "277", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2742,19 +2639,19 @@ ], "Responses": [ { - "$id": "282", + "$id": "278", "StatusCodes": [ 200 ], "BodyType": { - "$id": "283", + "$id": "279", "kind": "array", "name": "Array", "valueType": { - "$id": "284", + "$id": "280", "kind": "nullable", "type": { - "$id": "285", + "$id": "281", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2783,24 +2680,21 @@ "Decorators": [] }, { - "$id": "286", + "$id": "282", "Name": "put", "ResourceName": "NullableStringValue", "Accessibility": "public", "Parameters": [ { - "$ref": "275" - }, - { - "$id": "287", + "$id": "283", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "288", + "$id": "284", "kind": "constant", "valueType": { - "$id": "289", + "$id": "285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2820,18 +2714,18 @@ "SkipUrlEncoding": false }, { - "$id": "290", + "$id": "286", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "291", + "$id": "287", "kind": "array", "name": "Array", "valueType": { - "$id": "292", + "$id": "288", "kind": "nullable", "type": { - "$id": "293", + "$id": "289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2854,7 +2748,7 @@ ], "Responses": [ { - "$id": "294", + "$id": "290", "StatusCodes": [ 204 ], @@ -2878,12 +2772,40 @@ } ], "Protocol": { - "$id": "295" + "$id": "291" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "275" + "$id": "292", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "293", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "294", + "Type": { + "$id": "295", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2901,44 +2823,13 @@ "Parameters": [ { "$id": "298", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "299", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "300", - "Type": { - "$id": "301", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "302", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "303", + "$id": "299", "kind": "constant", "valueType": { - "$id": "304", + "$id": "300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2960,16 +2851,16 @@ ], "Responses": [ { - "$id": "305", + "$id": "301", "StatusCodes": [ 200 ], "BodyType": { - "$id": "306", + "$id": "302", "kind": "array", "name": "Array", "valueType": { - "$id": "307", + "$id": "303", "kind": "nullable", "type": { "$ref": "2" @@ -2997,24 +2888,21 @@ "Decorators": [] }, { - "$id": "308", + "$id": "304", "Name": "put", "ResourceName": "NullableModelValue", "Accessibility": "public", "Parameters": [ { - "$ref": "298" - }, - { - "$id": "309", + "$id": "305", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "310", + "$id": "306", "kind": "constant", "valueType": { - "$id": "311", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3034,15 +2922,15 @@ "SkipUrlEncoding": false }, { - "$id": "312", + "$id": "308", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "313", + "$id": "309", "kind": "array", "name": "Array", "valueType": { - "$id": "314", + "$id": "310", "kind": "nullable", "type": { "$ref": "2" @@ -3064,7 +2952,7 @@ ], "Responses": [ { - "$id": "315", + "$id": "311", "StatusCodes": [ 204 ], @@ -3088,12 +2976,40 @@ } ], "Protocol": { - "$id": "316" + "$id": "312" }, "Parent": "ArrayClient", "Parameters": [ { - "$ref": "298" + "$id": "313", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "314", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "315", + "Type": { + "$id": "316", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/dictionary/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/dictionary/tspCodeModel.json index 644587fe5df..a611774e040 100644 --- a/test/CadlRanchProjectsNonAzure/type/dictionary/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/dictionary/tspCodeModel.json @@ -120,44 +120,13 @@ "Parameters": [ { "$id": "16", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "17", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "18", - "Type": { - "$id": "19", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "20", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "21", + "$id": "17", "kind": "constant", "valueType": { - "$id": "22", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -179,22 +148,22 @@ ], "Responses": [ { - "$id": "23", + "$id": "19", "StatusCodes": [ 200 ], "BodyType": { - "$id": "24", + "$id": "20", "kind": "dict", "keyType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "26", + "$id": "22", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -221,24 +190,21 @@ "Decorators": [] }, { - "$id": "27", + "$id": "23", "Name": "put", "ResourceName": "Int32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "16" - }, - { - "$id": "28", + "$id": "24", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "29", + "$id": "25", "kind": "constant", "valueType": { - "$id": "30", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -258,21 +224,21 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "27", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "32", + "$id": "28", "kind": "dict", "keyType": { - "$id": "33", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "34", + "$id": "30", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -293,7 +259,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "31", "StatusCodes": [ 204 ], @@ -317,12 +283,40 @@ } ], "Protocol": { - "$id": "36" + "$id": "32" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "16" + "$id": "33", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "34", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "35", + "Type": { + "$id": "36", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -340,44 +334,13 @@ "Parameters": [ { "$id": "39", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "40", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "41", - "Type": { - "$id": "42", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "43", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "44", + "$id": "40", "kind": "constant", "valueType": { - "$id": "45", + "$id": "41", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -399,22 +362,22 @@ ], "Responses": [ { - "$id": "46", + "$id": "42", "StatusCodes": [ 200 ], "BodyType": { - "$id": "47", + "$id": "43", "kind": "dict", "keyType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "49", + "$id": "45", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -441,24 +404,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "put", "ResourceName": "Int64Value", "Accessibility": "public", "Parameters": [ { - "$ref": "39" - }, - { - "$id": "51", + "$id": "47", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "48", "kind": "constant", "valueType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -478,21 +438,21 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "50", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "55", + "$id": "51", "kind": "dict", "keyType": { - "$id": "56", + "$id": "52", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "57", + "$id": "53", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -513,7 +473,7 @@ ], "Responses": [ { - "$id": "58", + "$id": "54", "StatusCodes": [ 204 ], @@ -537,12 +497,40 @@ } ], "Protocol": { - "$id": "59" + "$id": "55" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "39" + "$id": "56", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "57", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "58", + "Type": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -560,44 +548,13 @@ "Parameters": [ { "$id": "62", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "63", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "64", - "Type": { - "$id": "65", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "66", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "67", + "$id": "63", "kind": "constant", "valueType": { - "$id": "68", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -619,22 +576,22 @@ ], "Responses": [ { - "$id": "69", + "$id": "65", "StatusCodes": [ 200 ], "BodyType": { - "$id": "70", + "$id": "66", "kind": "dict", "keyType": { - "$id": "71", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "72", + "$id": "68", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -661,24 +618,21 @@ "Decorators": [] }, { - "$id": "73", + "$id": "69", "Name": "put", "ResourceName": "BooleanValue", "Accessibility": "public", "Parameters": [ { - "$ref": "62" - }, - { - "$id": "74", + "$id": "70", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "75", + "$id": "71", "kind": "constant", "valueType": { - "$id": "76", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -698,21 +652,21 @@ "SkipUrlEncoding": false }, { - "$id": "77", + "$id": "73", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "78", + "$id": "74", "kind": "dict", "keyType": { - "$id": "79", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "80", + "$id": "76", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -733,7 +687,7 @@ ], "Responses": [ { - "$id": "81", + "$id": "77", "StatusCodes": [ 204 ], @@ -757,12 +711,40 @@ } ], "Protocol": { - "$id": "82" + "$id": "78" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "62" + "$id": "79", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "80", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "81", + "Type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -780,44 +762,13 @@ "Parameters": [ { "$id": "85", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "86", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "87", - "Type": { - "$id": "88", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "89", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "90", + "$id": "86", "kind": "constant", "valueType": { - "$id": "91", + "$id": "87", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -839,22 +790,22 @@ ], "Responses": [ { - "$id": "92", + "$id": "88", "StatusCodes": [ 200 ], "BodyType": { - "$id": "93", + "$id": "89", "kind": "dict", "keyType": { - "$id": "94", + "$id": "90", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "95", + "$id": "91", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -881,24 +832,21 @@ "Decorators": [] }, { - "$id": "96", + "$id": "92", "Name": "put", "ResourceName": "StringValue", "Accessibility": "public", "Parameters": [ { - "$ref": "85" - }, - { - "$id": "97", + "$id": "93", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "98", + "$id": "94", "kind": "constant", "valueType": { - "$id": "99", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -918,21 +866,21 @@ "SkipUrlEncoding": false }, { - "$id": "100", + "$id": "96", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "101", + "$id": "97", "kind": "dict", "keyType": { - "$id": "102", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "103", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -953,7 +901,7 @@ ], "Responses": [ { - "$id": "104", + "$id": "100", "StatusCodes": [ 204 ], @@ -977,12 +925,40 @@ } ], "Protocol": { - "$id": "105" + "$id": "101" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "85" + "$id": "102", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "103", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "104", + "Type": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1000,44 +976,13 @@ "Parameters": [ { "$id": "108", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "109", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "110", - "Type": { - "$id": "111", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "112", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "113", + "$id": "109", "kind": "constant", "valueType": { - "$id": "114", + "$id": "110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1059,22 +1004,22 @@ ], "Responses": [ { - "$id": "115", + "$id": "111", "StatusCodes": [ 200 ], "BodyType": { - "$id": "116", + "$id": "112", "kind": "dict", "keyType": { - "$id": "117", + "$id": "113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "118", + "$id": "114", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1101,24 +1046,21 @@ "Decorators": [] }, { - "$id": "119", + "$id": "115", "Name": "put", "ResourceName": "Float32Value", "Accessibility": "public", "Parameters": [ { - "$ref": "108" - }, - { - "$id": "120", + "$id": "116", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "121", + "$id": "117", "kind": "constant", "valueType": { - "$id": "122", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1138,21 +1080,21 @@ "SkipUrlEncoding": false }, { - "$id": "123", + "$id": "119", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "124", + "$id": "120", "kind": "dict", "keyType": { - "$id": "125", + "$id": "121", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "126", + "$id": "122", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -1173,7 +1115,7 @@ ], "Responses": [ { - "$id": "127", + "$id": "123", "StatusCodes": [ 204 ], @@ -1197,12 +1139,40 @@ } ], "Protocol": { - "$id": "128" + "$id": "124" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "108" + "$id": "125", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "126", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "127", + "Type": { + "$id": "128", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1220,44 +1190,13 @@ "Parameters": [ { "$id": "131", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "132", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "133", - "Type": { - "$id": "134", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "135", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "136", + "$id": "132", "kind": "constant", "valueType": { - "$id": "137", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1279,27 +1218,27 @@ ], "Responses": [ { - "$id": "138", + "$id": "134", "StatusCodes": [ 200 ], "BodyType": { - "$id": "139", + "$id": "135", "kind": "dict", "keyType": { - "$id": "140", + "$id": "136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "141", + "$id": "137", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "142", + "$id": "138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1329,24 +1268,21 @@ "Decorators": [] }, { - "$id": "143", + "$id": "139", "Name": "put", "ResourceName": "DatetimeValue", "Accessibility": "public", "Parameters": [ { - "$ref": "131" - }, - { - "$id": "144", + "$id": "140", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "145", + "$id": "141", "kind": "constant", "valueType": { - "$id": "146", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1366,26 +1302,26 @@ "SkipUrlEncoding": false }, { - "$id": "147", + "$id": "143", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "148", + "$id": "144", "kind": "dict", "keyType": { - "$id": "149", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "150", + "$id": "146", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "151", + "$id": "147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1409,7 +1345,7 @@ ], "Responses": [ { - "$id": "152", + "$id": "148", "StatusCodes": [ 204 ], @@ -1433,12 +1369,40 @@ } ], "Protocol": { - "$id": "153" + "$id": "149" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "131" + "$id": "150", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "151", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "152", + "Type": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1456,44 +1420,13 @@ "Parameters": [ { "$id": "156", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "157", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "158", - "Type": { - "$id": "159", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "160", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "161", + "$id": "157", "kind": "constant", "valueType": { - "$id": "162", + "$id": "158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1515,27 +1448,27 @@ ], "Responses": [ { - "$id": "163", + "$id": "159", "StatusCodes": [ 200 ], "BodyType": { - "$id": "164", + "$id": "160", "kind": "dict", "keyType": { - "$id": "165", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "166", + "$id": "162", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "167", + "$id": "163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1565,24 +1498,21 @@ "Decorators": [] }, { - "$id": "168", + "$id": "164", "Name": "put", "ResourceName": "DurationValue", "Accessibility": "public", "Parameters": [ { - "$ref": "156" - }, - { - "$id": "169", + "$id": "165", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "170", + "$id": "166", "kind": "constant", "valueType": { - "$id": "171", + "$id": "167", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1602,26 +1532,26 @@ "SkipUrlEncoding": false }, { - "$id": "172", + "$id": "168", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "173", + "$id": "169", "kind": "dict", "keyType": { - "$id": "174", + "$id": "170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "175", + "$id": "171", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "176", + "$id": "172", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1645,7 +1575,7 @@ ], "Responses": [ { - "$id": "177", + "$id": "173", "StatusCodes": [ 204 ], @@ -1669,12 +1599,40 @@ } ], "Protocol": { - "$id": "178" + "$id": "174" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "156" + "$id": "175", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "176", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "177", + "Type": { + "$id": "178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1692,44 +1650,13 @@ "Parameters": [ { "$id": "181", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "182", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "183", - "Type": { - "$id": "184", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "185", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "186", + "$id": "182", "kind": "constant", "valueType": { - "$id": "187", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1751,22 +1678,22 @@ ], "Responses": [ { - "$id": "188", + "$id": "184", "StatusCodes": [ 200 ], "BodyType": { - "$id": "189", + "$id": "185", "kind": "dict", "keyType": { - "$id": "190", + "$id": "186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "191", + "$id": "187", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1793,24 +1720,21 @@ "Decorators": [] }, { - "$id": "192", + "$id": "188", "Name": "put", "ResourceName": "UnknownValue", "Accessibility": "public", "Parameters": [ { - "$ref": "181" - }, - { - "$id": "193", + "$id": "189", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "194", + "$id": "190", "kind": "constant", "valueType": { - "$id": "195", + "$id": "191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1830,21 +1754,21 @@ "SkipUrlEncoding": false }, { - "$id": "196", + "$id": "192", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "197", + "$id": "193", "kind": "dict", "keyType": { - "$id": "198", + "$id": "194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "199", + "$id": "195", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1865,7 +1789,7 @@ ], "Responses": [ { - "$id": "200", + "$id": "196", "StatusCodes": [ 204 ], @@ -1889,12 +1813,40 @@ } ], "Protocol": { - "$id": "201" + "$id": "197" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "181" + "$id": "198", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "199", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "200", + "Type": { + "$id": "201", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1912,44 +1864,13 @@ "Parameters": [ { "$id": "204", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "205", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "206", - "Type": { - "$id": "207", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "208", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "209", + "$id": "205", "kind": "constant", "valueType": { - "$id": "210", + "$id": "206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1971,15 +1892,15 @@ ], "Responses": [ { - "$id": "211", + "$id": "207", "StatusCodes": [ 200 ], "BodyType": { - "$id": "212", + "$id": "208", "kind": "dict", "keyType": { - "$id": "213", + "$id": "209", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2009,24 +1930,21 @@ "Decorators": [] }, { - "$id": "214", + "$id": "210", "Name": "put", "ResourceName": "ModelValue", "Accessibility": "public", "Parameters": [ { - "$ref": "204" - }, - { - "$id": "215", + "$id": "211", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "216", + "$id": "212", "kind": "constant", "valueType": { - "$id": "217", + "$id": "213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2046,14 +1964,14 @@ "SkipUrlEncoding": false }, { - "$id": "218", + "$id": "214", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "219", + "$id": "215", "kind": "dict", "keyType": { - "$id": "220", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2077,7 +1995,7 @@ ], "Responses": [ { - "$id": "221", + "$id": "217", "StatusCodes": [ 204 ], @@ -2101,12 +2019,40 @@ } ], "Protocol": { - "$id": "222" + "$id": "218" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "204" + "$id": "219", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "220", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "221", + "Type": { + "$id": "222", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2124,44 +2070,13 @@ "Parameters": [ { "$id": "225", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "226", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "227", - "Type": { - "$id": "228", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "229", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "230", + "$id": "226", "kind": "constant", "valueType": { - "$id": "231", + "$id": "227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2183,15 +2098,15 @@ ], "Responses": [ { - "$id": "232", + "$id": "228", "StatusCodes": [ 200 ], "BodyType": { - "$id": "233", + "$id": "229", "kind": "dict", "keyType": { - "$id": "234", + "$id": "230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2221,24 +2136,21 @@ "Decorators": [] }, { - "$id": "235", + "$id": "231", "Name": "put", "ResourceName": "RecursiveModelValue", "Accessibility": "public", "Parameters": [ { - "$ref": "225" - }, - { - "$id": "236", + "$id": "232", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "237", + "$id": "233", "kind": "constant", "valueType": { - "$id": "238", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2258,14 +2170,14 @@ "SkipUrlEncoding": false }, { - "$id": "239", + "$id": "235", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "240", + "$id": "236", "kind": "dict", "keyType": { - "$id": "241", + "$id": "237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2289,7 +2201,7 @@ ], "Responses": [ { - "$id": "242", + "$id": "238", "StatusCodes": [ 204 ], @@ -2313,12 +2225,40 @@ } ], "Protocol": { - "$id": "243" + "$id": "239" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "225" + "$id": "240", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "241", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "242", + "Type": { + "$id": "243", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2336,44 +2276,13 @@ "Parameters": [ { "$id": "246", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "247", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "248", - "Type": { - "$id": "249", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "250", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "251", + "$id": "247", "kind": "constant", "valueType": { - "$id": "252", + "$id": "248", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2395,25 +2304,25 @@ ], "Responses": [ { - "$id": "253", + "$id": "249", "StatusCodes": [ 200 ], "BodyType": { - "$id": "254", + "$id": "250", "kind": "dict", "keyType": { - "$id": "255", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "256", + "$id": "252", "kind": "nullable", "type": { - "$id": "257", + "$id": "253", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2441,24 +2350,21 @@ "Decorators": [] }, { - "$id": "258", + "$id": "254", "Name": "put", "ResourceName": "NullableFloatValue", "Accessibility": "public", "Parameters": [ { - "$ref": "246" - }, - { - "$id": "259", + "$id": "255", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "260", + "$id": "256", "kind": "constant", "valueType": { - "$id": "261", + "$id": "257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2478,24 +2384,24 @@ "SkipUrlEncoding": false }, { - "$id": "262", + "$id": "258", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "263", + "$id": "259", "kind": "dict", "keyType": { - "$id": "264", + "$id": "260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "265", + "$id": "261", "kind": "nullable", "type": { - "$id": "266", + "$id": "262", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -2517,7 +2423,7 @@ ], "Responses": [ { - "$id": "267", + "$id": "263", "StatusCodes": [ 204 ], @@ -2541,12 +2447,40 @@ } ], "Protocol": { - "$id": "268" + "$id": "264" }, "Parent": "DictionaryClient", "Parameters": [ { - "$ref": "246" + "$id": "265", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "266", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "267", + "Type": { + "$id": "268", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/enum/extensible/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/enum/extensible/tspCodeModel.json index 89cd047d030..e1a58db7dd6 100644 --- a/test/CadlRanchProjectsNonAzure/type/enum/extensible/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/enum/extensible/tspCodeModel.json @@ -206,44 +206,13 @@ "Parameters": [ { "$id": "26", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "27", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "28", - "Type": { - "$id": "29", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "30", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "31", + "$id": "27", "kind": "constant", "valueType": { - "$id": "32", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -265,7 +234,7 @@ ], "Responses": [ { - "$id": "33", + "$id": "29", "StatusCodes": [ 200 ], @@ -291,23 +260,20 @@ "Decorators": [] }, { - "$id": "34", + "$id": "30", "Name": "getUnknownValue", "ResourceName": "String", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "35", + "$id": "31", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "36", + "$id": "32", "kind": "constant", "valueType": { - "$id": "37", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -329,7 +295,7 @@ ], "Responses": [ { - "$id": "38", + "$id": "34", "StatusCodes": [ 200 ], @@ -355,24 +321,21 @@ "Decorators": [] }, { - "$id": "39", + "$id": "35", "Name": "putKnownValue", "ResourceName": "String", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "40", + "$id": "36", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "41", + "$id": "37", "kind": "constant", "valueType": { - "$id": "42", + "$id": "38", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -392,7 +355,7 @@ "SkipUrlEncoding": false }, { - "$id": "43", + "$id": "39", "Name": "body", "NameInRequest": "body", "Type": { @@ -411,7 +374,7 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 204 ], @@ -434,24 +397,21 @@ "Decorators": [] }, { - "$id": "45", + "$id": "41", "Name": "putUnknownValue", "ResourceName": "String", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "46", + "$id": "42", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "47", + "$id": "43", "kind": "constant", "valueType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -471,7 +431,7 @@ "SkipUrlEncoding": false }, { - "$id": "49", + "$id": "45", "Name": "body", "NameInRequest": "body", "Type": { @@ -490,7 +450,7 @@ ], "Responses": [ { - "$id": "50", + "$id": "46", "StatusCodes": [ 204 ], @@ -514,12 +474,40 @@ } ], "Protocol": { - "$id": "51" + "$id": "47" }, "Parent": "ExtensibleClient", "Parameters": [ { - "$ref": "26" + "$id": "48", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "49", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "50", + "Type": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/enum/fixed/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/enum/fixed/tspCodeModel.json index 2382b81ae0b..619ff5a0c5e 100644 --- a/test/CadlRanchProjectsNonAzure/type/enum/fixed/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/enum/fixed/tspCodeModel.json @@ -207,44 +207,13 @@ "Parameters": [ { "$id": "26", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "27", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "28", - "Type": { - "$id": "29", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "30", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "31", + "$id": "27", "kind": "constant", "valueType": { - "$id": "32", + "$id": "28", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -266,7 +235,7 @@ ], "Responses": [ { - "$id": "33", + "$id": "29", "StatusCodes": [ 200 ], @@ -292,25 +261,22 @@ "Decorators": [] }, { - "$id": "34", + "$id": "30", "Name": "putKnownValue", "ResourceName": "String", "Description": "putKnownValue", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "35", + "$id": "31", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "36", + "$id": "32", "kind": "constant", "valueType": { - "$id": "37", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -330,7 +296,7 @@ "SkipUrlEncoding": false }, { - "$id": "38", + "$id": "34", "Name": "body", "NameInRequest": "body", "Description": "_", @@ -350,7 +316,7 @@ ], "Responses": [ { - "$id": "39", + "$id": "35", "StatusCodes": [ 204 ], @@ -373,25 +339,22 @@ "Decorators": [] }, { - "$id": "40", + "$id": "36", "Name": "putUnknownValue", "ResourceName": "String", "Description": "putUnknownValue", "Accessibility": "public", "Parameters": [ { - "$ref": "26" - }, - { - "$id": "41", + "$id": "37", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "42", + "$id": "38", "kind": "constant", "valueType": { - "$id": "43", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -411,7 +374,7 @@ "SkipUrlEncoding": false }, { - "$id": "44", + "$id": "40", "Name": "body", "NameInRequest": "body", "Description": "_", @@ -431,7 +394,7 @@ ], "Responses": [ { - "$id": "45", + "$id": "41", "StatusCodes": [ 204 ], @@ -455,12 +418,40 @@ } ], "Protocol": { - "$id": "46" + "$id": "42" }, "Parent": "FixedClient", "Parameters": [ { - "$ref": "26" + "$id": "43", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "44", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "45", + "Type": { + "$id": "46", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/model/empty/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/empty/tspCodeModel.json index fd0aadac7bd..e645bf40273 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/empty/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/empty/tspCodeModel.json @@ -49,45 +49,14 @@ "Parameters": [ { "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "9", - "Type": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "11", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "12", + "$id": "8", "kind": "constant", "valueType": { - "$id": "13", + "$id": "9", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107,7 +76,7 @@ "SkipUrlEncoding": false }, { - "$id": "14", + "$id": "10", "Name": "input", "NameInRequest": "input", "Type": { @@ -126,7 +95,7 @@ ], "Responses": [ { - "$id": "15", + "$id": "11", "StatusCodes": [ 204 ], @@ -149,23 +118,20 @@ "Decorators": [] }, { - "$id": "16", + "$id": "12", "Name": "getEmpty", "ResourceName": "Empty", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "17", + "$id": "13", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -187,7 +153,7 @@ ], "Responses": [ { - "$id": "20", + "$id": "16", "StatusCodes": [ 200 ], @@ -213,24 +179,21 @@ "Decorators": [] }, { - "$id": "21", + "$id": "17", "Name": "postRoundTripEmpty", "ResourceName": "Empty", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "22", + "$id": "18", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "23", + "$id": "19", "kind": "constant", "valueType": { - "$id": "24", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -250,14 +213,14 @@ "SkipUrlEncoding": false }, { - "$id": "25", + "$id": "21", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "26", + "$id": "22", "kind": "constant", "valueType": { - "$id": "27", + "$id": "23", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -277,7 +240,7 @@ "SkipUrlEncoding": false }, { - "$id": "28", + "$id": "24", "Name": "body", "NameInRequest": "body", "Type": { @@ -296,7 +259,7 @@ ], "Responses": [ { - "$id": "29", + "$id": "25", "StatusCodes": [ 200 ], @@ -326,11 +289,39 @@ } ], "Protocol": { - "$id": "30" + "$id": "26" }, "Parameters": [ { - "$ref": "7" + "$id": "27", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "28", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "29", + "Type": { + "$id": "30", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/model/inheritance/enum-discriminator/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/inheritance/enum-discriminator/tspCodeModel.json index d5f11533044..3c94a1dd972 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/inheritance/enum-discriminator/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/inheritance/enum-discriminator/tspCodeModel.json @@ -291,44 +291,13 @@ "Parameters": [ { "$id": "30", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "31", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "32", - "Type": { - "$id": "33", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "34", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "35", + "$id": "31", "kind": "constant", "valueType": { - "$id": "36", + "$id": "32", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -350,7 +319,7 @@ ], "Responses": [ { - "$id": "37", + "$id": "33", "StatusCodes": [ 200 ], @@ -376,25 +345,22 @@ "Decorators": [] }, { - "$id": "38", + "$id": "34", "Name": "putExtensibleModel", "ResourceName": "EnumDiscriminator", "Description": "Send model with extensible enum discriminator type.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "39", + "$id": "35", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "40", + "$id": "36", "kind": "constant", "valueType": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -414,7 +380,7 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "38", "Name": "input", "NameInRequest": "input", "Description": "Dog to create", @@ -434,7 +400,7 @@ ], "Responses": [ { - "$id": "43", + "$id": "39", "StatusCodes": [ 204 ], @@ -457,24 +423,21 @@ "Decorators": [] }, { - "$id": "44", + "$id": "40", "Name": "getExtensibleModelMissingDiscriminator", "ResourceName": "EnumDiscriminator", "Description": "Get a model omitting the discriminator.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "45", + "$id": "41", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "46", + "$id": "42", "kind": "constant", "valueType": { - "$id": "47", + "$id": "43", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -496,7 +459,7 @@ ], "Responses": [ { - "$id": "48", + "$id": "44", "StatusCodes": [ 200 ], @@ -522,24 +485,21 @@ "Decorators": [] }, { - "$id": "49", + "$id": "45", "Name": "getExtensibleModelWrongDiscriminator", "ResourceName": "EnumDiscriminator", "Description": "Get a model containing discriminator value never defined.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "50", + "$id": "46", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "51", + "$id": "47", "kind": "constant", "valueType": { - "$id": "52", + "$id": "48", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -561,7 +521,7 @@ ], "Responses": [ { - "$id": "53", + "$id": "49", "StatusCodes": [ 200 ], @@ -587,24 +547,21 @@ "Decorators": [] }, { - "$id": "54", + "$id": "50", "Name": "getFixedModel", "ResourceName": "EnumDiscriminator", "Description": "Receive model with fixed enum discriminator type.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "55", + "$id": "51", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "56", + "$id": "52", "kind": "constant", "valueType": { - "$id": "57", + "$id": "53", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -626,7 +583,7 @@ ], "Responses": [ { - "$id": "58", + "$id": "54", "StatusCodes": [ 200 ], @@ -652,25 +609,22 @@ "Decorators": [] }, { - "$id": "59", + "$id": "55", "Name": "putFixedModel", "ResourceName": "EnumDiscriminator", "Description": "Send model with fixed enum discriminator type.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "60", + "$id": "56", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "61", + "$id": "57", "kind": "constant", "valueType": { - "$id": "62", + "$id": "58", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -690,7 +644,7 @@ "SkipUrlEncoding": false }, { - "$id": "63", + "$id": "59", "Name": "input", "NameInRequest": "input", "Description": "Snake to create", @@ -710,7 +664,7 @@ ], "Responses": [ { - "$id": "64", + "$id": "60", "StatusCodes": [ 204 ], @@ -733,24 +687,21 @@ "Decorators": [] }, { - "$id": "65", + "$id": "61", "Name": "getFixedModelMissingDiscriminator", "ResourceName": "EnumDiscriminator", "Description": "Get a model omitting the discriminator.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "66", + "$id": "62", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "67", + "$id": "63", "kind": "constant", "valueType": { - "$id": "68", + "$id": "64", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -772,7 +723,7 @@ ], "Responses": [ { - "$id": "69", + "$id": "65", "StatusCodes": [ 200 ], @@ -798,24 +749,21 @@ "Decorators": [] }, { - "$id": "70", + "$id": "66", "Name": "getFixedModelWrongDiscriminator", "ResourceName": "EnumDiscriminator", "Description": "Get a model containing discriminator value never defined.", "Accessibility": "public", "Parameters": [ { - "$ref": "30" - }, - { - "$id": "71", + "$id": "67", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "72", + "$id": "68", "kind": "constant", "valueType": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -837,7 +785,7 @@ ], "Responses": [ { - "$id": "74", + "$id": "70", "StatusCodes": [ 200 ], @@ -864,11 +812,39 @@ } ], "Protocol": { - "$id": "75" + "$id": "71" }, "Parameters": [ { - "$ref": "30" + "$id": "72", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "73", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "74", + "Type": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/model/inheritance/not-discriminated/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/inheritance/not-discriminated/tspCodeModel.json index b96f9000b60..abe203cb12c 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/inheritance/not-discriminated/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/inheritance/not-discriminated/tspCodeModel.json @@ -115,45 +115,14 @@ "Parameters": [ { "$id": "13", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "14", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "15", - "Type": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "17", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -173,7 +142,7 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "16", "Name": "input", "NameInRequest": "input", "Type": { @@ -192,7 +161,7 @@ ], "Responses": [ { - "$id": "21", + "$id": "17", "StatusCodes": [ 204 ], @@ -215,23 +184,20 @@ "Decorators": [] }, { - "$id": "22", + "$id": "18", "Name": "getValid", "ResourceName": "NotDiscriminated", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "23", + "$id": "19", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "24", + "$id": "20", "kind": "constant", "valueType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -253,7 +219,7 @@ ], "Responses": [ { - "$id": "26", + "$id": "22", "StatusCodes": [ 200 ], @@ -279,24 +245,21 @@ "Decorators": [] }, { - "$id": "27", + "$id": "23", "Name": "putValid", "ResourceName": "NotDiscriminated", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "28", + "$id": "24", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "29", + "$id": "25", "kind": "constant", "valueType": { - "$id": "30", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -316,14 +279,14 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "27", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "32", + "$id": "28", "kind": "constant", "valueType": { - "$id": "33", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -343,7 +306,7 @@ "SkipUrlEncoding": false }, { - "$id": "34", + "$id": "30", "Name": "input", "NameInRequest": "input", "Type": { @@ -362,7 +325,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "31", "StatusCodes": [ 200 ], @@ -392,11 +355,39 @@ } ], "Protocol": { - "$id": "36" + "$id": "32" }, "Parameters": [ { - "$ref": "13" + "$id": "33", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "34", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "35", + "Type": { + "$id": "36", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/model/inheritance/recursive/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/inheritance/recursive/tspCodeModel.json index 4914bd5f261..209ea500b16 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/inheritance/recursive/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/inheritance/recursive/tspCodeModel.json @@ -85,45 +85,14 @@ "Parameters": [ { "$id": "10", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "11", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "12", - "Type": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "14", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "15", + "$id": "11", "kind": "constant", "valueType": { - "$id": "16", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -143,7 +112,7 @@ "SkipUrlEncoding": false }, { - "$id": "17", + "$id": "13", "Name": "input", "NameInRequest": "input", "Type": { @@ -162,7 +131,7 @@ ], "Responses": [ { - "$id": "18", + "$id": "14", "StatusCodes": [ 204 ], @@ -185,23 +154,20 @@ "Decorators": [] }, { - "$id": "19", + "$id": "15", "Name": "get", "ResourceName": "Recursive", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "20", + "$id": "16", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "21", + "$id": "17", "kind": "constant", "valueType": { - "$id": "22", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -223,7 +189,7 @@ ], "Responses": [ { - "$id": "23", + "$id": "19", "StatusCodes": [ 200 ], @@ -250,11 +216,39 @@ } ], "Protocol": { - "$id": "24" + "$id": "20" }, "Parameters": [ { - "$ref": "10" + "$id": "21", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "22", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "23", + "Type": { + "$id": "24", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/model/inheritance/single-discriminator/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/inheritance/single-discriminator/tspCodeModel.json index 4ed19f4c7c0..0075459cad1 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/inheritance/single-discriminator/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/inheritance/single-discriminator/tspCodeModel.json @@ -409,44 +409,13 @@ "Parameters": [ { "$id": "42", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "43", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "44", - "Type": { - "$id": "45", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "46", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "47", + "$id": "43", "kind": "constant", "valueType": { - "$id": "48", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -468,7 +437,7 @@ ], "Responses": [ { - "$id": "49", + "$id": "45", "StatusCodes": [ 200 ], @@ -494,24 +463,21 @@ "Decorators": [] }, { - "$id": "50", + "$id": "46", "Name": "putModel", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "51", + "$id": "47", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "52", + "$id": "48", "kind": "constant", "valueType": { - "$id": "53", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -531,7 +497,7 @@ "SkipUrlEncoding": false }, { - "$id": "54", + "$id": "50", "Name": "input", "NameInRequest": "input", "Type": { @@ -550,7 +516,7 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 204 ], @@ -573,23 +539,20 @@ "Decorators": [] }, { - "$id": "56", + "$id": "52", "Name": "getRecursiveModel", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "57", + "$id": "53", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "58", + "$id": "54", "kind": "constant", "valueType": { - "$id": "59", + "$id": "55", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -611,7 +574,7 @@ ], "Responses": [ { - "$id": "60", + "$id": "56", "StatusCodes": [ 200 ], @@ -637,24 +600,21 @@ "Decorators": [] }, { - "$id": "61", + "$id": "57", "Name": "putRecursiveModel", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "62", + "$id": "58", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "63", + "$id": "59", "kind": "constant", "valueType": { - "$id": "64", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -674,7 +634,7 @@ "SkipUrlEncoding": false }, { - "$id": "65", + "$id": "61", "Name": "input", "NameInRequest": "input", "Type": { @@ -693,7 +653,7 @@ ], "Responses": [ { - "$id": "66", + "$id": "62", "StatusCodes": [ 204 ], @@ -716,23 +676,20 @@ "Decorators": [] }, { - "$id": "67", + "$id": "63", "Name": "getMissingDiscriminator", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "68", + "$id": "64", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "69", + "$id": "65", "kind": "constant", "valueType": { - "$id": "70", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -754,7 +711,7 @@ ], "Responses": [ { - "$id": "71", + "$id": "67", "StatusCodes": [ 200 ], @@ -780,23 +737,20 @@ "Decorators": [] }, { - "$id": "72", + "$id": "68", "Name": "getWrongDiscriminator", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "73", + "$id": "69", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "74", + "$id": "70", "kind": "constant", "valueType": { - "$id": "75", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -818,7 +772,7 @@ ], "Responses": [ { - "$id": "76", + "$id": "72", "StatusCodes": [ 200 ], @@ -844,23 +798,20 @@ "Decorators": [] }, { - "$id": "77", + "$id": "73", "Name": "getLegacyModel", "ResourceName": "SingleDiscriminator", "Accessibility": "public", "Parameters": [ { - "$ref": "42" - }, - { - "$id": "78", + "$id": "74", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "79", + "$id": "75", "kind": "constant", "valueType": { - "$id": "80", + "$id": "76", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -882,7 +833,7 @@ ], "Responses": [ { - "$id": "81", + "$id": "77", "StatusCodes": [ 200 ], @@ -909,11 +860,39 @@ } ], "Protocol": { - "$id": "82" + "$id": "78" }, "Parameters": [ { - "$ref": "42" + "$id": "79", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "80", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "81", + "Type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/model/usage/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/model/usage/tspCodeModel.json index f4138204fe8..e73fd5363ed 100644 --- a/test/CadlRanchProjectsNonAzure/type/model/usage/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/model/usage/tspCodeModel.json @@ -109,45 +109,14 @@ "Parameters": [ { "$id": "13", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "14", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "15", - "Type": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "17", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "18", + "$id": "14", "kind": "constant", "valueType": { - "$id": "19", + "$id": "15", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -167,7 +136,7 @@ "SkipUrlEncoding": false }, { - "$id": "20", + "$id": "16", "Name": "input", "NameInRequest": "input", "Type": { @@ -186,7 +155,7 @@ ], "Responses": [ { - "$id": "21", + "$id": "17", "StatusCodes": [ 204 ], @@ -209,23 +178,20 @@ "Decorators": [] }, { - "$id": "22", + "$id": "18", "Name": "output", "ResourceName": "Usage", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "23", + "$id": "19", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "24", + "$id": "20", "kind": "constant", "valueType": { - "$id": "25", + "$id": "21", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -247,7 +213,7 @@ ], "Responses": [ { - "$id": "26", + "$id": "22", "StatusCodes": [ 200 ], @@ -273,24 +239,21 @@ "Decorators": [] }, { - "$id": "27", + "$id": "23", "Name": "inputAndOutput", "ResourceName": "Usage", "Accessibility": "public", "Parameters": [ { - "$ref": "13" - }, - { - "$id": "28", + "$id": "24", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "29", + "$id": "25", "kind": "constant", "valueType": { - "$id": "30", + "$id": "26", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -310,14 +273,14 @@ "SkipUrlEncoding": false }, { - "$id": "31", + "$id": "27", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "32", + "$id": "28", "kind": "constant", "valueType": { - "$id": "33", + "$id": "29", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -337,7 +300,7 @@ "SkipUrlEncoding": false }, { - "$id": "34", + "$id": "30", "Name": "body", "NameInRequest": "body", "Type": { @@ -356,7 +319,7 @@ ], "Responses": [ { - "$id": "35", + "$id": "31", "StatusCodes": [ 200 ], @@ -386,11 +349,39 @@ } ], "Protocol": { - "$id": "36" + "$id": "32" }, "Parameters": [ { - "$ref": "13" + "$id": "33", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "34", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "35", + "Type": { + "$id": "36", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/property/additional-properties/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/property/additional-properties/tspCodeModel.json index b5425224339..878f1b8ac6f 100644 --- a/test/CadlRanchProjectsNonAzure/type/property/additional-properties/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/property/additional-properties/tspCodeModel.json @@ -1876,44 +1876,13 @@ "Parameters": [ { "$id": "186", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "187", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "188", - "Type": { - "$id": "189", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "190", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "191", + "$id": "187", "kind": "constant", "valueType": { - "$id": "192", + "$id": "188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1935,7 +1904,7 @@ ], "Responses": [ { - "$id": "193", + "$id": "189", "StatusCodes": [ 200 ], @@ -1961,25 +1930,22 @@ "Decorators": [] }, { - "$id": "194", + "$id": "190", "Name": "put", "ResourceName": "ExtendsUnknown", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "186" - }, - { - "$id": "195", + "$id": "191", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "196", + "$id": "192", "kind": "constant", "valueType": { - "$id": "197", + "$id": "193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1999,7 +1965,7 @@ "SkipUrlEncoding": false }, { - "$id": "198", + "$id": "194", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2019,7 +1985,7 @@ ], "Responses": [ { - "$id": "199", + "$id": "195", "StatusCodes": [ 204 ], @@ -2043,12 +2009,40 @@ } ], "Protocol": { - "$id": "200" + "$id": "196" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "186" + "$id": "197", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "198", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "199", + "Type": { + "$id": "200", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2066,44 +2060,13 @@ "Parameters": [ { "$id": "203", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "204", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "205", - "Type": { - "$id": "206", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "207", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "208", + "$id": "204", "kind": "constant", "valueType": { - "$id": "209", + "$id": "205", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2125,7 +2088,7 @@ ], "Responses": [ { - "$id": "210", + "$id": "206", "StatusCodes": [ 200 ], @@ -2151,25 +2114,22 @@ "Decorators": [] }, { - "$id": "211", + "$id": "207", "Name": "put", "ResourceName": "ExtendsUnknownDerived", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "203" - }, - { - "$id": "212", + "$id": "208", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "213", + "$id": "209", "kind": "constant", "valueType": { - "$id": "214", + "$id": "210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2189,7 +2149,7 @@ "SkipUrlEncoding": false }, { - "$id": "215", + "$id": "211", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2209,7 +2169,7 @@ ], "Responses": [ { - "$id": "216", + "$id": "212", "StatusCodes": [ 204 ], @@ -2233,12 +2193,40 @@ } ], "Protocol": { - "$id": "217" + "$id": "213" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "203" + "$id": "214", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "215", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "216", + "Type": { + "$id": "217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2256,44 +2244,13 @@ "Parameters": [ { "$id": "220", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "221", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "222", - "Type": { - "$id": "223", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "224", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "225", + "$id": "221", "kind": "constant", "valueType": { - "$id": "226", + "$id": "222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2315,7 +2272,7 @@ ], "Responses": [ { - "$id": "227", + "$id": "223", "StatusCodes": [ 200 ], @@ -2341,25 +2298,22 @@ "Decorators": [] }, { - "$id": "228", + "$id": "224", "Name": "put", "ResourceName": "ExtendsUnknownDiscriminated", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "220" - }, - { - "$id": "229", + "$id": "225", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "230", + "$id": "226", "kind": "constant", "valueType": { - "$id": "231", + "$id": "227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2379,7 +2333,7 @@ "SkipUrlEncoding": false }, { - "$id": "232", + "$id": "228", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2399,7 +2353,7 @@ ], "Responses": [ { - "$id": "233", + "$id": "229", "StatusCodes": [ 204 ], @@ -2423,12 +2377,40 @@ } ], "Protocol": { - "$id": "234" + "$id": "230" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "220" + "$id": "231", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "232", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "233", + "Type": { + "$id": "234", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2446,44 +2428,13 @@ "Parameters": [ { "$id": "237", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "238", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "239", - "Type": { - "$id": "240", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "241", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "242", + "$id": "238", "kind": "constant", "valueType": { - "$id": "243", + "$id": "239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2505,7 +2456,7 @@ ], "Responses": [ { - "$id": "244", + "$id": "240", "StatusCodes": [ 200 ], @@ -2531,25 +2482,22 @@ "Decorators": [] }, { - "$id": "245", + "$id": "241", "Name": "put", "ResourceName": "IsUnknown", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "237" - }, - { - "$id": "246", + "$id": "242", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "247", + "$id": "243", "kind": "constant", "valueType": { - "$id": "248", + "$id": "244", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2569,7 +2517,7 @@ "SkipUrlEncoding": false }, { - "$id": "249", + "$id": "245", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2589,7 +2537,7 @@ ], "Responses": [ { - "$id": "250", + "$id": "246", "StatusCodes": [ 204 ], @@ -2613,12 +2561,40 @@ } ], "Protocol": { - "$id": "251" + "$id": "247" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "237" + "$id": "248", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "249", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "250", + "Type": { + "$id": "251", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2636,44 +2612,13 @@ "Parameters": [ { "$id": "254", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "255", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "256", - "Type": { - "$id": "257", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "258", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "259", + "$id": "255", "kind": "constant", "valueType": { - "$id": "260", + "$id": "256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2695,7 +2640,7 @@ ], "Responses": [ { - "$id": "261", + "$id": "257", "StatusCodes": [ 200 ], @@ -2721,25 +2666,22 @@ "Decorators": [] }, { - "$id": "262", + "$id": "258", "Name": "put", "ResourceName": "IsUnknownDerived", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "254" - }, - { - "$id": "263", + "$id": "259", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "264", + "$id": "260", "kind": "constant", "valueType": { - "$id": "265", + "$id": "261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2759,7 +2701,7 @@ "SkipUrlEncoding": false }, { - "$id": "266", + "$id": "262", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2779,7 +2721,7 @@ ], "Responses": [ { - "$id": "267", + "$id": "263", "StatusCodes": [ 204 ], @@ -2803,12 +2745,40 @@ } ], "Protocol": { - "$id": "268" + "$id": "264" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "254" + "$id": "265", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "266", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "267", + "Type": { + "$id": "268", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2826,44 +2796,13 @@ "Parameters": [ { "$id": "271", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "272", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "273", - "Type": { - "$id": "274", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "275", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "276", + "$id": "272", "kind": "constant", "valueType": { - "$id": "277", + "$id": "273", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2885,7 +2824,7 @@ ], "Responses": [ { - "$id": "278", + "$id": "274", "StatusCodes": [ 200 ], @@ -2911,25 +2850,22 @@ "Decorators": [] }, { - "$id": "279", + "$id": "275", "Name": "put", "ResourceName": "IsUnknownDiscriminated", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "271" - }, - { - "$id": "280", + "$id": "276", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "281", + "$id": "277", "kind": "constant", "valueType": { - "$id": "282", + "$id": "278", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2949,7 +2885,7 @@ "SkipUrlEncoding": false }, { - "$id": "283", + "$id": "279", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2969,7 +2905,7 @@ ], "Responses": [ { - "$id": "284", + "$id": "280", "StatusCodes": [ 204 ], @@ -2993,67 +2929,64 @@ } ], "Protocol": { - "$id": "285" + "$id": "281" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "271" - } - ], - "Decorators": [] - }, - { - "$id": "286", - "Name": "ExtendsString", - "Operations": [ - { - "$id": "287", - "Name": "get", - "ResourceName": "ExtendsString", - "Description": "Get call", - "Accessibility": "public", - "Parameters": [ - { - "$id": "288", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "289", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "290", - "Type": { - "$id": "291", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } + "$id": "282", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "283", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "284", + "Type": { + "$id": "285", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" }, + "Value": "http://localhost:3000" + } + } + ], + "Decorators": [] + }, + { + "$id": "286", + "Name": "ExtendsString", + "Operations": [ + { + "$id": "287", + "Name": "get", + "ResourceName": "ExtendsString", + "Description": "Get call", + "Accessibility": "public", + "Parameters": [ { - "$id": "292", + "$id": "288", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "293", + "$id": "289", "kind": "constant", "valueType": { - "$id": "294", + "$id": "290", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3075,7 +3008,7 @@ ], "Responses": [ { - "$id": "295", + "$id": "291", "StatusCodes": [ 200 ], @@ -3101,25 +3034,22 @@ "Decorators": [] }, { - "$id": "296", + "$id": "292", "Name": "put", "ResourceName": "ExtendsString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "288" - }, - { - "$id": "297", + "$id": "293", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "298", + "$id": "294", "kind": "constant", "valueType": { - "$id": "299", + "$id": "295", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3139,7 +3069,7 @@ "SkipUrlEncoding": false }, { - "$id": "300", + "$id": "296", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3159,7 +3089,7 @@ ], "Responses": [ { - "$id": "301", + "$id": "297", "StatusCodes": [ 204 ], @@ -3183,12 +3113,40 @@ } ], "Protocol": { - "$id": "302" + "$id": "298" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "288" + "$id": "299", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "300", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "301", + "Type": { + "$id": "302", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3206,44 +3164,13 @@ "Parameters": [ { "$id": "305", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "306", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "307", - "Type": { - "$id": "308", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "309", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "310", + "$id": "306", "kind": "constant", "valueType": { - "$id": "311", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3265,7 +3192,7 @@ ], "Responses": [ { - "$id": "312", + "$id": "308", "StatusCodes": [ 200 ], @@ -3291,25 +3218,22 @@ "Decorators": [] }, { - "$id": "313", + "$id": "309", "Name": "put", "ResourceName": "IsString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "305" - }, - { - "$id": "314", + "$id": "310", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "315", + "$id": "311", "kind": "constant", "valueType": { - "$id": "316", + "$id": "312", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3329,7 +3253,7 @@ "SkipUrlEncoding": false }, { - "$id": "317", + "$id": "313", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3349,7 +3273,7 @@ ], "Responses": [ { - "$id": "318", + "$id": "314", "StatusCodes": [ 204 ], @@ -3373,12 +3297,40 @@ } ], "Protocol": { - "$id": "319" + "$id": "315" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "305" + "$id": "316", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "317", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "318", + "Type": { + "$id": "319", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3396,44 +3348,13 @@ "Parameters": [ { "$id": "322", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "323", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "324", - "Type": { - "$id": "325", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "326", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "327", + "$id": "323", "kind": "constant", "valueType": { - "$id": "328", + "$id": "324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3455,7 +3376,7 @@ ], "Responses": [ { - "$id": "329", + "$id": "325", "StatusCodes": [ 200 ], @@ -3481,25 +3402,22 @@ "Decorators": [] }, { - "$id": "330", + "$id": "326", "Name": "put", "ResourceName": "SpreadString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "322" - }, - { - "$id": "331", + "$id": "327", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "332", + "$id": "328", "kind": "constant", "valueType": { - "$id": "333", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3519,7 +3437,7 @@ "SkipUrlEncoding": false }, { - "$id": "334", + "$id": "330", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3539,7 +3457,7 @@ ], "Responses": [ { - "$id": "335", + "$id": "331", "StatusCodes": [ 204 ], @@ -3563,12 +3481,40 @@ } ], "Protocol": { - "$id": "336" + "$id": "332" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "322" + "$id": "333", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "334", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "335", + "Type": { + "$id": "336", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3586,44 +3532,13 @@ "Parameters": [ { "$id": "339", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "340", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "341", - "Type": { - "$id": "342", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "343", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "344", + "$id": "340", "kind": "constant", "valueType": { - "$id": "345", + "$id": "341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3645,7 +3560,7 @@ ], "Responses": [ { - "$id": "346", + "$id": "342", "StatusCodes": [ 200 ], @@ -3671,25 +3586,22 @@ "Decorators": [] }, { - "$id": "347", + "$id": "343", "Name": "put", "ResourceName": "ExtendsFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "339" - }, - { - "$id": "348", + "$id": "344", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "349", + "$id": "345", "kind": "constant", "valueType": { - "$id": "350", + "$id": "346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3709,7 +3621,7 @@ "SkipUrlEncoding": false }, { - "$id": "351", + "$id": "347", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3729,7 +3641,7 @@ ], "Responses": [ { - "$id": "352", + "$id": "348", "StatusCodes": [ 204 ], @@ -3753,12 +3665,40 @@ } ], "Protocol": { - "$id": "353" + "$id": "349" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "339" + "$id": "350", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "351", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "352", + "Type": { + "$id": "353", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3776,44 +3716,13 @@ "Parameters": [ { "$id": "356", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "357", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "358", - "Type": { - "$id": "359", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "360", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "361", + "$id": "357", "kind": "constant", "valueType": { - "$id": "362", + "$id": "358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3835,7 +3744,7 @@ ], "Responses": [ { - "$id": "363", + "$id": "359", "StatusCodes": [ 200 ], @@ -3861,25 +3770,22 @@ "Decorators": [] }, { - "$id": "364", + "$id": "360", "Name": "put", "ResourceName": "IsFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "356" - }, - { - "$id": "365", + "$id": "361", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "366", + "$id": "362", "kind": "constant", "valueType": { - "$id": "367", + "$id": "363", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3899,7 +3805,7 @@ "SkipUrlEncoding": false }, { - "$id": "368", + "$id": "364", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3919,7 +3825,7 @@ ], "Responses": [ { - "$id": "369", + "$id": "365", "StatusCodes": [ 204 ], @@ -3943,12 +3849,40 @@ } ], "Protocol": { - "$id": "370" + "$id": "366" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "356" + "$id": "367", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "368", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "369", + "Type": { + "$id": "370", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3966,44 +3900,13 @@ "Parameters": [ { "$id": "373", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", + "Name": "accept", + "NameInRequest": "Accept", "Type": { "$id": "374", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "375", - "Type": { - "$id": "376", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "377", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "378", - "kind": "constant", - "valueType": { - "$id": "379", + "kind": "constant", + "valueType": { + "$id": "375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4025,7 +3928,7 @@ ], "Responses": [ { - "$id": "380", + "$id": "376", "StatusCodes": [ 200 ], @@ -4051,25 +3954,22 @@ "Decorators": [] }, { - "$id": "381", + "$id": "377", "Name": "put", "ResourceName": "SpreadFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "373" - }, - { - "$id": "382", + "$id": "378", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "383", + "$id": "379", "kind": "constant", "valueType": { - "$id": "384", + "$id": "380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4089,7 +3989,7 @@ "SkipUrlEncoding": false }, { - "$id": "385", + "$id": "381", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4109,7 +4009,7 @@ ], "Responses": [ { - "$id": "386", + "$id": "382", "StatusCodes": [ 204 ], @@ -4133,12 +4033,40 @@ } ], "Protocol": { - "$id": "387" + "$id": "383" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "373" + "$id": "384", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "385", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "386", + "Type": { + "$id": "387", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4156,44 +4084,13 @@ "Parameters": [ { "$id": "390", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "391", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "392", - "Type": { - "$id": "393", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "394", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "395", + "$id": "391", "kind": "constant", "valueType": { - "$id": "396", + "$id": "392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4215,7 +4112,7 @@ ], "Responses": [ { - "$id": "397", + "$id": "393", "StatusCodes": [ 200 ], @@ -4241,25 +4138,22 @@ "Decorators": [] }, { - "$id": "398", + "$id": "394", "Name": "put", "ResourceName": "ExtendsModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "390" - }, - { - "$id": "399", + "$id": "395", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "400", + "$id": "396", "kind": "constant", "valueType": { - "$id": "401", + "$id": "397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4279,7 +4173,7 @@ "SkipUrlEncoding": false }, { - "$id": "402", + "$id": "398", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4299,7 +4193,7 @@ ], "Responses": [ { - "$id": "403", + "$id": "399", "StatusCodes": [ 204 ], @@ -4323,12 +4217,40 @@ } ], "Protocol": { - "$id": "404" + "$id": "400" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "390" + "$id": "401", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "402", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "403", + "Type": { + "$id": "404", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4346,44 +4268,13 @@ "Parameters": [ { "$id": "407", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "408", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "409", - "Type": { - "$id": "410", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "411", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "412", + "$id": "408", "kind": "constant", "valueType": { - "$id": "413", + "$id": "409", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4405,7 +4296,7 @@ ], "Responses": [ { - "$id": "414", + "$id": "410", "StatusCodes": [ 200 ], @@ -4431,25 +4322,22 @@ "Decorators": [] }, { - "$id": "415", + "$id": "411", "Name": "put", "ResourceName": "IsModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "407" - }, - { - "$id": "416", + "$id": "412", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "417", + "$id": "413", "kind": "constant", "valueType": { - "$id": "418", + "$id": "414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4469,7 +4357,7 @@ "SkipUrlEncoding": false }, { - "$id": "419", + "$id": "415", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4489,7 +4377,7 @@ ], "Responses": [ { - "$id": "420", + "$id": "416", "StatusCodes": [ 204 ], @@ -4513,12 +4401,40 @@ } ], "Protocol": { - "$id": "421" + "$id": "417" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "407" + "$id": "418", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "419", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "420", + "Type": { + "$id": "421", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4536,44 +4452,13 @@ "Parameters": [ { "$id": "424", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "425", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "426", - "Type": { - "$id": "427", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "428", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "429", + "$id": "425", "kind": "constant", "valueType": { - "$id": "430", + "$id": "426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4595,7 +4480,7 @@ ], "Responses": [ { - "$id": "431", + "$id": "427", "StatusCodes": [ 200 ], @@ -4621,25 +4506,22 @@ "Decorators": [] }, { - "$id": "432", + "$id": "428", "Name": "put", "ResourceName": "SpreadModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "424" - }, - { - "$id": "433", + "$id": "429", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "434", + "$id": "430", "kind": "constant", "valueType": { - "$id": "435", + "$id": "431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4659,7 +4541,7 @@ "SkipUrlEncoding": false }, { - "$id": "436", + "$id": "432", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4679,7 +4561,7 @@ ], "Responses": [ { - "$id": "437", + "$id": "433", "StatusCodes": [ 204 ], @@ -4703,12 +4585,40 @@ } ], "Protocol": { - "$id": "438" + "$id": "434" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "424" + "$id": "435", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "436", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "437", + "Type": { + "$id": "438", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4726,44 +4636,13 @@ "Parameters": [ { "$id": "441", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "442", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "443", - "Type": { - "$id": "444", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "445", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "446", + "$id": "442", "kind": "constant", "valueType": { - "$id": "447", + "$id": "443", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4785,7 +4664,7 @@ ], "Responses": [ { - "$id": "448", + "$id": "444", "StatusCodes": [ 200 ], @@ -4811,25 +4690,22 @@ "Decorators": [] }, { - "$id": "449", + "$id": "445", "Name": "put", "ResourceName": "ExtendsModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "441" - }, - { - "$id": "450", + "$id": "446", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "451", + "$id": "447", "kind": "constant", "valueType": { - "$id": "452", + "$id": "448", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4849,7 +4725,7 @@ "SkipUrlEncoding": false }, { - "$id": "453", + "$id": "449", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4869,7 +4745,7 @@ ], "Responses": [ { - "$id": "454", + "$id": "450", "StatusCodes": [ 204 ], @@ -4893,12 +4769,40 @@ } ], "Protocol": { - "$id": "455" + "$id": "451" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "441" + "$id": "452", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "453", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "454", + "Type": { + "$id": "455", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4916,44 +4820,13 @@ "Parameters": [ { "$id": "458", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "459", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "460", - "Type": { - "$id": "461", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "462", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "463", + "$id": "459", "kind": "constant", "valueType": { - "$id": "464", + "$id": "460", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4975,7 +4848,7 @@ ], "Responses": [ { - "$id": "465", + "$id": "461", "StatusCodes": [ 200 ], @@ -5001,25 +4874,22 @@ "Decorators": [] }, { - "$id": "466", + "$id": "462", "Name": "put", "ResourceName": "IsModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "458" - }, - { - "$id": "467", + "$id": "463", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "468", + "$id": "464", "kind": "constant", "valueType": { - "$id": "469", + "$id": "465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5039,7 +4909,7 @@ "SkipUrlEncoding": false }, { - "$id": "470", + "$id": "466", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5059,7 +4929,7 @@ ], "Responses": [ { - "$id": "471", + "$id": "467", "StatusCodes": [ 204 ], @@ -5083,12 +4953,40 @@ } ], "Protocol": { - "$id": "472" + "$id": "468" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "458" + "$id": "469", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "470", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "471", + "Type": { + "$id": "472", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5106,44 +5004,13 @@ "Parameters": [ { "$id": "475", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "476", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "477", - "Type": { - "$id": "478", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "479", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "480", + "$id": "476", "kind": "constant", "valueType": { - "$id": "481", + "$id": "477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5165,7 +5032,7 @@ ], "Responses": [ { - "$id": "482", + "$id": "478", "StatusCodes": [ 200 ], @@ -5191,25 +5058,22 @@ "Decorators": [] }, { - "$id": "483", + "$id": "479", "Name": "put", "ResourceName": "SpreadModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "475" - }, - { - "$id": "484", + "$id": "480", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "485", + "$id": "481", "kind": "constant", "valueType": { - "$id": "486", + "$id": "482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5229,7 +5093,7 @@ "SkipUrlEncoding": false }, { - "$id": "487", + "$id": "483", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5249,7 +5113,7 @@ ], "Responses": [ { - "$id": "488", + "$id": "484", "StatusCodes": [ 204 ], @@ -5273,12 +5137,40 @@ } ], "Protocol": { - "$id": "489" + "$id": "485" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "475" + "$id": "486", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "487", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "488", + "Type": { + "$id": "489", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5296,44 +5188,13 @@ "Parameters": [ { "$id": "492", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "493", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "494", - "Type": { - "$id": "495", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "496", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "497", + "$id": "493", "kind": "constant", "valueType": { - "$id": "498", + "$id": "494", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5355,7 +5216,7 @@ ], "Responses": [ { - "$id": "499", + "$id": "495", "StatusCodes": [ 200 ], @@ -5381,25 +5242,22 @@ "Decorators": [] }, { - "$id": "500", + "$id": "496", "Name": "put", "ResourceName": "SpreadDifferentString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "492" - }, - { - "$id": "501", + "$id": "497", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "502", + "$id": "498", "kind": "constant", "valueType": { - "$id": "503", + "$id": "499", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5419,7 +5277,7 @@ "SkipUrlEncoding": false }, { - "$id": "504", + "$id": "500", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5439,7 +5297,7 @@ ], "Responses": [ { - "$id": "505", + "$id": "501", "StatusCodes": [ 204 ], @@ -5463,12 +5321,40 @@ } ], "Protocol": { - "$id": "506" + "$id": "502" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "492" + "$id": "503", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "504", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "505", + "Type": { + "$id": "506", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5486,44 +5372,13 @@ "Parameters": [ { "$id": "509", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "510", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "511", - "Type": { - "$id": "512", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "513", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "514", + "$id": "510", "kind": "constant", "valueType": { - "$id": "515", + "$id": "511", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5545,7 +5400,7 @@ ], "Responses": [ { - "$id": "516", + "$id": "512", "StatusCodes": [ 200 ], @@ -5571,25 +5426,22 @@ "Decorators": [] }, { - "$id": "517", + "$id": "513", "Name": "put", "ResourceName": "SpreadDifferentFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "509" - }, - { - "$id": "518", + "$id": "514", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "519", + "$id": "515", "kind": "constant", "valueType": { - "$id": "520", + "$id": "516", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5609,7 +5461,7 @@ "SkipUrlEncoding": false }, { - "$id": "521", + "$id": "517", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5629,7 +5481,7 @@ ], "Responses": [ { - "$id": "522", + "$id": "518", "StatusCodes": [ 204 ], @@ -5653,12 +5505,40 @@ } ], "Protocol": { - "$id": "523" + "$id": "519" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "509" + "$id": "520", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "521", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "522", + "Type": { + "$id": "523", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5676,44 +5556,13 @@ "Parameters": [ { "$id": "526", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "527", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "528", - "Type": { - "$id": "529", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "530", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "531", + "$id": "527", "kind": "constant", "valueType": { - "$id": "532", + "$id": "528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5735,7 +5584,7 @@ ], "Responses": [ { - "$id": "533", + "$id": "529", "StatusCodes": [ 200 ], @@ -5761,25 +5610,22 @@ "Decorators": [] }, { - "$id": "534", + "$id": "530", "Name": "put", "ResourceName": "SpreadDifferentModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "526" - }, - { - "$id": "535", + "$id": "531", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "536", + "$id": "532", "kind": "constant", "valueType": { - "$id": "537", + "$id": "533", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5799,7 +5645,7 @@ "SkipUrlEncoding": false }, { - "$id": "538", + "$id": "534", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5819,7 +5665,7 @@ ], "Responses": [ { - "$id": "539", + "$id": "535", "StatusCodes": [ 204 ], @@ -5843,12 +5689,40 @@ } ], "Protocol": { - "$id": "540" + "$id": "536" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "526" + "$id": "537", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "538", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "539", + "Type": { + "$id": "540", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5866,44 +5740,13 @@ "Parameters": [ { "$id": "543", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "544", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "545", - "Type": { - "$id": "546", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "547", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "548", + "$id": "544", "kind": "constant", "valueType": { - "$id": "549", + "$id": "545", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5925,7 +5768,7 @@ ], "Responses": [ { - "$id": "550", + "$id": "546", "StatusCodes": [ 200 ], @@ -5951,25 +5794,22 @@ "Decorators": [] }, { - "$id": "551", + "$id": "547", "Name": "put", "ResourceName": "SpreadDifferentModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "543" - }, - { - "$id": "552", + "$id": "548", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "553", + "$id": "549", "kind": "constant", "valueType": { - "$id": "554", + "$id": "550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5989,7 +5829,7 @@ "SkipUrlEncoding": false }, { - "$id": "555", + "$id": "551", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6009,7 +5849,7 @@ ], "Responses": [ { - "$id": "556", + "$id": "552", "StatusCodes": [ 204 ], @@ -6033,12 +5873,40 @@ } ], "Protocol": { - "$id": "557" + "$id": "553" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "543" + "$id": "554", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "555", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "556", + "Type": { + "$id": "557", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6056,44 +5924,13 @@ "Parameters": [ { "$id": "560", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "561", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "562", - "Type": { - "$id": "563", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "564", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "565", + "$id": "561", "kind": "constant", "valueType": { - "$id": "566", + "$id": "562", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6115,7 +5952,7 @@ ], "Responses": [ { - "$id": "567", + "$id": "563", "StatusCodes": [ 200 ], @@ -6141,25 +5978,22 @@ "Decorators": [] }, { - "$id": "568", + "$id": "564", "Name": "put", "ResourceName": "ExtendsDifferentSpreadString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "560" - }, - { - "$id": "569", + "$id": "565", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "570", + "$id": "566", "kind": "constant", "valueType": { - "$id": "571", + "$id": "567", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6179,7 +6013,7 @@ "SkipUrlEncoding": false }, { - "$id": "572", + "$id": "568", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6199,7 +6033,7 @@ ], "Responses": [ { - "$id": "573", + "$id": "569", "StatusCodes": [ 204 ], @@ -6223,12 +6057,40 @@ } ], "Protocol": { - "$id": "574" + "$id": "570" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "560" + "$id": "571", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "572", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "573", + "Type": { + "$id": "574", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6246,44 +6108,13 @@ "Parameters": [ { "$id": "577", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "578", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "579", - "Type": { - "$id": "580", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "581", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "582", + "$id": "578", "kind": "constant", "valueType": { - "$id": "583", + "$id": "579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6305,7 +6136,7 @@ ], "Responses": [ { - "$id": "584", + "$id": "580", "StatusCodes": [ 200 ], @@ -6331,25 +6162,22 @@ "Decorators": [] }, { - "$id": "585", + "$id": "581", "Name": "put", "ResourceName": "ExtendsDifferentSpreadFloat", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "577" - }, - { - "$id": "586", + "$id": "582", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "587", + "$id": "583", "kind": "constant", "valueType": { - "$id": "588", + "$id": "584", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6369,7 +6197,7 @@ "SkipUrlEncoding": false }, { - "$id": "589", + "$id": "585", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6389,7 +6217,7 @@ ], "Responses": [ { - "$id": "590", + "$id": "586", "StatusCodes": [ 204 ], @@ -6413,12 +6241,40 @@ } ], "Protocol": { - "$id": "591" + "$id": "587" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "577" + "$id": "588", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "589", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "590", + "Type": { + "$id": "591", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6436,44 +6292,13 @@ "Parameters": [ { "$id": "594", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "595", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "596", - "Type": { - "$id": "597", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "598", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "599", + "$id": "595", "kind": "constant", "valueType": { - "$id": "600", + "$id": "596", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6495,7 +6320,7 @@ ], "Responses": [ { - "$id": "601", + "$id": "597", "StatusCodes": [ 200 ], @@ -6521,25 +6346,22 @@ "Decorators": [] }, { - "$id": "602", + "$id": "598", "Name": "put", "ResourceName": "ExtendsDifferentSpreadModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "594" - }, - { - "$id": "603", + "$id": "599", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "604", + "$id": "600", "kind": "constant", "valueType": { - "$id": "605", + "$id": "601", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6559,7 +6381,7 @@ "SkipUrlEncoding": false }, { - "$id": "606", + "$id": "602", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6579,7 +6401,7 @@ ], "Responses": [ { - "$id": "607", + "$id": "603", "StatusCodes": [ 204 ], @@ -6603,12 +6425,40 @@ } ], "Protocol": { - "$id": "608" + "$id": "604" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "594" + "$id": "605", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "606", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "607", + "Type": { + "$id": "608", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6626,44 +6476,13 @@ "Parameters": [ { "$id": "611", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "612", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "613", - "Type": { - "$id": "614", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "615", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "616", + "$id": "612", "kind": "constant", "valueType": { - "$id": "617", + "$id": "613", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6685,7 +6504,7 @@ ], "Responses": [ { - "$id": "618", + "$id": "614", "StatusCodes": [ 200 ], @@ -6711,25 +6530,22 @@ "Decorators": [] }, { - "$id": "619", + "$id": "615", "Name": "put", "ResourceName": "ExtendsDifferentSpreadModelArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "611" - }, - { - "$id": "620", + "$id": "616", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "621", + "$id": "617", "kind": "constant", "valueType": { - "$id": "622", + "$id": "618", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6749,7 +6565,7 @@ "SkipUrlEncoding": false }, { - "$id": "623", + "$id": "619", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6769,7 +6585,7 @@ ], "Responses": [ { - "$id": "624", + "$id": "620", "StatusCodes": [ 204 ], @@ -6793,67 +6609,64 @@ } ], "Protocol": { - "$id": "625" + "$id": "621" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "611" + "$id": "622", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "623", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "624", + "Type": { + "$id": "625", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] }, { - "$id": "626", - "Name": "MultipleSpread", - "Operations": [ - { - "$id": "627", - "Name": "get", - "ResourceName": "MultipleSpread", - "Description": "Get call", - "Accessibility": "public", - "Parameters": [ - { - "$id": "628", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "629", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "630", - "Type": { - "$id": "631", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, + "$id": "626", + "Name": "MultipleSpread", + "Operations": [ + { + "$id": "627", + "Name": "get", + "ResourceName": "MultipleSpread", + "Description": "Get call", + "Accessibility": "public", + "Parameters": [ { - "$id": "632", + "$id": "628", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "633", + "$id": "629", "kind": "constant", "valueType": { - "$id": "634", + "$id": "630", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6875,7 +6688,7 @@ ], "Responses": [ { - "$id": "635", + "$id": "631", "StatusCodes": [ 200 ], @@ -6901,25 +6714,22 @@ "Decorators": [] }, { - "$id": "636", + "$id": "632", "Name": "put", "ResourceName": "MultipleSpread", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "628" - }, - { - "$id": "637", + "$id": "633", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "638", + "$id": "634", "kind": "constant", "valueType": { - "$id": "639", + "$id": "635", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6939,7 +6749,7 @@ "SkipUrlEncoding": false }, { - "$id": "640", + "$id": "636", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6959,7 +6769,7 @@ ], "Responses": [ { - "$id": "641", + "$id": "637", "StatusCodes": [ 204 ], @@ -6983,12 +6793,40 @@ } ], "Protocol": { - "$id": "642" + "$id": "638" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "628" + "$id": "639", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "640", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "641", + "Type": { + "$id": "642", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7006,44 +6844,13 @@ "Parameters": [ { "$id": "645", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "646", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "647", - "Type": { - "$id": "648", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "649", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "650", + "$id": "646", "kind": "constant", "valueType": { - "$id": "651", + "$id": "647", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7065,7 +6872,7 @@ ], "Responses": [ { - "$id": "652", + "$id": "648", "StatusCodes": [ 200 ], @@ -7091,25 +6898,22 @@ "Decorators": [] }, { - "$id": "653", + "$id": "649", "Name": "put", "ResourceName": "SpreadRecordUnion", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "645" - }, - { - "$id": "654", + "$id": "650", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "655", + "$id": "651", "kind": "constant", "valueType": { - "$id": "656", + "$id": "652", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7129,7 +6933,7 @@ "SkipUrlEncoding": false }, { - "$id": "657", + "$id": "653", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7149,7 +6953,7 @@ ], "Responses": [ { - "$id": "658", + "$id": "654", "StatusCodes": [ 204 ], @@ -7173,12 +6977,40 @@ } ], "Protocol": { - "$id": "659" + "$id": "655" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "645" + "$id": "656", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "657", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "658", + "Type": { + "$id": "659", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7196,44 +7028,13 @@ "Parameters": [ { "$id": "662", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "663", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "664", - "Type": { - "$id": "665", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "666", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "667", + "$id": "663", "kind": "constant", "valueType": { - "$id": "668", + "$id": "664", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7255,7 +7056,7 @@ ], "Responses": [ { - "$id": "669", + "$id": "665", "StatusCodes": [ 200 ], @@ -7281,25 +7082,22 @@ "Decorators": [] }, { - "$id": "670", + "$id": "666", "Name": "put", "ResourceName": "SpreadRecordDiscriminatedUnion", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "662" - }, - { - "$id": "671", + "$id": "667", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "672", + "$id": "668", "kind": "constant", "valueType": { - "$id": "673", + "$id": "669", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7319,7 +7117,7 @@ "SkipUrlEncoding": false }, { - "$id": "674", + "$id": "670", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7339,7 +7137,7 @@ ], "Responses": [ { - "$id": "675", + "$id": "671", "StatusCodes": [ 204 ], @@ -7363,12 +7161,40 @@ } ], "Protocol": { - "$id": "676" + "$id": "672" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "662" + "$id": "673", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "674", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "675", + "Type": { + "$id": "676", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7386,44 +7212,13 @@ "Parameters": [ { "$id": "679", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "680", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "681", - "Type": { - "$id": "682", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "683", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "684", + "$id": "680", "kind": "constant", "valueType": { - "$id": "685", + "$id": "681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7445,7 +7240,7 @@ ], "Responses": [ { - "$id": "686", + "$id": "682", "StatusCodes": [ 200 ], @@ -7471,25 +7266,22 @@ "Decorators": [] }, { - "$id": "687", + "$id": "683", "Name": "put", "ResourceName": "SpreadRecordNonDiscriminatedUnion", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "679" - }, - { - "$id": "688", + "$id": "684", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "689", + "$id": "685", "kind": "constant", "valueType": { - "$id": "690", + "$id": "686", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7509,7 +7301,7 @@ "SkipUrlEncoding": false }, { - "$id": "691", + "$id": "687", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7529,7 +7321,7 @@ ], "Responses": [ { - "$id": "692", + "$id": "688", "StatusCodes": [ 204 ], @@ -7553,12 +7345,40 @@ } ], "Protocol": { - "$id": "693" + "$id": "689" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "679" + "$id": "690", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "691", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "692", + "Type": { + "$id": "693", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7576,44 +7396,13 @@ "Parameters": [ { "$id": "696", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "697", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "698", - "Type": { - "$id": "699", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "700", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "701", + "$id": "697", "kind": "constant", "valueType": { - "$id": "702", + "$id": "698", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7635,7 +7424,7 @@ ], "Responses": [ { - "$id": "703", + "$id": "699", "StatusCodes": [ 200 ], @@ -7661,25 +7450,22 @@ "Decorators": [] }, { - "$id": "704", + "$id": "700", "Name": "put", "ResourceName": "SpreadRecordNonDiscriminatedUnion2", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "696" - }, - { - "$id": "705", + "$id": "701", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "706", + "$id": "702", "kind": "constant", "valueType": { - "$id": "707", + "$id": "703", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7699,7 +7485,7 @@ "SkipUrlEncoding": false }, { - "$id": "708", + "$id": "704", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7719,7 +7505,7 @@ ], "Responses": [ { - "$id": "709", + "$id": "705", "StatusCodes": [ 204 ], @@ -7743,12 +7529,40 @@ } ], "Protocol": { - "$id": "710" + "$id": "706" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "696" + "$id": "707", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "708", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "709", + "Type": { + "$id": "710", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -7766,44 +7580,13 @@ "Parameters": [ { "$id": "713", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "714", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "715", - "Type": { - "$id": "716", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "717", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "718", + "$id": "714", "kind": "constant", "valueType": { - "$id": "719", + "$id": "715", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7825,7 +7608,7 @@ ], "Responses": [ { - "$id": "720", + "$id": "716", "StatusCodes": [ 200 ], @@ -7851,25 +7634,22 @@ "Decorators": [] }, { - "$id": "721", + "$id": "717", "Name": "put", "ResourceName": "SpreadRecordNonDiscriminatedUnion3", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "713" - }, - { - "$id": "722", + "$id": "718", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "723", + "$id": "719", "kind": "constant", "valueType": { - "$id": "724", + "$id": "720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7889,7 +7669,7 @@ "SkipUrlEncoding": false }, { - "$id": "725", + "$id": "721", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -7909,7 +7689,7 @@ ], "Responses": [ { - "$id": "726", + "$id": "722", "StatusCodes": [ 204 ], @@ -7933,12 +7713,40 @@ } ], "Protocol": { - "$id": "727" + "$id": "723" }, "Parent": "AdditionalPropertiesClient", "Parameters": [ { - "$ref": "713" + "$id": "724", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "725", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "726", + "Type": { + "$id": "727", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/property/nullable/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/property/nullable/tspCodeModel.json index 6237886656d..a5874cb31ec 100644 --- a/test/CadlRanchProjectsNonAzure/type/property/nullable/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/property/nullable/tspCodeModel.json @@ -513,44 +513,13 @@ "Parameters": [ { "$id": "59", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "60", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "61", - "Type": { - "$id": "62", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "63", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "64", + "$id": "60", "kind": "constant", "valueType": { - "$id": "65", + "$id": "61", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -572,7 +541,7 @@ ], "Responses": [ { - "$id": "66", + "$id": "62", "StatusCodes": [ 200 ], @@ -598,24 +567,21 @@ "Decorators": [] }, { - "$id": "67", + "$id": "63", "Name": "getNull", "ResourceName": "String", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "59" - }, - { - "$id": "68", + "$id": "64", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "69", + "$id": "65", "kind": "constant", "valueType": { - "$id": "70", + "$id": "66", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -637,7 +603,7 @@ ], "Responses": [ { - "$id": "71", + "$id": "67", "StatusCodes": [ 200 ], @@ -663,25 +629,22 @@ "Decorators": [] }, { - "$id": "72", + "$id": "68", "Name": "patchNonNull", "ResourceName": "String", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "59" - }, - { - "$id": "73", + "$id": "69", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "74", + "$id": "70", "kind": "constant", "valueType": { - "$id": "75", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -701,7 +664,7 @@ "SkipUrlEncoding": false }, { - "$id": "76", + "$id": "72", "Name": "body", "NameInRequest": "body", "Type": { @@ -720,7 +683,7 @@ ], "Responses": [ { - "$id": "77", + "$id": "73", "StatusCodes": [ 204 ], @@ -743,25 +706,22 @@ "Decorators": [] }, { - "$id": "78", + "$id": "74", "Name": "patchNull", "ResourceName": "String", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "59" - }, - { - "$id": "79", + "$id": "75", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "80", + "$id": "76", "kind": "constant", "valueType": { - "$id": "81", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -781,7 +741,7 @@ "SkipUrlEncoding": false }, { - "$id": "82", + "$id": "78", "Name": "body", "NameInRequest": "body", "Type": { @@ -800,7 +760,7 @@ ], "Responses": [ { - "$id": "83", + "$id": "79", "StatusCodes": [ 204 ], @@ -824,12 +784,40 @@ } ], "Protocol": { - "$id": "84" + "$id": "80" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "59" + "$id": "81", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "82", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "83", + "Type": { + "$id": "84", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -847,44 +835,13 @@ "Parameters": [ { "$id": "87", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "88", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "89", - "Type": { - "$id": "90", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "91", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "92", + "$id": "88", "kind": "constant", "valueType": { - "$id": "93", + "$id": "89", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -906,7 +863,7 @@ ], "Responses": [ { - "$id": "94", + "$id": "90", "StatusCodes": [ 200 ], @@ -932,24 +889,21 @@ "Decorators": [] }, { - "$id": "95", + "$id": "91", "Name": "getNull", "ResourceName": "Bytes", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "96", + "$id": "92", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "97", + "$id": "93", "kind": "constant", "valueType": { - "$id": "98", + "$id": "94", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -971,7 +925,7 @@ ], "Responses": [ { - "$id": "99", + "$id": "95", "StatusCodes": [ 200 ], @@ -997,25 +951,22 @@ "Decorators": [] }, { - "$id": "100", + "$id": "96", "Name": "patchNonNull", "ResourceName": "Bytes", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "101", + "$id": "97", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "102", + "$id": "98", "kind": "constant", "valueType": { - "$id": "103", + "$id": "99", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1035,7 +986,7 @@ "SkipUrlEncoding": false }, { - "$id": "104", + "$id": "100", "Name": "body", "NameInRequest": "body", "Type": { @@ -1054,7 +1005,7 @@ ], "Responses": [ { - "$id": "105", + "$id": "101", "StatusCodes": [ 204 ], @@ -1077,25 +1028,22 @@ "Decorators": [] }, { - "$id": "106", + "$id": "102", "Name": "patchNull", "ResourceName": "Bytes", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "87" - }, - { - "$id": "107", + "$id": "103", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "108", + "$id": "104", "kind": "constant", "valueType": { - "$id": "109", + "$id": "105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1115,7 +1063,7 @@ "SkipUrlEncoding": false }, { - "$id": "110", + "$id": "106", "Name": "body", "NameInRequest": "body", "Type": { @@ -1134,7 +1082,7 @@ ], "Responses": [ { - "$id": "111", + "$id": "107", "StatusCodes": [ 204 ], @@ -1158,12 +1106,40 @@ } ], "Protocol": { - "$id": "112" + "$id": "108" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "87" + "$id": "109", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "110", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "111", + "Type": { + "$id": "112", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1181,44 +1157,13 @@ "Parameters": [ { "$id": "115", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "116", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "117", - "Type": { - "$id": "118", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "119", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "120", + "$id": "116", "kind": "constant", "valueType": { - "$id": "121", + "$id": "117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1240,7 +1185,7 @@ ], "Responses": [ { - "$id": "122", + "$id": "118", "StatusCodes": [ 200 ], @@ -1266,24 +1211,21 @@ "Decorators": [] }, { - "$id": "123", + "$id": "119", "Name": "getNull", "ResourceName": "Datetime", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "115" - }, - { - "$id": "124", + "$id": "120", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "125", + "$id": "121", "kind": "constant", "valueType": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1305,7 +1247,7 @@ ], "Responses": [ { - "$id": "127", + "$id": "123", "StatusCodes": [ 200 ], @@ -1331,25 +1273,22 @@ "Decorators": [] }, { - "$id": "128", + "$id": "124", "Name": "patchNonNull", "ResourceName": "Datetime", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "115" - }, - { - "$id": "129", + "$id": "125", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "130", + "$id": "126", "kind": "constant", "valueType": { - "$id": "131", + "$id": "127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1369,7 +1308,7 @@ "SkipUrlEncoding": false }, { - "$id": "132", + "$id": "128", "Name": "body", "NameInRequest": "body", "Type": { @@ -1388,7 +1327,7 @@ ], "Responses": [ { - "$id": "133", + "$id": "129", "StatusCodes": [ 204 ], @@ -1411,25 +1350,22 @@ "Decorators": [] }, { - "$id": "134", + "$id": "130", "Name": "patchNull", "ResourceName": "Datetime", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "115" - }, - { - "$id": "135", + "$id": "131", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "136", + "$id": "132", "kind": "constant", "valueType": { - "$id": "137", + "$id": "133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1449,7 +1385,7 @@ "SkipUrlEncoding": false }, { - "$id": "138", + "$id": "134", "Name": "body", "NameInRequest": "body", "Type": { @@ -1468,7 +1404,7 @@ ], "Responses": [ { - "$id": "139", + "$id": "135", "StatusCodes": [ 204 ], @@ -1492,12 +1428,40 @@ } ], "Protocol": { - "$id": "140" + "$id": "136" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "115" + "$id": "137", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "138", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "139", + "Type": { + "$id": "140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1515,44 +1479,13 @@ "Parameters": [ { "$id": "143", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "144", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "145", - "Type": { - "$id": "146", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "147", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "148", + "$id": "144", "kind": "constant", "valueType": { - "$id": "149", + "$id": "145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1574,7 +1507,7 @@ ], "Responses": [ { - "$id": "150", + "$id": "146", "StatusCodes": [ 200 ], @@ -1600,24 +1533,21 @@ "Decorators": [] }, { - "$id": "151", + "$id": "147", "Name": "getNull", "ResourceName": "Duration", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "143" - }, - { - "$id": "152", + "$id": "148", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "153", + "$id": "149", "kind": "constant", "valueType": { - "$id": "154", + "$id": "150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1639,7 +1569,7 @@ ], "Responses": [ { - "$id": "155", + "$id": "151", "StatusCodes": [ 200 ], @@ -1665,25 +1595,22 @@ "Decorators": [] }, { - "$id": "156", + "$id": "152", "Name": "patchNonNull", "ResourceName": "Duration", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "143" - }, - { - "$id": "157", + "$id": "153", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "158", + "$id": "154", "kind": "constant", "valueType": { - "$id": "159", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1703,7 +1630,7 @@ "SkipUrlEncoding": false }, { - "$id": "160", + "$id": "156", "Name": "body", "NameInRequest": "body", "Type": { @@ -1722,7 +1649,7 @@ ], "Responses": [ { - "$id": "161", + "$id": "157", "StatusCodes": [ 204 ], @@ -1745,25 +1672,22 @@ "Decorators": [] }, { - "$id": "162", + "$id": "158", "Name": "patchNull", "ResourceName": "Duration", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "143" - }, - { - "$id": "163", + "$id": "159", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "164", + "$id": "160", "kind": "constant", "valueType": { - "$id": "165", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1783,7 +1707,7 @@ "SkipUrlEncoding": false }, { - "$id": "166", + "$id": "162", "Name": "body", "NameInRequest": "body", "Type": { @@ -1802,7 +1726,7 @@ ], "Responses": [ { - "$id": "167", + "$id": "163", "StatusCodes": [ 204 ], @@ -1826,12 +1750,40 @@ } ], "Protocol": { - "$id": "168" + "$id": "164" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "143" + "$id": "165", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "166", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "167", + "Type": { + "$id": "168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1849,44 +1801,13 @@ "Parameters": [ { "$id": "171", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "172", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "173", - "Type": { - "$id": "174", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "175", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "176", + "$id": "172", "kind": "constant", "valueType": { - "$id": "177", + "$id": "173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1908,7 +1829,7 @@ ], "Responses": [ { - "$id": "178", + "$id": "174", "StatusCodes": [ 200 ], @@ -1934,24 +1855,21 @@ "Decorators": [] }, { - "$id": "179", + "$id": "175", "Name": "getNull", "ResourceName": "CollectionsByte", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "171" - }, - { - "$id": "180", + "$id": "176", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "181", + "$id": "177", "kind": "constant", "valueType": { - "$id": "182", + "$id": "178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1973,7 +1891,7 @@ ], "Responses": [ { - "$id": "183", + "$id": "179", "StatusCodes": [ 200 ], @@ -1999,25 +1917,22 @@ "Decorators": [] }, { - "$id": "184", + "$id": "180", "Name": "patchNonNull", "ResourceName": "CollectionsByte", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "171" - }, - { - "$id": "185", + "$id": "181", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "186", + "$id": "182", "kind": "constant", "valueType": { - "$id": "187", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2037,7 +1952,7 @@ "SkipUrlEncoding": false }, { - "$id": "188", + "$id": "184", "Name": "body", "NameInRequest": "body", "Type": { @@ -2056,7 +1971,7 @@ ], "Responses": [ { - "$id": "189", + "$id": "185", "StatusCodes": [ 204 ], @@ -2079,25 +1994,22 @@ "Decorators": [] }, { - "$id": "190", + "$id": "186", "Name": "patchNull", "ResourceName": "CollectionsByte", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "171" - }, - { - "$id": "191", + "$id": "187", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "192", + "$id": "188", "kind": "constant", "valueType": { - "$id": "193", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2117,7 +2029,7 @@ "SkipUrlEncoding": false }, { - "$id": "194", + "$id": "190", "Name": "body", "NameInRequest": "body", "Type": { @@ -2136,7 +2048,7 @@ ], "Responses": [ { - "$id": "195", + "$id": "191", "StatusCodes": [ 204 ], @@ -2160,12 +2072,40 @@ } ], "Protocol": { - "$id": "196" + "$id": "192" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "171" + "$id": "193", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "194", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "195", + "Type": { + "$id": "196", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2183,44 +2123,13 @@ "Parameters": [ { "$id": "199", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "200", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "201", - "Type": { - "$id": "202", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "203", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "204", + "$id": "200", "kind": "constant", "valueType": { - "$id": "205", + "$id": "201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2242,7 +2151,7 @@ ], "Responses": [ { - "$id": "206", + "$id": "202", "StatusCodes": [ 200 ], @@ -2268,24 +2177,21 @@ "Decorators": [] }, { - "$id": "207", + "$id": "203", "Name": "getNull", "ResourceName": "CollectionsModel", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "199" - }, - { - "$id": "208", + "$id": "204", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "209", + "$id": "205", "kind": "constant", "valueType": { - "$id": "210", + "$id": "206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2307,7 +2213,7 @@ ], "Responses": [ { - "$id": "211", + "$id": "207", "StatusCodes": [ 200 ], @@ -2333,25 +2239,22 @@ "Decorators": [] }, { - "$id": "212", + "$id": "208", "Name": "patchNonNull", "ResourceName": "CollectionsModel", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "199" - }, - { - "$id": "213", + "$id": "209", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "214", + "$id": "210", "kind": "constant", "valueType": { - "$id": "215", + "$id": "211", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2371,7 +2274,7 @@ "SkipUrlEncoding": false }, { - "$id": "216", + "$id": "212", "Name": "body", "NameInRequest": "body", "Type": { @@ -2390,7 +2293,7 @@ ], "Responses": [ { - "$id": "217", + "$id": "213", "StatusCodes": [ 204 ], @@ -2413,25 +2316,22 @@ "Decorators": [] }, { - "$id": "218", + "$id": "214", "Name": "patchNull", "ResourceName": "CollectionsModel", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "199" - }, - { - "$id": "219", + "$id": "215", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "220", + "$id": "216", "kind": "constant", "valueType": { - "$id": "221", + "$id": "217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2451,7 +2351,7 @@ "SkipUrlEncoding": false }, { - "$id": "222", + "$id": "218", "Name": "body", "NameInRequest": "body", "Type": { @@ -2470,7 +2370,7 @@ ], "Responses": [ { - "$id": "223", + "$id": "219", "StatusCodes": [ 204 ], @@ -2494,12 +2394,40 @@ } ], "Protocol": { - "$id": "224" + "$id": "220" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "199" + "$id": "221", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "222", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "223", + "Type": { + "$id": "224", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2517,44 +2445,13 @@ "Parameters": [ { "$id": "227", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "228", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "229", - "Type": { - "$id": "230", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "231", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "232", + "$id": "228", "kind": "constant", "valueType": { - "$id": "233", + "$id": "229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2576,7 +2473,7 @@ ], "Responses": [ { - "$id": "234", + "$id": "230", "StatusCodes": [ 200 ], @@ -2602,24 +2499,21 @@ "Decorators": [] }, { - "$id": "235", + "$id": "231", "Name": "getNull", "ResourceName": "CollectionsString", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "227" - }, - { - "$id": "236", + "$id": "232", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "237", + "$id": "233", "kind": "constant", "valueType": { - "$id": "238", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2641,7 +2535,7 @@ ], "Responses": [ { - "$id": "239", + "$id": "235", "StatusCodes": [ 200 ], @@ -2667,25 +2561,22 @@ "Decorators": [] }, { - "$id": "240", + "$id": "236", "Name": "patchNonNull", "ResourceName": "CollectionsString", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "227" - }, - { - "$id": "241", + "$id": "237", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "242", + "$id": "238", "kind": "constant", "valueType": { - "$id": "243", + "$id": "239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2705,7 +2596,7 @@ "SkipUrlEncoding": false }, { - "$id": "244", + "$id": "240", "Name": "body", "NameInRequest": "body", "Type": { @@ -2724,7 +2615,7 @@ ], "Responses": [ { - "$id": "245", + "$id": "241", "StatusCodes": [ 204 ], @@ -2747,25 +2638,22 @@ "Decorators": [] }, { - "$id": "246", + "$id": "242", "Name": "patchNull", "ResourceName": "CollectionsString", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "227" - }, - { - "$id": "247", + "$id": "243", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "content-type is application/merge-patch+json", "Type": { - "$id": "248", + "$id": "244", "kind": "constant", "valueType": { - "$id": "249", + "$id": "245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2785,7 +2673,7 @@ "SkipUrlEncoding": false }, { - "$id": "250", + "$id": "246", "Name": "body", "NameInRequest": "body", "Type": { @@ -2804,7 +2692,7 @@ ], "Responses": [ { - "$id": "251", + "$id": "247", "StatusCodes": [ 204 ], @@ -2828,12 +2716,40 @@ } ], "Protocol": { - "$id": "252" + "$id": "248" }, "Parent": "NullableClient", "Parameters": [ { - "$ref": "227" + "$id": "249", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "250", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "251", + "Type": { + "$id": "252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/property/optionality/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/property/optionality/tspCodeModel.json index 807e031246f..b19bdfff08b 100644 --- a/test/CadlRanchProjectsNonAzure/type/property/optionality/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/property/optionality/tspCodeModel.json @@ -865,44 +865,13 @@ "Parameters": [ { "$id": "88", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "89", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "90", - "Type": { - "$id": "91", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "92", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "93", + "$id": "89", "kind": "constant", "valueType": { - "$id": "94", + "$id": "90", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -924,7 +893,7 @@ ], "Responses": [ { - "$id": "95", + "$id": "91", "StatusCodes": [ 200 ], @@ -950,24 +919,21 @@ "Decorators": [] }, { - "$id": "96", + "$id": "92", "Name": "getDefault", "ResourceName": "String", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "88" - }, - { - "$id": "97", + "$id": "93", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "98", + "$id": "94", "kind": "constant", "valueType": { - "$id": "99", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -989,7 +955,7 @@ ], "Responses": [ { - "$id": "100", + "$id": "96", "StatusCodes": [ 200 ], @@ -1015,25 +981,22 @@ "Decorators": [] }, { - "$id": "101", + "$id": "97", "Name": "putAll", "ResourceName": "String", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "88" - }, - { - "$id": "102", + "$id": "98", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "103", + "$id": "99", "kind": "constant", "valueType": { - "$id": "104", + "$id": "100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1053,7 +1016,7 @@ "SkipUrlEncoding": false }, { - "$id": "105", + "$id": "101", "Name": "body", "NameInRequest": "body", "Type": { @@ -1072,7 +1035,7 @@ ], "Responses": [ { - "$id": "106", + "$id": "102", "StatusCodes": [ 204 ], @@ -1095,25 +1058,22 @@ "Decorators": [] }, { - "$id": "107", + "$id": "103", "Name": "putDefault", "ResourceName": "String", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "88" - }, - { - "$id": "108", + "$id": "104", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "109", + "$id": "105", "kind": "constant", "valueType": { - "$id": "110", + "$id": "106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1133,7 +1093,7 @@ "SkipUrlEncoding": false }, { - "$id": "111", + "$id": "107", "Name": "body", "NameInRequest": "body", "Type": { @@ -1152,7 +1112,7 @@ ], "Responses": [ { - "$id": "112", + "$id": "108", "StatusCodes": [ 204 ], @@ -1176,12 +1136,40 @@ } ], "Protocol": { - "$id": "113" + "$id": "109" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "88" + "$id": "110", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "111", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "112", + "Type": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1199,44 +1187,13 @@ "Parameters": [ { "$id": "116", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "117", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "118", - "Type": { - "$id": "119", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "120", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "121", + "$id": "117", "kind": "constant", "valueType": { - "$id": "122", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1258,7 +1215,7 @@ ], "Responses": [ { - "$id": "123", + "$id": "119", "StatusCodes": [ 200 ], @@ -1284,24 +1241,21 @@ "Decorators": [] }, { - "$id": "124", + "$id": "120", "Name": "getDefault", "ResourceName": "Bytes", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "116" - }, - { - "$id": "125", + "$id": "121", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "126", + "$id": "122", "kind": "constant", "valueType": { - "$id": "127", + "$id": "123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1323,7 +1277,7 @@ ], "Responses": [ { - "$id": "128", + "$id": "124", "StatusCodes": [ 200 ], @@ -1349,25 +1303,22 @@ "Decorators": [] }, { - "$id": "129", + "$id": "125", "Name": "putAll", "ResourceName": "Bytes", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "116" - }, - { - "$id": "130", + "$id": "126", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "131", + "$id": "127", "kind": "constant", "valueType": { - "$id": "132", + "$id": "128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1387,7 +1338,7 @@ "SkipUrlEncoding": false }, { - "$id": "133", + "$id": "129", "Name": "body", "NameInRequest": "body", "Type": { @@ -1406,7 +1357,7 @@ ], "Responses": [ { - "$id": "134", + "$id": "130", "StatusCodes": [ 204 ], @@ -1429,25 +1380,22 @@ "Decorators": [] }, { - "$id": "135", + "$id": "131", "Name": "putDefault", "ResourceName": "Bytes", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "116" - }, - { - "$id": "136", + "$id": "132", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "137", + "$id": "133", "kind": "constant", "valueType": { - "$id": "138", + "$id": "134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1467,7 +1415,7 @@ "SkipUrlEncoding": false }, { - "$id": "139", + "$id": "135", "Name": "body", "NameInRequest": "body", "Type": { @@ -1486,7 +1434,7 @@ ], "Responses": [ { - "$id": "140", + "$id": "136", "StatusCodes": [ 204 ], @@ -1510,12 +1458,40 @@ } ], "Protocol": { - "$id": "141" + "$id": "137" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "116" + "$id": "138", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "139", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "140", + "Type": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1533,44 +1509,13 @@ "Parameters": [ { "$id": "144", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "145", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "146", - "Type": { - "$id": "147", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "148", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "149", + "$id": "145", "kind": "constant", "valueType": { - "$id": "150", + "$id": "146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1592,7 +1537,7 @@ ], "Responses": [ { - "$id": "151", + "$id": "147", "StatusCodes": [ 200 ], @@ -1618,24 +1563,21 @@ "Decorators": [] }, { - "$id": "152", + "$id": "148", "Name": "getDefault", "ResourceName": "Datetime", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "144" - }, - { - "$id": "153", + "$id": "149", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "154", + "$id": "150", "kind": "constant", "valueType": { - "$id": "155", + "$id": "151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1657,7 +1599,7 @@ ], "Responses": [ { - "$id": "156", + "$id": "152", "StatusCodes": [ 200 ], @@ -1683,25 +1625,22 @@ "Decorators": [] }, { - "$id": "157", + "$id": "153", "Name": "putAll", "ResourceName": "Datetime", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "144" - }, - { - "$id": "158", + "$id": "154", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "159", + "$id": "155", "kind": "constant", "valueType": { - "$id": "160", + "$id": "156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1721,7 +1660,7 @@ "SkipUrlEncoding": false }, { - "$id": "161", + "$id": "157", "Name": "body", "NameInRequest": "body", "Type": { @@ -1740,7 +1679,7 @@ ], "Responses": [ { - "$id": "162", + "$id": "158", "StatusCodes": [ 204 ], @@ -1763,25 +1702,22 @@ "Decorators": [] }, { - "$id": "163", + "$id": "159", "Name": "putDefault", "ResourceName": "Datetime", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "144" - }, - { - "$id": "164", + "$id": "160", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "165", + "$id": "161", "kind": "constant", "valueType": { - "$id": "166", + "$id": "162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1801,7 +1737,7 @@ "SkipUrlEncoding": false }, { - "$id": "167", + "$id": "163", "Name": "body", "NameInRequest": "body", "Type": { @@ -1820,7 +1756,7 @@ ], "Responses": [ { - "$id": "168", + "$id": "164", "StatusCodes": [ 204 ], @@ -1844,12 +1780,40 @@ } ], "Protocol": { - "$id": "169" + "$id": "165" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "144" + "$id": "166", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "167", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "168", + "Type": { + "$id": "169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1867,44 +1831,13 @@ "Parameters": [ { "$id": "172", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "173", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "174", - "Type": { - "$id": "175", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "176", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "177", + "$id": "173", "kind": "constant", "valueType": { - "$id": "178", + "$id": "174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1926,7 +1859,7 @@ ], "Responses": [ { - "$id": "179", + "$id": "175", "StatusCodes": [ 200 ], @@ -1952,24 +1885,21 @@ "Decorators": [] }, { - "$id": "180", + "$id": "176", "Name": "getDefault", "ResourceName": "Duration", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "172" - }, - { - "$id": "181", + "$id": "177", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "182", + "$id": "178", "kind": "constant", "valueType": { - "$id": "183", + "$id": "179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1991,7 +1921,7 @@ ], "Responses": [ { - "$id": "184", + "$id": "180", "StatusCodes": [ 200 ], @@ -2017,25 +1947,22 @@ "Decorators": [] }, { - "$id": "185", + "$id": "181", "Name": "putAll", "ResourceName": "Duration", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "172" - }, - { - "$id": "186", + "$id": "182", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "187", + "$id": "183", "kind": "constant", "valueType": { - "$id": "188", + "$id": "184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2055,7 +1982,7 @@ "SkipUrlEncoding": false }, { - "$id": "189", + "$id": "185", "Name": "body", "NameInRequest": "body", "Type": { @@ -2074,7 +2001,7 @@ ], "Responses": [ { - "$id": "190", + "$id": "186", "StatusCodes": [ 204 ], @@ -2097,25 +2024,22 @@ "Decorators": [] }, { - "$id": "191", + "$id": "187", "Name": "putDefault", "ResourceName": "Duration", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "172" - }, - { - "$id": "192", + "$id": "188", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "193", + "$id": "189", "kind": "constant", "valueType": { - "$id": "194", + "$id": "190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2135,7 +2059,7 @@ "SkipUrlEncoding": false }, { - "$id": "195", + "$id": "191", "Name": "body", "NameInRequest": "body", "Type": { @@ -2154,7 +2078,7 @@ ], "Responses": [ { - "$id": "196", + "$id": "192", "StatusCodes": [ 204 ], @@ -2178,12 +2102,40 @@ } ], "Protocol": { - "$id": "197" + "$id": "193" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "172" + "$id": "194", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "195", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "196", + "Type": { + "$id": "197", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2201,44 +2153,13 @@ "Parameters": [ { "$id": "200", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "201", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "202", - "Type": { - "$id": "203", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "204", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "205", + "$id": "201", "kind": "constant", "valueType": { - "$id": "206", + "$id": "202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2260,7 +2181,7 @@ ], "Responses": [ { - "$id": "207", + "$id": "203", "StatusCodes": [ 200 ], @@ -2286,24 +2207,21 @@ "Decorators": [] }, { - "$id": "208", + "$id": "204", "Name": "getDefault", "ResourceName": "PlainDate", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "200" - }, - { - "$id": "209", + "$id": "205", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "210", + "$id": "206", "kind": "constant", "valueType": { - "$id": "211", + "$id": "207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2325,7 +2243,7 @@ ], "Responses": [ { - "$id": "212", + "$id": "208", "StatusCodes": [ 200 ], @@ -2351,25 +2269,22 @@ "Decorators": [] }, { - "$id": "213", + "$id": "209", "Name": "putAll", "ResourceName": "PlainDate", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "200" - }, - { - "$id": "214", + "$id": "210", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "215", + "$id": "211", "kind": "constant", "valueType": { - "$id": "216", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2389,7 +2304,7 @@ "SkipUrlEncoding": false }, { - "$id": "217", + "$id": "213", "Name": "body", "NameInRequest": "body", "Type": { @@ -2408,7 +2323,7 @@ ], "Responses": [ { - "$id": "218", + "$id": "214", "StatusCodes": [ 204 ], @@ -2431,25 +2346,22 @@ "Decorators": [] }, { - "$id": "219", + "$id": "215", "Name": "putDefault", "ResourceName": "PlainDate", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "200" - }, - { - "$id": "220", + "$id": "216", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "221", + "$id": "217", "kind": "constant", "valueType": { - "$id": "222", + "$id": "218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2469,7 +2381,7 @@ "SkipUrlEncoding": false }, { - "$id": "223", + "$id": "219", "Name": "body", "NameInRequest": "body", "Type": { @@ -2488,7 +2400,7 @@ ], "Responses": [ { - "$id": "224", + "$id": "220", "StatusCodes": [ 204 ], @@ -2512,12 +2424,40 @@ } ], "Protocol": { - "$id": "225" + "$id": "221" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "200" + "$id": "222", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "223", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "224", + "Type": { + "$id": "225", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2535,44 +2475,13 @@ "Parameters": [ { "$id": "228", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "229", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "230", - "Type": { - "$id": "231", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "232", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "233", + "$id": "229", "kind": "constant", "valueType": { - "$id": "234", + "$id": "230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2594,7 +2503,7 @@ ], "Responses": [ { - "$id": "235", + "$id": "231", "StatusCodes": [ 200 ], @@ -2620,24 +2529,21 @@ "Decorators": [] }, { - "$id": "236", + "$id": "232", "Name": "getDefault", "ResourceName": "PlainTime", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "228" - }, - { - "$id": "237", + "$id": "233", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "238", + "$id": "234", "kind": "constant", "valueType": { - "$id": "239", + "$id": "235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2659,7 +2565,7 @@ ], "Responses": [ { - "$id": "240", + "$id": "236", "StatusCodes": [ 200 ], @@ -2685,25 +2591,22 @@ "Decorators": [] }, { - "$id": "241", + "$id": "237", "Name": "putAll", "ResourceName": "PlainTime", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "228" - }, - { - "$id": "242", + "$id": "238", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "243", + "$id": "239", "kind": "constant", "valueType": { - "$id": "244", + "$id": "240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2723,7 +2626,7 @@ "SkipUrlEncoding": false }, { - "$id": "245", + "$id": "241", "Name": "body", "NameInRequest": "body", "Type": { @@ -2742,7 +2645,7 @@ ], "Responses": [ { - "$id": "246", + "$id": "242", "StatusCodes": [ 204 ], @@ -2765,25 +2668,22 @@ "Decorators": [] }, { - "$id": "247", + "$id": "243", "Name": "putDefault", "ResourceName": "PlainTime", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "228" - }, - { - "$id": "248", + "$id": "244", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "249", + "$id": "245", "kind": "constant", "valueType": { - "$id": "250", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2803,7 +2703,7 @@ "SkipUrlEncoding": false }, { - "$id": "251", + "$id": "247", "Name": "body", "NameInRequest": "body", "Type": { @@ -2822,7 +2722,7 @@ ], "Responses": [ { - "$id": "252", + "$id": "248", "StatusCodes": [ 204 ], @@ -2846,12 +2746,40 @@ } ], "Protocol": { - "$id": "253" + "$id": "249" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "228" + "$id": "250", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "251", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "252", + "Type": { + "$id": "253", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2869,44 +2797,13 @@ "Parameters": [ { "$id": "256", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "257", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "258", - "Type": { - "$id": "259", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "260", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "261", + "$id": "257", "kind": "constant", "valueType": { - "$id": "262", + "$id": "258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2928,7 +2825,7 @@ ], "Responses": [ { - "$id": "263", + "$id": "259", "StatusCodes": [ 200 ], @@ -2954,24 +2851,21 @@ "Decorators": [] }, { - "$id": "264", + "$id": "260", "Name": "getDefault", "ResourceName": "CollectionsByte", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "256" - }, - { - "$id": "265", + "$id": "261", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "266", + "$id": "262", "kind": "constant", "valueType": { - "$id": "267", + "$id": "263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2993,7 +2887,7 @@ ], "Responses": [ { - "$id": "268", + "$id": "264", "StatusCodes": [ 200 ], @@ -3019,25 +2913,22 @@ "Decorators": [] }, { - "$id": "269", + "$id": "265", "Name": "putAll", "ResourceName": "CollectionsByte", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "256" - }, - { - "$id": "270", + "$id": "266", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "271", + "$id": "267", "kind": "constant", "valueType": { - "$id": "272", + "$id": "268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3057,7 +2948,7 @@ "SkipUrlEncoding": false }, { - "$id": "273", + "$id": "269", "Name": "body", "NameInRequest": "body", "Type": { @@ -3076,7 +2967,7 @@ ], "Responses": [ { - "$id": "274", + "$id": "270", "StatusCodes": [ 204 ], @@ -3099,25 +2990,22 @@ "Decorators": [] }, { - "$id": "275", + "$id": "271", "Name": "putDefault", "ResourceName": "CollectionsByte", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "256" - }, - { - "$id": "276", + "$id": "272", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "277", + "$id": "273", "kind": "constant", "valueType": { - "$id": "278", + "$id": "274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3137,7 +3025,7 @@ "SkipUrlEncoding": false }, { - "$id": "279", + "$id": "275", "Name": "body", "NameInRequest": "body", "Type": { @@ -3156,7 +3044,7 @@ ], "Responses": [ { - "$id": "280", + "$id": "276", "StatusCodes": [ 204 ], @@ -3180,12 +3068,40 @@ } ], "Protocol": { - "$id": "281" + "$id": "277" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "256" + "$id": "278", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "279", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "280", + "Type": { + "$id": "281", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3203,44 +3119,13 @@ "Parameters": [ { "$id": "284", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "285", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "286", - "Type": { - "$id": "287", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "288", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "289", + "$id": "285", "kind": "constant", "valueType": { - "$id": "290", + "$id": "286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3262,7 +3147,7 @@ ], "Responses": [ { - "$id": "291", + "$id": "287", "StatusCodes": [ 200 ], @@ -3288,24 +3173,21 @@ "Decorators": [] }, { - "$id": "292", + "$id": "288", "Name": "getDefault", "ResourceName": "CollectionsModel", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "284" - }, - { - "$id": "293", + "$id": "289", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "294", + "$id": "290", "kind": "constant", "valueType": { - "$id": "295", + "$id": "291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3327,7 +3209,7 @@ ], "Responses": [ { - "$id": "296", + "$id": "292", "StatusCodes": [ 200 ], @@ -3353,25 +3235,22 @@ "Decorators": [] }, { - "$id": "297", + "$id": "293", "Name": "putAll", "ResourceName": "CollectionsModel", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "284" - }, - { - "$id": "298", + "$id": "294", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "299", + "$id": "295", "kind": "constant", "valueType": { - "$id": "300", + "$id": "296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3391,7 +3270,7 @@ "SkipUrlEncoding": false }, { - "$id": "301", + "$id": "297", "Name": "body", "NameInRequest": "body", "Type": { @@ -3410,7 +3289,7 @@ ], "Responses": [ { - "$id": "302", + "$id": "298", "StatusCodes": [ 204 ], @@ -3433,25 +3312,22 @@ "Decorators": [] }, { - "$id": "303", + "$id": "299", "Name": "putDefault", "ResourceName": "CollectionsModel", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "284" - }, - { - "$id": "304", + "$id": "300", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "305", + "$id": "301", "kind": "constant", "valueType": { - "$id": "306", + "$id": "302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3471,7 +3347,7 @@ "SkipUrlEncoding": false }, { - "$id": "307", + "$id": "303", "Name": "body", "NameInRequest": "body", "Type": { @@ -3490,7 +3366,7 @@ ], "Responses": [ { - "$id": "308", + "$id": "304", "StatusCodes": [ 204 ], @@ -3514,12 +3390,40 @@ } ], "Protocol": { - "$id": "309" + "$id": "305" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "284" + "$id": "306", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "307", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "308", + "Type": { + "$id": "309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3537,44 +3441,13 @@ "Parameters": [ { "$id": "312", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "313", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "314", - "Type": { - "$id": "315", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "316", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "317", + "$id": "313", "kind": "constant", "valueType": { - "$id": "318", + "$id": "314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3596,7 +3469,7 @@ ], "Responses": [ { - "$id": "319", + "$id": "315", "StatusCodes": [ 200 ], @@ -3622,24 +3495,21 @@ "Decorators": [] }, { - "$id": "320", + "$id": "316", "Name": "getDefault", "ResourceName": "StringLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "312" - }, - { - "$id": "321", + "$id": "317", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "322", + "$id": "318", "kind": "constant", "valueType": { - "$id": "323", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3661,7 +3531,7 @@ ], "Responses": [ { - "$id": "324", + "$id": "320", "StatusCodes": [ 200 ], @@ -3687,25 +3557,22 @@ "Decorators": [] }, { - "$id": "325", + "$id": "321", "Name": "putAll", "ResourceName": "StringLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "312" - }, - { - "$id": "326", + "$id": "322", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "327", + "$id": "323", "kind": "constant", "valueType": { - "$id": "328", + "$id": "324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3725,7 +3592,7 @@ "SkipUrlEncoding": false }, { - "$id": "329", + "$id": "325", "Name": "body", "NameInRequest": "body", "Type": { @@ -3744,7 +3611,7 @@ ], "Responses": [ { - "$id": "330", + "$id": "326", "StatusCodes": [ 204 ], @@ -3767,25 +3634,22 @@ "Decorators": [] }, { - "$id": "331", + "$id": "327", "Name": "putDefault", "ResourceName": "StringLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "312" - }, - { - "$id": "332", + "$id": "328", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "333", + "$id": "329", "kind": "constant", "valueType": { - "$id": "334", + "$id": "330", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3805,7 +3669,7 @@ "SkipUrlEncoding": false }, { - "$id": "335", + "$id": "331", "Name": "body", "NameInRequest": "body", "Type": { @@ -3824,7 +3688,7 @@ ], "Responses": [ { - "$id": "336", + "$id": "332", "StatusCodes": [ 204 ], @@ -3848,12 +3712,40 @@ } ], "Protocol": { - "$id": "337" + "$id": "333" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "312" + "$id": "334", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "335", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "336", + "Type": { + "$id": "337", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3871,44 +3763,13 @@ "Parameters": [ { "$id": "340", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "341", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "342", - "Type": { - "$id": "343", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "344", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "345", + "$id": "341", "kind": "constant", "valueType": { - "$id": "346", + "$id": "342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3930,7 +3791,7 @@ ], "Responses": [ { - "$id": "347", + "$id": "343", "StatusCodes": [ 200 ], @@ -3956,24 +3817,21 @@ "Decorators": [] }, { - "$id": "348", + "$id": "344", "Name": "getDefault", "ResourceName": "IntLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "340" - }, - { - "$id": "349", + "$id": "345", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "350", + "$id": "346", "kind": "constant", "valueType": { - "$id": "351", + "$id": "347", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3995,7 +3853,7 @@ ], "Responses": [ { - "$id": "352", + "$id": "348", "StatusCodes": [ 200 ], @@ -4021,25 +3879,22 @@ "Decorators": [] }, { - "$id": "353", + "$id": "349", "Name": "putAll", "ResourceName": "IntLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "340" - }, - { - "$id": "354", + "$id": "350", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "355", + "$id": "351", "kind": "constant", "valueType": { - "$id": "356", + "$id": "352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4059,7 +3914,7 @@ "SkipUrlEncoding": false }, { - "$id": "357", + "$id": "353", "Name": "body", "NameInRequest": "body", "Type": { @@ -4078,7 +3933,7 @@ ], "Responses": [ { - "$id": "358", + "$id": "354", "StatusCodes": [ 204 ], @@ -4101,25 +3956,22 @@ "Decorators": [] }, { - "$id": "359", + "$id": "355", "Name": "putDefault", "ResourceName": "IntLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "340" - }, - { - "$id": "360", + "$id": "356", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "361", + "$id": "357", "kind": "constant", "valueType": { - "$id": "362", + "$id": "358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4139,7 +3991,7 @@ "SkipUrlEncoding": false }, { - "$id": "363", + "$id": "359", "Name": "body", "NameInRequest": "body", "Type": { @@ -4158,7 +4010,7 @@ ], "Responses": [ { - "$id": "364", + "$id": "360", "StatusCodes": [ 204 ], @@ -4182,12 +4034,40 @@ } ], "Protocol": { - "$id": "365" + "$id": "361" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "340" + "$id": "362", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "363", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "364", + "Type": { + "$id": "365", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4205,44 +4085,13 @@ "Parameters": [ { "$id": "368", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "369", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "370", - "Type": { - "$id": "371", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "372", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "373", + "$id": "369", "kind": "constant", "valueType": { - "$id": "374", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4264,7 +4113,7 @@ ], "Responses": [ { - "$id": "375", + "$id": "371", "StatusCodes": [ 200 ], @@ -4290,24 +4139,21 @@ "Decorators": [] }, { - "$id": "376", + "$id": "372", "Name": "getDefault", "ResourceName": "FloatLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "368" - }, - { - "$id": "377", + "$id": "373", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "378", + "$id": "374", "kind": "constant", "valueType": { - "$id": "379", + "$id": "375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4329,7 +4175,7 @@ ], "Responses": [ { - "$id": "380", + "$id": "376", "StatusCodes": [ 200 ], @@ -4355,25 +4201,22 @@ "Decorators": [] }, { - "$id": "381", + "$id": "377", "Name": "putAll", "ResourceName": "FloatLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "368" - }, - { - "$id": "382", + "$id": "378", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "383", + "$id": "379", "kind": "constant", "valueType": { - "$id": "384", + "$id": "380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4393,7 +4236,7 @@ "SkipUrlEncoding": false }, { - "$id": "385", + "$id": "381", "Name": "body", "NameInRequest": "body", "Type": { @@ -4412,7 +4255,7 @@ ], "Responses": [ { - "$id": "386", + "$id": "382", "StatusCodes": [ 204 ], @@ -4435,25 +4278,22 @@ "Decorators": [] }, { - "$id": "387", + "$id": "383", "Name": "putDefault", "ResourceName": "FloatLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "368" - }, - { - "$id": "388", + "$id": "384", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "389", + "$id": "385", "kind": "constant", "valueType": { - "$id": "390", + "$id": "386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4473,7 +4313,7 @@ "SkipUrlEncoding": false }, { - "$id": "391", + "$id": "387", "Name": "body", "NameInRequest": "body", "Type": { @@ -4492,7 +4332,7 @@ ], "Responses": [ { - "$id": "392", + "$id": "388", "StatusCodes": [ 204 ], @@ -4516,12 +4356,40 @@ } ], "Protocol": { - "$id": "393" + "$id": "389" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "368" + "$id": "390", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "391", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "392", + "Type": { + "$id": "393", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4539,44 +4407,13 @@ "Parameters": [ { "$id": "396", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "397", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "398", - "Type": { - "$id": "399", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "400", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "401", + "$id": "397", "kind": "constant", "valueType": { - "$id": "402", + "$id": "398", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4598,7 +4435,7 @@ ], "Responses": [ { - "$id": "403", + "$id": "399", "StatusCodes": [ 200 ], @@ -4624,24 +4461,21 @@ "Decorators": [] }, { - "$id": "404", + "$id": "400", "Name": "getDefault", "ResourceName": "BooleanLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "396" - }, - { - "$id": "405", + "$id": "401", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "406", + "$id": "402", "kind": "constant", "valueType": { - "$id": "407", + "$id": "403", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4663,7 +4497,7 @@ ], "Responses": [ { - "$id": "408", + "$id": "404", "StatusCodes": [ 200 ], @@ -4689,25 +4523,22 @@ "Decorators": [] }, { - "$id": "409", + "$id": "405", "Name": "putAll", "ResourceName": "BooleanLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "396" - }, - { - "$id": "410", + "$id": "406", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "411", + "$id": "407", "kind": "constant", "valueType": { - "$id": "412", + "$id": "408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4727,7 +4558,7 @@ "SkipUrlEncoding": false }, { - "$id": "413", + "$id": "409", "Name": "body", "NameInRequest": "body", "Type": { @@ -4746,7 +4577,7 @@ ], "Responses": [ { - "$id": "414", + "$id": "410", "StatusCodes": [ 204 ], @@ -4769,25 +4600,22 @@ "Decorators": [] }, { - "$id": "415", + "$id": "411", "Name": "putDefault", "ResourceName": "BooleanLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "396" - }, - { - "$id": "416", + "$id": "412", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "417", + "$id": "413", "kind": "constant", "valueType": { - "$id": "418", + "$id": "414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4807,7 +4635,7 @@ "SkipUrlEncoding": false }, { - "$id": "419", + "$id": "415", "Name": "body", "NameInRequest": "body", "Type": { @@ -4826,7 +4654,7 @@ ], "Responses": [ { - "$id": "420", + "$id": "416", "StatusCodes": [ 204 ], @@ -4850,12 +4678,40 @@ } ], "Protocol": { - "$id": "421" + "$id": "417" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "396" + "$id": "418", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "419", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "420", + "Type": { + "$id": "421", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4873,44 +4729,13 @@ "Parameters": [ { "$id": "424", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "425", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "426", - "Type": { - "$id": "427", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "428", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "429", + "$id": "425", "kind": "constant", "valueType": { - "$id": "430", + "$id": "426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4932,7 +4757,7 @@ ], "Responses": [ { - "$id": "431", + "$id": "427", "StatusCodes": [ 200 ], @@ -4958,24 +4783,21 @@ "Decorators": [] }, { - "$id": "432", + "$id": "428", "Name": "getDefault", "ResourceName": "UnionStringLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "424" - }, - { - "$id": "433", + "$id": "429", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "434", + "$id": "430", "kind": "constant", "valueType": { - "$id": "435", + "$id": "431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4997,7 +4819,7 @@ ], "Responses": [ { - "$id": "436", + "$id": "432", "StatusCodes": [ 200 ], @@ -5023,25 +4845,22 @@ "Decorators": [] }, { - "$id": "437", + "$id": "433", "Name": "putAll", "ResourceName": "UnionStringLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "424" - }, - { - "$id": "438", + "$id": "434", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "439", + "$id": "435", "kind": "constant", "valueType": { - "$id": "440", + "$id": "436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5061,7 +4880,7 @@ "SkipUrlEncoding": false }, { - "$id": "441", + "$id": "437", "Name": "body", "NameInRequest": "body", "Type": { @@ -5080,7 +4899,7 @@ ], "Responses": [ { - "$id": "442", + "$id": "438", "StatusCodes": [ 204 ], @@ -5103,25 +4922,22 @@ "Decorators": [] }, { - "$id": "443", + "$id": "439", "Name": "putDefault", "ResourceName": "UnionStringLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "424" - }, - { - "$id": "444", + "$id": "440", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "445", + "$id": "441", "kind": "constant", "valueType": { - "$id": "446", + "$id": "442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5141,7 +4957,7 @@ "SkipUrlEncoding": false }, { - "$id": "447", + "$id": "443", "Name": "body", "NameInRequest": "body", "Type": { @@ -5160,7 +4976,7 @@ ], "Responses": [ { - "$id": "448", + "$id": "444", "StatusCodes": [ 204 ], @@ -5184,12 +5000,40 @@ } ], "Protocol": { - "$id": "449" + "$id": "445" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "424" + "$id": "446", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "447", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "448", + "Type": { + "$id": "449", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5207,44 +5051,13 @@ "Parameters": [ { "$id": "452", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "453", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "454", - "Type": { - "$id": "455", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "456", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "457", + "$id": "453", "kind": "constant", "valueType": { - "$id": "458", + "$id": "454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5266,7 +5079,7 @@ ], "Responses": [ { - "$id": "459", + "$id": "455", "StatusCodes": [ 200 ], @@ -5292,24 +5105,21 @@ "Decorators": [] }, { - "$id": "460", + "$id": "456", "Name": "getDefault", "ResourceName": "UnionIntLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "452" - }, - { - "$id": "461", + "$id": "457", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "462", + "$id": "458", "kind": "constant", "valueType": { - "$id": "463", + "$id": "459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5331,7 +5141,7 @@ ], "Responses": [ { - "$id": "464", + "$id": "460", "StatusCodes": [ 200 ], @@ -5357,25 +5167,22 @@ "Decorators": [] }, { - "$id": "465", + "$id": "461", "Name": "putAll", "ResourceName": "UnionIntLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "452" - }, - { - "$id": "466", + "$id": "462", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "467", + "$id": "463", "kind": "constant", "valueType": { - "$id": "468", + "$id": "464", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5395,7 +5202,7 @@ "SkipUrlEncoding": false }, { - "$id": "469", + "$id": "465", "Name": "body", "NameInRequest": "body", "Type": { @@ -5414,7 +5221,7 @@ ], "Responses": [ { - "$id": "470", + "$id": "466", "StatusCodes": [ 204 ], @@ -5437,25 +5244,22 @@ "Decorators": [] }, { - "$id": "471", + "$id": "467", "Name": "putDefault", "ResourceName": "UnionIntLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "452" - }, - { - "$id": "472", + "$id": "468", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "473", + "$id": "469", "kind": "constant", "valueType": { - "$id": "474", + "$id": "470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5475,7 +5279,7 @@ "SkipUrlEncoding": false }, { - "$id": "475", + "$id": "471", "Name": "body", "NameInRequest": "body", "Type": { @@ -5494,7 +5298,7 @@ ], "Responses": [ { - "$id": "476", + "$id": "472", "StatusCodes": [ 204 ], @@ -5518,12 +5322,40 @@ } ], "Protocol": { - "$id": "477" + "$id": "473" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "452" + "$id": "474", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "475", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "476", + "Type": { + "$id": "477", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5541,44 +5373,13 @@ "Parameters": [ { "$id": "480", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "481", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "482", - "Type": { - "$id": "483", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "484", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "485", + "$id": "481", "kind": "constant", "valueType": { - "$id": "486", + "$id": "482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5600,7 +5401,7 @@ ], "Responses": [ { - "$id": "487", + "$id": "483", "StatusCodes": [ 200 ], @@ -5626,24 +5427,21 @@ "Decorators": [] }, { - "$id": "488", + "$id": "484", "Name": "getDefault", "ResourceName": "UnionFloatLiteral", "Description": "Get models that will return the default object", "Accessibility": "public", "Parameters": [ { - "$ref": "480" - }, - { - "$id": "489", + "$id": "485", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "490", + "$id": "486", "kind": "constant", "valueType": { - "$id": "491", + "$id": "487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5665,7 +5463,7 @@ ], "Responses": [ { - "$id": "492", + "$id": "488", "StatusCodes": [ 200 ], @@ -5691,25 +5489,22 @@ "Decorators": [] }, { - "$id": "493", + "$id": "489", "Name": "putAll", "ResourceName": "UnionFloatLiteral", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "480" - }, - { - "$id": "494", + "$id": "490", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "495", + "$id": "491", "kind": "constant", "valueType": { - "$id": "496", + "$id": "492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5729,7 +5524,7 @@ "SkipUrlEncoding": false }, { - "$id": "497", + "$id": "493", "Name": "body", "NameInRequest": "body", "Type": { @@ -5748,7 +5543,7 @@ ], "Responses": [ { - "$id": "498", + "$id": "494", "StatusCodes": [ 204 ], @@ -5771,25 +5566,22 @@ "Decorators": [] }, { - "$id": "499", + "$id": "495", "Name": "putDefault", "ResourceName": "UnionFloatLiteral", "Description": "Put a body with default properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "480" - }, - { - "$id": "500", + "$id": "496", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "501", + "$id": "497", "kind": "constant", "valueType": { - "$id": "502", + "$id": "498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5809,7 +5601,7 @@ "SkipUrlEncoding": false }, { - "$id": "503", + "$id": "499", "Name": "body", "NameInRequest": "body", "Type": { @@ -5828,7 +5620,7 @@ ], "Responses": [ { - "$id": "504", + "$id": "500", "StatusCodes": [ 204 ], @@ -5852,12 +5644,40 @@ } ], "Protocol": { - "$id": "505" + "$id": "501" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "480" + "$id": "502", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "503", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "504", + "Type": { + "$id": "505", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5876,44 +5696,13 @@ "Parameters": [ { "$id": "508", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "509", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "510", - "Type": { - "$id": "511", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "512", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "513", + "$id": "509", "kind": "constant", "valueType": { - "$id": "514", + "$id": "510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5935,7 +5724,7 @@ ], "Responses": [ { - "$id": "515", + "$id": "511", "StatusCodes": [ 200 ], @@ -5961,24 +5750,21 @@ "Decorators": [] }, { - "$id": "516", + "$id": "512", "Name": "getRequiredOnly", "ResourceName": "RequiredAndOptional", "Description": "Get models that will return only the required properties", "Accessibility": "public", "Parameters": [ { - "$ref": "508" - }, - { - "$id": "517", + "$id": "513", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "518", + "$id": "514", "kind": "constant", "valueType": { - "$id": "519", + "$id": "515", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6000,7 +5786,7 @@ ], "Responses": [ { - "$id": "520", + "$id": "516", "StatusCodes": [ 200 ], @@ -6026,25 +5812,22 @@ "Decorators": [] }, { - "$id": "521", + "$id": "517", "Name": "putAll", "ResourceName": "RequiredAndOptional", "Description": "Put a body with all properties present.", "Accessibility": "public", "Parameters": [ { - "$ref": "508" - }, - { - "$id": "522", + "$id": "518", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "523", + "$id": "519", "kind": "constant", "valueType": { - "$id": "524", + "$id": "520", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6064,7 +5847,7 @@ "SkipUrlEncoding": false }, { - "$id": "525", + "$id": "521", "Name": "body", "NameInRequest": "body", "Type": { @@ -6083,7 +5866,7 @@ ], "Responses": [ { - "$id": "526", + "$id": "522", "StatusCodes": [ 204 ], @@ -6106,25 +5889,22 @@ "Decorators": [] }, { - "$id": "527", + "$id": "523", "Name": "putRequiredOnly", "ResourceName": "RequiredAndOptional", "Description": "Put a body with only required properties.", "Accessibility": "public", "Parameters": [ { - "$ref": "508" - }, - { - "$id": "528", + "$id": "524", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "529", + "$id": "525", "kind": "constant", "valueType": { - "$id": "530", + "$id": "526", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6144,7 +5924,7 @@ "SkipUrlEncoding": false }, { - "$id": "531", + "$id": "527", "Name": "body", "NameInRequest": "body", "Type": { @@ -6163,7 +5943,7 @@ ], "Responses": [ { - "$id": "532", + "$id": "528", "StatusCodes": [ 204 ], @@ -6187,12 +5967,40 @@ } ], "Protocol": { - "$id": "533" + "$id": "529" }, "Parent": "OptionalClient", "Parameters": [ { - "$ref": "508" + "$id": "530", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "531", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "532", + "Type": { + "$id": "533", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/property/value-types/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/property/value-types/tspCodeModel.json index ad6bf7fc6f5..cd41538a220 100644 --- a/test/CadlRanchProjectsNonAzure/type/property/value-types/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/property/value-types/tspCodeModel.json @@ -1414,44 +1414,13 @@ "Parameters": [ { "$id": "142", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "143", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "144", - "Type": { - "$id": "145", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "146", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "147", + "$id": "143", "kind": "constant", "valueType": { - "$id": "148", + "$id": "144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1473,7 +1442,7 @@ ], "Responses": [ { - "$id": "149", + "$id": "145", "StatusCodes": [ 200 ], @@ -1499,25 +1468,22 @@ "Decorators": [] }, { - "$id": "150", + "$id": "146", "Name": "put", "ResourceName": "Boolean", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "142" - }, - { - "$id": "151", + "$id": "147", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "152", + "$id": "148", "kind": "constant", "valueType": { - "$id": "153", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1537,7 +1503,7 @@ "SkipUrlEncoding": false }, { - "$id": "154", + "$id": "150", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -1557,7 +1523,7 @@ ], "Responses": [ { - "$id": "155", + "$id": "151", "StatusCodes": [ 204 ], @@ -1581,12 +1547,40 @@ } ], "Protocol": { - "$id": "156" + "$id": "152" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "142" + "$id": "153", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "154", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "155", + "Type": { + "$id": "156", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1604,44 +1598,13 @@ "Parameters": [ { "$id": "159", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "160", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "161", - "Type": { - "$id": "162", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "163", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "164", + "$id": "160", "kind": "constant", "valueType": { - "$id": "165", + "$id": "161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1663,7 +1626,7 @@ ], "Responses": [ { - "$id": "166", + "$id": "162", "StatusCodes": [ 200 ], @@ -1689,25 +1652,22 @@ "Decorators": [] }, { - "$id": "167", + "$id": "163", "Name": "put", "ResourceName": "String", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "159" - }, - { - "$id": "168", + "$id": "164", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "169", + "$id": "165", "kind": "constant", "valueType": { - "$id": "170", + "$id": "166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1727,7 +1687,7 @@ "SkipUrlEncoding": false }, { - "$id": "171", + "$id": "167", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -1747,7 +1707,7 @@ ], "Responses": [ { - "$id": "172", + "$id": "168", "StatusCodes": [ 204 ], @@ -1771,12 +1731,40 @@ } ], "Protocol": { - "$id": "173" + "$id": "169" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "159" + "$id": "170", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "171", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "172", + "Type": { + "$id": "173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1794,44 +1782,13 @@ "Parameters": [ { "$id": "176", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "177", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "178", - "Type": { - "$id": "179", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "180", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "181", + "$id": "177", "kind": "constant", "valueType": { - "$id": "182", + "$id": "178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1853,7 +1810,7 @@ ], "Responses": [ { - "$id": "183", + "$id": "179", "StatusCodes": [ 200 ], @@ -1879,25 +1836,22 @@ "Decorators": [] }, { - "$id": "184", + "$id": "180", "Name": "put", "ResourceName": "Bytes", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "176" - }, - { - "$id": "185", + "$id": "181", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "186", + "$id": "182", "kind": "constant", "valueType": { - "$id": "187", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1917,7 +1871,7 @@ "SkipUrlEncoding": false }, { - "$id": "188", + "$id": "184", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -1937,7 +1891,7 @@ ], "Responses": [ { - "$id": "189", + "$id": "185", "StatusCodes": [ 204 ], @@ -1961,12 +1915,40 @@ } ], "Protocol": { - "$id": "190" + "$id": "186" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "176" + "$id": "187", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "188", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "189", + "Type": { + "$id": "190", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1984,44 +1966,13 @@ "Parameters": [ { "$id": "193", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "194", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "195", - "Type": { - "$id": "196", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "197", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "198", + "$id": "194", "kind": "constant", "valueType": { - "$id": "199", + "$id": "195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2043,7 +1994,7 @@ ], "Responses": [ { - "$id": "200", + "$id": "196", "StatusCodes": [ 200 ], @@ -2069,25 +2020,22 @@ "Decorators": [] }, { - "$id": "201", + "$id": "197", "Name": "put", "ResourceName": "Int", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "193" - }, - { - "$id": "202", + "$id": "198", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "203", + "$id": "199", "kind": "constant", "valueType": { - "$id": "204", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2107,7 +2055,7 @@ "SkipUrlEncoding": false }, { - "$id": "205", + "$id": "201", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2127,7 +2075,7 @@ ], "Responses": [ { - "$id": "206", + "$id": "202", "StatusCodes": [ 204 ], @@ -2151,12 +2099,40 @@ } ], "Protocol": { - "$id": "207" + "$id": "203" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "193" + "$id": "204", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "205", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "206", + "Type": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2174,44 +2150,13 @@ "Parameters": [ { "$id": "210", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "211", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "212", - "Type": { - "$id": "213", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "214", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "215", + "$id": "211", "kind": "constant", "valueType": { - "$id": "216", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2233,7 +2178,7 @@ ], "Responses": [ { - "$id": "217", + "$id": "213", "StatusCodes": [ 200 ], @@ -2259,25 +2204,22 @@ "Decorators": [] }, { - "$id": "218", + "$id": "214", "Name": "put", "ResourceName": "Float", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "210" - }, - { - "$id": "219", + "$id": "215", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "220", + "$id": "216", "kind": "constant", "valueType": { - "$id": "221", + "$id": "217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2297,7 +2239,7 @@ "SkipUrlEncoding": false }, { - "$id": "222", + "$id": "218", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2317,7 +2259,7 @@ ], "Responses": [ { - "$id": "223", + "$id": "219", "StatusCodes": [ 204 ], @@ -2341,12 +2283,40 @@ } ], "Protocol": { - "$id": "224" + "$id": "220" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "210" + "$id": "221", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "222", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "223", + "Type": { + "$id": "224", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2364,44 +2334,13 @@ "Parameters": [ { "$id": "227", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "228", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "229", - "Type": { - "$id": "230", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "231", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "232", + "$id": "228", "kind": "constant", "valueType": { - "$id": "233", + "$id": "229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2423,7 +2362,7 @@ ], "Responses": [ { - "$id": "234", + "$id": "230", "StatusCodes": [ 200 ], @@ -2449,25 +2388,22 @@ "Decorators": [] }, { - "$id": "235", + "$id": "231", "Name": "put", "ResourceName": "Decimal", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "227" - }, - { - "$id": "236", + "$id": "232", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "237", + "$id": "233", "kind": "constant", "valueType": { - "$id": "238", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2487,7 +2423,7 @@ "SkipUrlEncoding": false }, { - "$id": "239", + "$id": "235", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2507,7 +2443,7 @@ ], "Responses": [ { - "$id": "240", + "$id": "236", "StatusCodes": [ 204 ], @@ -2531,12 +2467,40 @@ } ], "Protocol": { - "$id": "241" + "$id": "237" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "227" + "$id": "238", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "239", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "240", + "Type": { + "$id": "241", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2554,44 +2518,13 @@ "Parameters": [ { "$id": "244", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", + "Name": "accept", + "NameInRequest": "Accept", "Type": { "$id": "245", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "246", - "Type": { - "$id": "247", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "248", - "Name": "accept", - "NameInRequest": "Accept", - "Type": { - "$id": "249", "kind": "constant", "valueType": { - "$id": "250", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2613,7 +2546,7 @@ ], "Responses": [ { - "$id": "251", + "$id": "247", "StatusCodes": [ 200 ], @@ -2639,25 +2572,22 @@ "Decorators": [] }, { - "$id": "252", + "$id": "248", "Name": "put", "ResourceName": "Decimal128", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "244" - }, - { - "$id": "253", + "$id": "249", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "254", + "$id": "250", "kind": "constant", "valueType": { - "$id": "255", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2677,7 +2607,7 @@ "SkipUrlEncoding": false }, { - "$id": "256", + "$id": "252", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2697,7 +2627,7 @@ ], "Responses": [ { - "$id": "257", + "$id": "253", "StatusCodes": [ 204 ], @@ -2721,12 +2651,40 @@ } ], "Protocol": { - "$id": "258" + "$id": "254" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "244" + "$id": "255", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "256", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "257", + "Type": { + "$id": "258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2744,44 +2702,13 @@ "Parameters": [ { "$id": "261", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "262", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "263", - "Type": { - "$id": "264", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "265", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "266", + "$id": "262", "kind": "constant", "valueType": { - "$id": "267", + "$id": "263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2803,7 +2730,7 @@ ], "Responses": [ { - "$id": "268", + "$id": "264", "StatusCodes": [ 200 ], @@ -2829,25 +2756,22 @@ "Decorators": [] }, { - "$id": "269", + "$id": "265", "Name": "put", "ResourceName": "Datetime", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "261" - }, - { - "$id": "270", + "$id": "266", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "271", + "$id": "267", "kind": "constant", "valueType": { - "$id": "272", + "$id": "268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2867,7 +2791,7 @@ "SkipUrlEncoding": false }, { - "$id": "273", + "$id": "269", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -2887,7 +2811,7 @@ ], "Responses": [ { - "$id": "274", + "$id": "270", "StatusCodes": [ 204 ], @@ -2911,12 +2835,40 @@ } ], "Protocol": { - "$id": "275" + "$id": "271" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "261" + "$id": "272", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "273", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "274", + "Type": { + "$id": "275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2934,44 +2886,13 @@ "Parameters": [ { "$id": "278", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "279", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "280", - "Type": { - "$id": "281", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "282", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "283", + "$id": "279", "kind": "constant", "valueType": { - "$id": "284", + "$id": "280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2993,7 +2914,7 @@ ], "Responses": [ { - "$id": "285", + "$id": "281", "StatusCodes": [ 200 ], @@ -3019,25 +2940,22 @@ "Decorators": [] }, { - "$id": "286", + "$id": "282", "Name": "put", "ResourceName": "Duration", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "278" - }, - { - "$id": "287", + "$id": "283", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "288", + "$id": "284", "kind": "constant", "valueType": { - "$id": "289", + "$id": "285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3057,7 +2975,7 @@ "SkipUrlEncoding": false }, { - "$id": "290", + "$id": "286", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3077,7 +2995,7 @@ ], "Responses": [ { - "$id": "291", + "$id": "287", "StatusCodes": [ 204 ], @@ -3101,12 +3019,40 @@ } ], "Protocol": { - "$id": "292" + "$id": "288" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "278" + "$id": "289", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "290", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "291", + "Type": { + "$id": "292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3124,44 +3070,13 @@ "Parameters": [ { "$id": "295", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "296", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "297", - "Type": { - "$id": "298", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "299", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "300", + "$id": "296", "kind": "constant", "valueType": { - "$id": "301", + "$id": "297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3183,7 +3098,7 @@ ], "Responses": [ { - "$id": "302", + "$id": "298", "StatusCodes": [ 200 ], @@ -3209,25 +3124,22 @@ "Decorators": [] }, { - "$id": "303", + "$id": "299", "Name": "put", "ResourceName": "Enum", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "295" - }, - { - "$id": "304", + "$id": "300", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "305", + "$id": "301", "kind": "constant", "valueType": { - "$id": "306", + "$id": "302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3247,7 +3159,7 @@ "SkipUrlEncoding": false }, { - "$id": "307", + "$id": "303", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3267,7 +3179,7 @@ ], "Responses": [ { - "$id": "308", + "$id": "304", "StatusCodes": [ 204 ], @@ -3291,12 +3203,40 @@ } ], "Protocol": { - "$id": "309" + "$id": "305" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "295" + "$id": "306", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "307", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "308", + "Type": { + "$id": "309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3314,44 +3254,13 @@ "Parameters": [ { "$id": "312", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "313", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "314", - "Type": { - "$id": "315", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "316", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "317", + "$id": "313", "kind": "constant", "valueType": { - "$id": "318", + "$id": "314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3373,7 +3282,7 @@ ], "Responses": [ { - "$id": "319", + "$id": "315", "StatusCodes": [ 200 ], @@ -3399,25 +3308,22 @@ "Decorators": [] }, { - "$id": "320", + "$id": "316", "Name": "put", "ResourceName": "ExtensibleEnum", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "312" - }, - { - "$id": "321", + "$id": "317", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "322", + "$id": "318", "kind": "constant", "valueType": { - "$id": "323", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3437,7 +3343,7 @@ "SkipUrlEncoding": false }, { - "$id": "324", + "$id": "320", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3457,7 +3363,7 @@ ], "Responses": [ { - "$id": "325", + "$id": "321", "StatusCodes": [ 204 ], @@ -3481,12 +3387,40 @@ } ], "Protocol": { - "$id": "326" + "$id": "322" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "312" + "$id": "323", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "324", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "325", + "Type": { + "$id": "326", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3504,44 +3438,13 @@ "Parameters": [ { "$id": "329", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "330", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "331", - "Type": { - "$id": "332", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "333", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "334", + "$id": "330", "kind": "constant", "valueType": { - "$id": "335", + "$id": "331", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3563,7 +3466,7 @@ ], "Responses": [ { - "$id": "336", + "$id": "332", "StatusCodes": [ 200 ], @@ -3589,25 +3492,22 @@ "Decorators": [] }, { - "$id": "337", + "$id": "333", "Name": "put", "ResourceName": "Model", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "329" - }, - { - "$id": "338", + "$id": "334", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "339", + "$id": "335", "kind": "constant", "valueType": { - "$id": "340", + "$id": "336", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3627,7 +3527,7 @@ "SkipUrlEncoding": false }, { - "$id": "341", + "$id": "337", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3647,7 +3547,7 @@ ], "Responses": [ { - "$id": "342", + "$id": "338", "StatusCodes": [ 204 ], @@ -3671,12 +3571,40 @@ } ], "Protocol": { - "$id": "343" + "$id": "339" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "329" + "$id": "340", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "341", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "342", + "Type": { + "$id": "343", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3694,44 +3622,13 @@ "Parameters": [ { "$id": "346", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "347", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "348", - "Type": { - "$id": "349", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "350", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "351", + "$id": "347", "kind": "constant", "valueType": { - "$id": "352", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3753,7 +3650,7 @@ ], "Responses": [ { - "$id": "353", + "$id": "349", "StatusCodes": [ 200 ], @@ -3779,25 +3676,22 @@ "Decorators": [] }, { - "$id": "354", + "$id": "350", "Name": "put", "ResourceName": "CollectionsString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "346" - }, - { - "$id": "355", + "$id": "351", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "356", + "$id": "352", "kind": "constant", "valueType": { - "$id": "357", + "$id": "353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3817,7 +3711,7 @@ "SkipUrlEncoding": false }, { - "$id": "358", + "$id": "354", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -3837,7 +3731,7 @@ ], "Responses": [ { - "$id": "359", + "$id": "355", "StatusCodes": [ 204 ], @@ -3861,12 +3755,40 @@ } ], "Protocol": { - "$id": "360" + "$id": "356" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "346" + "$id": "357", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "358", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "359", + "Type": { + "$id": "360", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3884,44 +3806,13 @@ "Parameters": [ { "$id": "363", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "364", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "365", - "Type": { - "$id": "366", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "367", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "368", + "$id": "364", "kind": "constant", "valueType": { - "$id": "369", + "$id": "365", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3943,7 +3834,7 @@ ], "Responses": [ { - "$id": "370", + "$id": "366", "StatusCodes": [ 200 ], @@ -3969,25 +3860,22 @@ "Decorators": [] }, { - "$id": "371", + "$id": "367", "Name": "put", "ResourceName": "CollectionsInt", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "363" - }, - { - "$id": "372", + "$id": "368", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "373", + "$id": "369", "kind": "constant", "valueType": { - "$id": "374", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4007,7 +3895,7 @@ "SkipUrlEncoding": false }, { - "$id": "375", + "$id": "371", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4027,7 +3915,7 @@ ], "Responses": [ { - "$id": "376", + "$id": "372", "StatusCodes": [ 204 ], @@ -4051,12 +3939,40 @@ } ], "Protocol": { - "$id": "377" + "$id": "373" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "363" + "$id": "374", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "375", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "376", + "Type": { + "$id": "377", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4074,44 +3990,13 @@ "Parameters": [ { "$id": "380", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "381", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "382", - "Type": { - "$id": "383", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "384", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "385", + "$id": "381", "kind": "constant", "valueType": { - "$id": "386", + "$id": "382", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4133,7 +4018,7 @@ ], "Responses": [ { - "$id": "387", + "$id": "383", "StatusCodes": [ 200 ], @@ -4159,25 +4044,22 @@ "Decorators": [] }, { - "$id": "388", + "$id": "384", "Name": "put", "ResourceName": "CollectionsModel", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "380" - }, - { - "$id": "389", + "$id": "385", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "390", + "$id": "386", "kind": "constant", "valueType": { - "$id": "391", + "$id": "387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4197,7 +4079,7 @@ "SkipUrlEncoding": false }, { - "$id": "392", + "$id": "388", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4217,7 +4099,7 @@ ], "Responses": [ { - "$id": "393", + "$id": "389", "StatusCodes": [ 204 ], @@ -4241,12 +4123,40 @@ } ], "Protocol": { - "$id": "394" + "$id": "390" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "380" + "$id": "391", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "392", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "393", + "Type": { + "$id": "394", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4264,44 +4174,13 @@ "Parameters": [ { "$id": "397", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "398", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "399", - "Type": { - "$id": "400", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "401", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "402", + "$id": "398", "kind": "constant", "valueType": { - "$id": "403", + "$id": "399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4323,7 +4202,7 @@ ], "Responses": [ { - "$id": "404", + "$id": "400", "StatusCodes": [ 200 ], @@ -4349,25 +4228,22 @@ "Decorators": [] }, { - "$id": "405", + "$id": "401", "Name": "put", "ResourceName": "DictionaryString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "397" - }, - { - "$id": "406", + "$id": "402", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "407", + "$id": "403", "kind": "constant", "valueType": { - "$id": "408", + "$id": "404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4387,7 +4263,7 @@ "SkipUrlEncoding": false }, { - "$id": "409", + "$id": "405", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4407,7 +4283,7 @@ ], "Responses": [ { - "$id": "410", + "$id": "406", "StatusCodes": [ 204 ], @@ -4431,12 +4307,40 @@ } ], "Protocol": { - "$id": "411" + "$id": "407" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "397" + "$id": "408", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "409", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "410", + "Type": { + "$id": "411", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4454,44 +4358,13 @@ "Parameters": [ { "$id": "414", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "415", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "416", - "Type": { - "$id": "417", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "418", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "419", + "$id": "415", "kind": "constant", "valueType": { - "$id": "420", + "$id": "416", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4513,7 +4386,7 @@ ], "Responses": [ { - "$id": "421", + "$id": "417", "StatusCodes": [ 200 ], @@ -4539,25 +4412,22 @@ "Decorators": [] }, { - "$id": "422", + "$id": "418", "Name": "put", "ResourceName": "Never", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "414" - }, - { - "$id": "423", + "$id": "419", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "424", + "$id": "420", "kind": "constant", "valueType": { - "$id": "425", + "$id": "421", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4577,7 +4447,7 @@ "SkipUrlEncoding": false }, { - "$id": "426", + "$id": "422", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4597,7 +4467,7 @@ ], "Responses": [ { - "$id": "427", + "$id": "423", "StatusCodes": [ 204 ], @@ -4621,12 +4491,40 @@ } ], "Protocol": { - "$id": "428" + "$id": "424" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "414" + "$id": "425", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "426", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "427", + "Type": { + "$id": "428", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4644,44 +4542,13 @@ "Parameters": [ { "$id": "431", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "432", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "433", - "Type": { - "$id": "434", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "435", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "436", + "$id": "432", "kind": "constant", "valueType": { - "$id": "437", + "$id": "433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4703,7 +4570,7 @@ ], "Responses": [ { - "$id": "438", + "$id": "434", "StatusCodes": [ 200 ], @@ -4729,25 +4596,22 @@ "Decorators": [] }, { - "$id": "439", + "$id": "435", "Name": "put", "ResourceName": "UnknownString", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "431" - }, - { - "$id": "440", + "$id": "436", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "441", + "$id": "437", "kind": "constant", "valueType": { - "$id": "442", + "$id": "438", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4767,7 +4631,7 @@ "SkipUrlEncoding": false }, { - "$id": "443", + "$id": "439", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4787,7 +4651,7 @@ ], "Responses": [ { - "$id": "444", + "$id": "440", "StatusCodes": [ 204 ], @@ -4811,12 +4675,40 @@ } ], "Protocol": { - "$id": "445" + "$id": "441" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "431" + "$id": "442", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "443", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "444", + "Type": { + "$id": "445", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -4834,44 +4726,13 @@ "Parameters": [ { "$id": "448", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "449", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "450", - "Type": { - "$id": "451", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "452", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "453", + "$id": "449", "kind": "constant", "valueType": { - "$id": "454", + "$id": "450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4893,7 +4754,7 @@ ], "Responses": [ { - "$id": "455", + "$id": "451", "StatusCodes": [ 200 ], @@ -4919,25 +4780,22 @@ "Decorators": [] }, { - "$id": "456", + "$id": "452", "Name": "put", "ResourceName": "UnknownInt", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "448" - }, - { - "$id": "457", + "$id": "453", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "458", + "$id": "454", "kind": "constant", "valueType": { - "$id": "459", + "$id": "455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4957,7 +4815,7 @@ "SkipUrlEncoding": false }, { - "$id": "460", + "$id": "456", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -4977,7 +4835,7 @@ ], "Responses": [ { - "$id": "461", + "$id": "457", "StatusCodes": [ 204 ], @@ -5001,12 +4859,40 @@ } ], "Protocol": { - "$id": "462" + "$id": "458" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "448" + "$id": "459", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "460", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "461", + "Type": { + "$id": "462", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5024,44 +4910,13 @@ "Parameters": [ { "$id": "465", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "466", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "467", - "Type": { - "$id": "468", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "469", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "470", + "$id": "466", "kind": "constant", "valueType": { - "$id": "471", + "$id": "467", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5083,7 +4938,7 @@ ], "Responses": [ { - "$id": "472", + "$id": "468", "StatusCodes": [ 200 ], @@ -5109,25 +4964,22 @@ "Decorators": [] }, { - "$id": "473", + "$id": "469", "Name": "put", "ResourceName": "UnknownDict", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "465" - }, - { - "$id": "474", + "$id": "470", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "475", + "$id": "471", "kind": "constant", "valueType": { - "$id": "476", + "$id": "472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5147,7 +4999,7 @@ "SkipUrlEncoding": false }, { - "$id": "477", + "$id": "473", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5167,7 +5019,7 @@ ], "Responses": [ { - "$id": "478", + "$id": "474", "StatusCodes": [ 204 ], @@ -5191,12 +5043,40 @@ } ], "Protocol": { - "$id": "479" + "$id": "475" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "465" + "$id": "476", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "477", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "478", + "Type": { + "$id": "479", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5214,44 +5094,13 @@ "Parameters": [ { "$id": "482", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "483", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "484", - "Type": { - "$id": "485", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "486", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "487", + "$id": "483", "kind": "constant", "valueType": { - "$id": "488", + "$id": "484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5273,7 +5122,7 @@ ], "Responses": [ { - "$id": "489", + "$id": "485", "StatusCodes": [ 200 ], @@ -5299,25 +5148,22 @@ "Decorators": [] }, { - "$id": "490", + "$id": "486", "Name": "put", "ResourceName": "UnknownArray", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "482" - }, - { - "$id": "491", + "$id": "487", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "492", + "$id": "488", "kind": "constant", "valueType": { - "$id": "493", + "$id": "489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5337,7 +5183,7 @@ "SkipUrlEncoding": false }, { - "$id": "494", + "$id": "490", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5357,7 +5203,7 @@ ], "Responses": [ { - "$id": "495", + "$id": "491", "StatusCodes": [ 204 ], @@ -5381,12 +5227,40 @@ } ], "Protocol": { - "$id": "496" + "$id": "492" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "482" + "$id": "493", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "494", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "495", + "Type": { + "$id": "496", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5404,44 +5278,13 @@ "Parameters": [ { "$id": "499", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "500", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "501", - "Type": { - "$id": "502", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "503", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "504", + "$id": "500", "kind": "constant", "valueType": { - "$id": "505", + "$id": "501", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5463,7 +5306,7 @@ ], "Responses": [ { - "$id": "506", + "$id": "502", "StatusCodes": [ 200 ], @@ -5489,25 +5332,22 @@ "Decorators": [] }, { - "$id": "507", + "$id": "503", "Name": "put", "ResourceName": "StringLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "499" - }, - { - "$id": "508", + "$id": "504", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "509", + "$id": "505", "kind": "constant", "valueType": { - "$id": "510", + "$id": "506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5527,7 +5367,7 @@ "SkipUrlEncoding": false }, { - "$id": "511", + "$id": "507", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5547,7 +5387,7 @@ ], "Responses": [ { - "$id": "512", + "$id": "508", "StatusCodes": [ 204 ], @@ -5571,12 +5411,40 @@ } ], "Protocol": { - "$id": "513" + "$id": "509" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "499" + "$id": "510", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "511", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "512", + "Type": { + "$id": "513", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5594,44 +5462,13 @@ "Parameters": [ { "$id": "516", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "517", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "518", - "Type": { - "$id": "519", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "520", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "521", + "$id": "517", "kind": "constant", "valueType": { - "$id": "522", + "$id": "518", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5653,7 +5490,7 @@ ], "Responses": [ { - "$id": "523", + "$id": "519", "StatusCodes": [ 200 ], @@ -5679,25 +5516,22 @@ "Decorators": [] }, { - "$id": "524", + "$id": "520", "Name": "put", "ResourceName": "IntLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "516" - }, - { - "$id": "525", + "$id": "521", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "526", + "$id": "522", "kind": "constant", "valueType": { - "$id": "527", + "$id": "523", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5717,7 +5551,7 @@ "SkipUrlEncoding": false }, { - "$id": "528", + "$id": "524", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5737,7 +5571,7 @@ ], "Responses": [ { - "$id": "529", + "$id": "525", "StatusCodes": [ 204 ], @@ -5761,12 +5595,40 @@ } ], "Protocol": { - "$id": "530" + "$id": "526" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "516" + "$id": "527", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "528", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "529", + "Type": { + "$id": "530", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5784,44 +5646,13 @@ "Parameters": [ { "$id": "533", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "534", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "535", - "Type": { - "$id": "536", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "537", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "538", + "$id": "534", "kind": "constant", "valueType": { - "$id": "539", + "$id": "535", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5843,7 +5674,7 @@ ], "Responses": [ { - "$id": "540", + "$id": "536", "StatusCodes": [ 200 ], @@ -5869,25 +5700,22 @@ "Decorators": [] }, { - "$id": "541", + "$id": "537", "Name": "put", "ResourceName": "FloatLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "533" - }, - { - "$id": "542", + "$id": "538", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "543", + "$id": "539", "kind": "constant", "valueType": { - "$id": "544", + "$id": "540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5907,7 +5735,7 @@ "SkipUrlEncoding": false }, { - "$id": "545", + "$id": "541", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -5927,7 +5755,7 @@ ], "Responses": [ { - "$id": "546", + "$id": "542", "StatusCodes": [ 204 ], @@ -5951,12 +5779,40 @@ } ], "Protocol": { - "$id": "547" + "$id": "543" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "533" + "$id": "544", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "545", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "546", + "Type": { + "$id": "547", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -5974,44 +5830,13 @@ "Parameters": [ { "$id": "550", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "551", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "552", - "Type": { - "$id": "553", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "554", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "555", + "$id": "551", "kind": "constant", "valueType": { - "$id": "556", + "$id": "552", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6033,7 +5858,7 @@ ], "Responses": [ { - "$id": "557", + "$id": "553", "StatusCodes": [ 200 ], @@ -6059,25 +5884,22 @@ "Decorators": [] }, { - "$id": "558", + "$id": "554", "Name": "put", "ResourceName": "BooleanLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "550" - }, - { - "$id": "559", + "$id": "555", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "560", + "$id": "556", "kind": "constant", "valueType": { - "$id": "561", + "$id": "557", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6097,7 +5919,7 @@ "SkipUrlEncoding": false }, { - "$id": "562", + "$id": "558", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6117,7 +5939,7 @@ ], "Responses": [ { - "$id": "563", + "$id": "559", "StatusCodes": [ 204 ], @@ -6141,12 +5963,40 @@ } ], "Protocol": { - "$id": "564" + "$id": "560" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "550" + "$id": "561", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "562", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "563", + "Type": { + "$id": "564", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6164,44 +6014,13 @@ "Parameters": [ { "$id": "567", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "568", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "569", - "Type": { - "$id": "570", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "571", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "572", + "$id": "568", "kind": "constant", "valueType": { - "$id": "573", + "$id": "569", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6223,7 +6042,7 @@ ], "Responses": [ { - "$id": "574", + "$id": "570", "StatusCodes": [ 200 ], @@ -6249,25 +6068,22 @@ "Decorators": [] }, { - "$id": "575", + "$id": "571", "Name": "put", "ResourceName": "UnionStringLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "567" - }, - { - "$id": "576", + "$id": "572", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "577", + "$id": "573", "kind": "constant", "valueType": { - "$id": "578", + "$id": "574", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6287,7 +6103,7 @@ "SkipUrlEncoding": false }, { - "$id": "579", + "$id": "575", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6307,7 +6123,7 @@ ], "Responses": [ { - "$id": "580", + "$id": "576", "StatusCodes": [ 204 ], @@ -6331,12 +6147,40 @@ } ], "Protocol": { - "$id": "581" + "$id": "577" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "567" + "$id": "578", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "579", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "580", + "Type": { + "$id": "581", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6354,44 +6198,13 @@ "Parameters": [ { "$id": "584", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "585", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "586", - "Type": { - "$id": "587", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "588", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "589", + "$id": "585", "kind": "constant", "valueType": { - "$id": "590", + "$id": "586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6413,7 +6226,7 @@ ], "Responses": [ { - "$id": "591", + "$id": "587", "StatusCodes": [ 200 ], @@ -6439,25 +6252,22 @@ "Decorators": [] }, { - "$id": "592", + "$id": "588", "Name": "put", "ResourceName": "UnionIntLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "584" - }, - { - "$id": "593", + "$id": "589", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "594", + "$id": "590", "kind": "constant", "valueType": { - "$id": "595", + "$id": "591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6477,7 +6287,7 @@ "SkipUrlEncoding": false }, { - "$id": "596", + "$id": "592", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6497,7 +6307,7 @@ ], "Responses": [ { - "$id": "597", + "$id": "593", "StatusCodes": [ 204 ], @@ -6521,12 +6331,40 @@ } ], "Protocol": { - "$id": "598" + "$id": "594" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "584" + "$id": "595", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "596", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "597", + "Type": { + "$id": "598", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6544,44 +6382,13 @@ "Parameters": [ { "$id": "601", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "602", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "603", - "Type": { - "$id": "604", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "605", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "606", + "$id": "602", "kind": "constant", "valueType": { - "$id": "607", + "$id": "603", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6603,7 +6410,7 @@ ], "Responses": [ { - "$id": "608", + "$id": "604", "StatusCodes": [ 200 ], @@ -6629,25 +6436,22 @@ "Decorators": [] }, { - "$id": "609", + "$id": "605", "Name": "put", "ResourceName": "UnionFloatLiteral", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "601" - }, - { - "$id": "610", + "$id": "606", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "611", + "$id": "607", "kind": "constant", "valueType": { - "$id": "612", + "$id": "608", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6667,7 +6471,7 @@ "SkipUrlEncoding": false }, { - "$id": "613", + "$id": "609", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6687,7 +6491,7 @@ ], "Responses": [ { - "$id": "614", + "$id": "610", "StatusCodes": [ 204 ], @@ -6711,12 +6515,40 @@ } ], "Protocol": { - "$id": "615" + "$id": "611" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "601" + "$id": "612", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "613", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "614", + "Type": { + "$id": "615", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -6734,44 +6566,13 @@ "Parameters": [ { "$id": "618", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "619", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "620", - "Type": { - "$id": "621", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "622", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "623", + "$id": "619", "kind": "constant", "valueType": { - "$id": "624", + "$id": "620", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6793,7 +6594,7 @@ ], "Responses": [ { - "$id": "625", + "$id": "621", "StatusCodes": [ 200 ], @@ -6819,25 +6620,22 @@ "Decorators": [] }, { - "$id": "626", + "$id": "622", "Name": "put", "ResourceName": "UnionEnumValue", "Description": "Put operation", "Accessibility": "public", "Parameters": [ { - "$ref": "618" - }, - { - "$id": "627", + "$id": "623", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "628", + "$id": "624", "kind": "constant", "valueType": { - "$id": "629", + "$id": "625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6857,7 +6655,7 @@ "SkipUrlEncoding": false }, { - "$id": "630", + "$id": "626", "Name": "body", "NameInRequest": "body", "Description": "body", @@ -6877,7 +6675,7 @@ ], "Responses": [ { - "$id": "631", + "$id": "627", "StatusCodes": [ 204 ], @@ -6901,12 +6699,40 @@ } ], "Protocol": { - "$id": "632" + "$id": "628" }, "Parent": "ValueTypesClient", "Parameters": [ { - "$ref": "618" + "$id": "629", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "630", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "631", + "Type": { + "$id": "632", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/scalar/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/scalar/tspCodeModel.json index a0333f12eb0..84a443b23d6 100644 --- a/test/CadlRanchProjectsNonAzure/type/scalar/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/scalar/tspCodeModel.json @@ -60,44 +60,13 @@ "Parameters": [ { "$id": "10", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "11", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "12", - "Type": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "14", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "15", + "$id": "11", "kind": "constant", "valueType": { - "$id": "16", + "$id": "12", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119,12 +88,12 @@ ], "Responses": [ { - "$id": "17", + "$id": "13", "StatusCodes": [ 200 ], "BodyType": { - "$id": "18", + "$id": "14", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149,25 +118,22 @@ "Decorators": [] }, { - "$id": "19", + "$id": "15", "Name": "put", "ResourceName": "String", "Description": "put string value", "Accessibility": "public", "Parameters": [ { - "$ref": "10" - }, - { - "$id": "20", + "$id": "16", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "21", + "$id": "17", "kind": "constant", "valueType": { - "$id": "22", + "$id": "18", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -187,12 +153,12 @@ "SkipUrlEncoding": false }, { - "$id": "23", + "$id": "19", "Name": "body", "NameInRequest": "body", "Description": "_", "Type": { - "$id": "24", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -211,7 +177,7 @@ ], "Responses": [ { - "$id": "25", + "$id": "21", "StatusCodes": [ 204 ], @@ -235,12 +201,40 @@ } ], "Protocol": { - "$id": "26" + "$id": "22" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "10" + "$id": "23", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "24", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "25", + "Type": { + "$id": "26", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -258,44 +252,13 @@ "Parameters": [ { "$id": "29", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "30", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "31", - "Type": { - "$id": "32", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "33", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "34", + "$id": "30", "kind": "constant", "valueType": { - "$id": "35", + "$id": "31", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -317,12 +280,12 @@ ], "Responses": [ { - "$id": "36", + "$id": "32", "StatusCodes": [ 200 ], "BodyType": { - "$id": "37", + "$id": "33", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -347,25 +310,22 @@ "Decorators": [] }, { - "$id": "38", + "$id": "34", "Name": "put", "ResourceName": "Boolean", "Description": "put boolean value", "Accessibility": "public", "Parameters": [ { - "$ref": "29" - }, - { - "$id": "39", + "$id": "35", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "40", + "$id": "36", "kind": "constant", "valueType": { - "$id": "41", + "$id": "37", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -385,12 +345,12 @@ "SkipUrlEncoding": false }, { - "$id": "42", + "$id": "38", "Name": "body", "NameInRequest": "body", "Description": "_", "Type": { - "$id": "43", + "$id": "39", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -409,7 +369,7 @@ ], "Responses": [ { - "$id": "44", + "$id": "40", "StatusCodes": [ 204 ], @@ -433,12 +393,40 @@ } ], "Protocol": { - "$id": "45" + "$id": "41" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "29" + "$id": "42", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "43", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "44", + "Type": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -456,44 +444,13 @@ "Parameters": [ { "$id": "48", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "49", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "50", - "Type": { - "$id": "51", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "52", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "53", + "$id": "49", "kind": "constant", "valueType": { - "$id": "54", + "$id": "50", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -515,12 +472,12 @@ ], "Responses": [ { - "$id": "55", + "$id": "51", "StatusCodes": [ 200 ], "BodyType": { - "$id": "56", + "$id": "52", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -545,25 +502,22 @@ "Decorators": [] }, { - "$id": "57", + "$id": "53", "Name": "put", "ResourceName": "Unknown", "Description": "put unknown value", "Accessibility": "public", "Parameters": [ { - "$ref": "48" - }, - { - "$id": "58", + "$id": "54", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "59", + "$id": "55", "kind": "constant", "valueType": { - "$id": "60", + "$id": "56", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -583,12 +537,12 @@ "SkipUrlEncoding": false }, { - "$id": "61", + "$id": "57", "Name": "body", "NameInRequest": "body", "Description": "_", "Type": { - "$id": "62", + "$id": "58", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -607,7 +561,7 @@ ], "Responses": [ { - "$id": "63", + "$id": "59", "StatusCodes": [ 204 ], @@ -631,12 +585,40 @@ } ], "Protocol": { - "$id": "64" + "$id": "60" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "48" + "$id": "61", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "62", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "63", + "Type": { + "$id": "64", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -654,44 +636,13 @@ "Parameters": [ { "$id": "67", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "68", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "69", - "Type": { - "$id": "70", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "71", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "72", + "$id": "68", "kind": "constant", "valueType": { - "$id": "73", + "$id": "69", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -713,12 +664,12 @@ ], "Responses": [ { - "$id": "74", + "$id": "70", "StatusCodes": [ 200 ], "BodyType": { - "$id": "75", + "$id": "71", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -743,24 +694,21 @@ "Decorators": [] }, { - "$id": "76", + "$id": "72", "Name": "requestBody", "ResourceName": "DecimalType", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "77", + "$id": "73", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "78", + "$id": "74", "kind": "constant", "valueType": { - "$id": "79", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -780,11 +728,11 @@ "SkipUrlEncoding": false }, { - "$id": "80", + "$id": "76", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "81", + "$id": "77", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -803,7 +751,7 @@ ], "Responses": [ { - "$id": "82", + "$id": "78", "StatusCodes": [ 204 ], @@ -826,20 +774,17 @@ "Decorators": [] }, { - "$id": "83", + "$id": "79", "Name": "requestParameter", "ResourceName": "DecimalType", "Accessibility": "public", "Parameters": [ { - "$ref": "67" - }, - { - "$id": "84", + "$id": "80", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "85", + "$id": "81", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -858,7 +803,7 @@ ], "Responses": [ { - "$id": "86", + "$id": "82", "StatusCodes": [ 204 ], @@ -879,12 +824,40 @@ } ], "Protocol": { - "$id": "87" + "$id": "83" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "67" + "$id": "84", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "85", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "86", + "Type": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -902,44 +875,13 @@ "Parameters": [ { "$id": "90", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "91", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "92", - "Type": { - "$id": "93", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "94", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "95", + "$id": "91", "kind": "constant", "valueType": { - "$id": "96", + "$id": "92", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -961,12 +903,12 @@ ], "Responses": [ { - "$id": "97", + "$id": "93", "StatusCodes": [ 200 ], "BodyType": { - "$id": "98", + "$id": "94", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -991,24 +933,21 @@ "Decorators": [] }, { - "$id": "99", + "$id": "95", "Name": "requestBody", "ResourceName": "Decimal128Type", "Accessibility": "public", "Parameters": [ { - "$ref": "90" - }, - { - "$id": "100", + "$id": "96", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "101", + "$id": "97", "kind": "constant", "valueType": { - "$id": "102", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1028,11 +967,11 @@ "SkipUrlEncoding": false }, { - "$id": "103", + "$id": "99", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "104", + "$id": "100", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1051,7 +990,7 @@ ], "Responses": [ { - "$id": "105", + "$id": "101", "StatusCodes": [ 204 ], @@ -1074,20 +1013,17 @@ "Decorators": [] }, { - "$id": "106", + "$id": "102", "Name": "requestParameter", "ResourceName": "Decimal128Type", "Accessibility": "public", "Parameters": [ { - "$ref": "90" - }, - { - "$id": "107", + "$id": "103", "Name": "value", "NameInRequest": "value", "Type": { - "$id": "108", + "$id": "104", "kind": "decimal128", "name": "decimal128", "crossLanguageDefinitionId": "TypeSpec.decimal128", @@ -1106,7 +1042,7 @@ ], "Responses": [ { - "$id": "109", + "$id": "105", "StatusCodes": [ 204 ], @@ -1127,12 +1063,40 @@ } ], "Protocol": { - "$id": "110" + "$id": "106" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "90" + "$id": "107", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "108", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "109", + "Type": { + "$id": "110", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1150,44 +1114,13 @@ "Parameters": [ { "$id": "113", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "114", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "115", - "Type": { - "$id": "116", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "117", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "118", + "$id": "114", "kind": "constant", "valueType": { - "$id": "119", + "$id": "115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1209,16 +1142,16 @@ ], "Responses": [ { - "$id": "120", + "$id": "116", "StatusCodes": [ 200 ], "BodyType": { - "$id": "121", + "$id": "117", "kind": "array", "name": "Array", "valueType": { - "$id": "122", + "$id": "118", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1246,24 +1179,21 @@ "Decorators": [] }, { - "$id": "123", + "$id": "119", "Name": "verify", "ResourceName": "DecimalVerify", "Accessibility": "public", "Parameters": [ { - "$ref": "113" - }, - { - "$id": "124", + "$id": "120", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "125", + "$id": "121", "kind": "constant", "valueType": { - "$id": "126", + "$id": "122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1283,11 +1213,11 @@ "SkipUrlEncoding": false }, { - "$id": "127", + "$id": "123", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "128", + "$id": "124", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1306,7 +1236,7 @@ ], "Responses": [ { - "$id": "129", + "$id": "125", "StatusCodes": [ 204 ], @@ -1330,12 +1260,40 @@ } ], "Protocol": { - "$id": "130" + "$id": "126" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "113" + "$id": "127", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "128", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "129", + "Type": { + "$id": "130", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1353,44 +1311,13 @@ "Parameters": [ { "$id": "133", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "134", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "135", - "Type": { - "$id": "136", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "137", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "138", + "$id": "134", "kind": "constant", "valueType": { - "$id": "139", + "$id": "135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1412,16 +1339,16 @@ ], "Responses": [ { - "$id": "140", + "$id": "136", "StatusCodes": [ 200 ], "BodyType": { - "$id": "141", + "$id": "137", "kind": "array", "name": "Array", "valueType": { - "$id": "142", + "$id": "138", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1449,24 +1376,21 @@ "Decorators": [] }, { - "$id": "143", + "$id": "139", "Name": "verify", "ResourceName": "Decimal128Verify", "Accessibility": "public", "Parameters": [ { - "$ref": "133" - }, - { - "$id": "144", + "$id": "140", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "145", + "$id": "141", "kind": "constant", "valueType": { - "$id": "146", + "$id": "142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1486,11 +1410,11 @@ "SkipUrlEncoding": false }, { - "$id": "147", + "$id": "143", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "148", + "$id": "144", "kind": "decimal", "name": "decimal", "crossLanguageDefinitionId": "TypeSpec.decimal", @@ -1509,7 +1433,7 @@ ], "Responses": [ { - "$id": "149", + "$id": "145", "StatusCodes": [ 204 ], @@ -1533,12 +1457,40 @@ } ], "Protocol": { - "$id": "150" + "$id": "146" }, "Parent": "ScalarClient", "Parameters": [ { - "$ref": "133" + "$id": "147", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "148", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "149", + "Type": { + "$id": "150", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/CadlRanchProjectsNonAzure/type/union/tspCodeModel.json b/test/CadlRanchProjectsNonAzure/type/union/tspCodeModel.json index 14640ed17f7..bc9f0381888 100644 --- a/test/CadlRanchProjectsNonAzure/type/union/tspCodeModel.json +++ b/test/CadlRanchProjectsNonAzure/type/union/tspCodeModel.json @@ -1809,44 +1809,13 @@ "Parameters": [ { "$id": "197", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "198", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "199", - "Type": { - "$id": "200", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "201", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "202", + "$id": "198", "kind": "constant", "valueType": { - "$id": "203", + "$id": "199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1868,7 +1837,7 @@ ], "Responses": [ { - "$id": "204", + "$id": "200", "StatusCodes": [ 200 ], @@ -1894,24 +1863,21 @@ "Decorators": [] }, { - "$id": "205", + "$id": "201", "Name": "send", "ResourceName": "StringsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "197" - }, - { - "$id": "206", + "$id": "202", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "207", + "$id": "203", "kind": "constant", "valueType": { - "$id": "208", + "$id": "204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1931,7 +1897,7 @@ "SkipUrlEncoding": false }, { - "$id": "209", + "$id": "205", "Name": "sendRequest9", "NameInRequest": "sendRequest9", "Type": { @@ -1950,7 +1916,7 @@ ], "Responses": [ { - "$id": "210", + "$id": "206", "StatusCodes": [ 204 ], @@ -1974,12 +1940,40 @@ } ], "Protocol": { - "$id": "211" + "$id": "207" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "197" + "$id": "208", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "209", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "210", + "Type": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -1997,44 +1991,13 @@ "Parameters": [ { "$id": "214", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "215", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "216", - "Type": { - "$id": "217", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "218", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "219", + "$id": "215", "kind": "constant", "valueType": { - "$id": "220", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2056,7 +2019,7 @@ ], "Responses": [ { - "$id": "221", + "$id": "217", "StatusCodes": [ 200 ], @@ -2082,24 +2045,21 @@ "Decorators": [] }, { - "$id": "222", + "$id": "218", "Name": "send", "ResourceName": "StringExtensible", "Accessibility": "public", "Parameters": [ { - "$ref": "214" - }, - { - "$id": "223", + "$id": "219", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "224", + "$id": "220", "kind": "constant", "valueType": { - "$id": "225", + "$id": "221", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2119,7 +2079,7 @@ "SkipUrlEncoding": false }, { - "$id": "226", + "$id": "222", "Name": "sendRequest8", "NameInRequest": "sendRequest8", "Type": { @@ -2138,7 +2098,7 @@ ], "Responses": [ { - "$id": "227", + "$id": "223", "StatusCodes": [ 204 ], @@ -2162,12 +2122,40 @@ } ], "Protocol": { - "$id": "228" + "$id": "224" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "214" + "$id": "225", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "226", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "227", + "Type": { + "$id": "228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2185,44 +2173,13 @@ "Parameters": [ { "$id": "231", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "232", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "233", - "Type": { - "$id": "234", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "235", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "236", + "$id": "232", "kind": "constant", "valueType": { - "$id": "237", + "$id": "233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2244,7 +2201,7 @@ ], "Responses": [ { - "$id": "238", + "$id": "234", "StatusCodes": [ 200 ], @@ -2270,24 +2227,21 @@ "Decorators": [] }, { - "$id": "239", + "$id": "235", "Name": "send", "ResourceName": "StringExtensibleNamed", "Accessibility": "public", "Parameters": [ { - "$ref": "231" - }, - { - "$id": "240", + "$id": "236", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "241", + "$id": "237", "kind": "constant", "valueType": { - "$id": "242", + "$id": "238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2307,7 +2261,7 @@ "SkipUrlEncoding": false }, { - "$id": "243", + "$id": "239", "Name": "sendRequest7", "NameInRequest": "sendRequest7", "Type": { @@ -2326,7 +2280,7 @@ ], "Responses": [ { - "$id": "244", + "$id": "240", "StatusCodes": [ 204 ], @@ -2350,12 +2304,40 @@ } ], "Protocol": { - "$id": "245" + "$id": "241" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "231" + "$id": "242", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "243", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "244", + "Type": { + "$id": "245", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2373,44 +2355,13 @@ "Parameters": [ { "$id": "248", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "249", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "250", - "Type": { - "$id": "251", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "252", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "253", + "$id": "249", "kind": "constant", "valueType": { - "$id": "254", + "$id": "250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2432,7 +2383,7 @@ ], "Responses": [ { - "$id": "255", + "$id": "251", "StatusCodes": [ 200 ], @@ -2458,24 +2409,21 @@ "Decorators": [] }, { - "$id": "256", + "$id": "252", "Name": "send", "ResourceName": "IntsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "248" - }, - { - "$id": "257", + "$id": "253", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "258", + "$id": "254", "kind": "constant", "valueType": { - "$id": "259", + "$id": "255", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2495,7 +2443,7 @@ "SkipUrlEncoding": false }, { - "$id": "260", + "$id": "256", "Name": "sendRequest6", "NameInRequest": "sendRequest6", "Type": { @@ -2514,7 +2462,7 @@ ], "Responses": [ { - "$id": "261", + "$id": "257", "StatusCodes": [ 204 ], @@ -2538,12 +2486,40 @@ } ], "Protocol": { - "$id": "262" + "$id": "258" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "248" + "$id": "259", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "260", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "261", + "Type": { + "$id": "262", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2561,44 +2537,13 @@ "Parameters": [ { "$id": "265", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "266", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "267", - "Type": { - "$id": "268", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "269", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "270", + "$id": "266", "kind": "constant", "valueType": { - "$id": "271", + "$id": "267", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2620,7 +2565,7 @@ ], "Responses": [ { - "$id": "272", + "$id": "268", "StatusCodes": [ 200 ], @@ -2646,24 +2591,21 @@ "Decorators": [] }, { - "$id": "273", + "$id": "269", "Name": "send", "ResourceName": "FloatsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "265" - }, - { - "$id": "274", + "$id": "270", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "275", + "$id": "271", "kind": "constant", "valueType": { - "$id": "276", + "$id": "272", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2683,7 +2625,7 @@ "SkipUrlEncoding": false }, { - "$id": "277", + "$id": "273", "Name": "sendRequest5", "NameInRequest": "sendRequest5", "Type": { @@ -2702,7 +2644,7 @@ ], "Responses": [ { - "$id": "278", + "$id": "274", "StatusCodes": [ 204 ], @@ -2726,12 +2668,40 @@ } ], "Protocol": { - "$id": "279" + "$id": "275" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "265" + "$id": "276", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "277", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "278", + "Type": { + "$id": "279", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2749,44 +2719,13 @@ "Parameters": [ { "$id": "282", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "283", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "284", - "Type": { - "$id": "285", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "286", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "287", + "$id": "283", "kind": "constant", "valueType": { - "$id": "288", + "$id": "284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2808,7 +2747,7 @@ ], "Responses": [ { - "$id": "289", + "$id": "285", "StatusCodes": [ 200 ], @@ -2834,24 +2773,21 @@ "Decorators": [] }, { - "$id": "290", + "$id": "286", "Name": "send", "ResourceName": "ModelsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "282" - }, - { - "$id": "291", + "$id": "287", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "292", + "$id": "288", "kind": "constant", "valueType": { - "$id": "293", + "$id": "289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2871,7 +2807,7 @@ "SkipUrlEncoding": false }, { - "$id": "294", + "$id": "290", "Name": "sendRequest4", "NameInRequest": "sendRequest4", "Type": { @@ -2890,7 +2826,7 @@ ], "Responses": [ { - "$id": "295", + "$id": "291", "StatusCodes": [ 204 ], @@ -2914,12 +2850,40 @@ } ], "Protocol": { - "$id": "296" + "$id": "292" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "282" + "$id": "293", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "294", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "295", + "Type": { + "$id": "296", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -2937,44 +2901,13 @@ "Parameters": [ { "$id": "299", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "300", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "301", - "Type": { - "$id": "302", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "303", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "304", + "$id": "300", "kind": "constant", "valueType": { - "$id": "305", + "$id": "301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2996,7 +2929,7 @@ ], "Responses": [ { - "$id": "306", + "$id": "302", "StatusCodes": [ 200 ], @@ -3022,24 +2955,21 @@ "Decorators": [] }, { - "$id": "307", + "$id": "303", "Name": "send", "ResourceName": "EnumsOnly", "Accessibility": "public", "Parameters": [ { - "$ref": "299" - }, - { - "$id": "308", + "$id": "304", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "309", + "$id": "305", "kind": "constant", "valueType": { - "$id": "310", + "$id": "306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3059,7 +2989,7 @@ "SkipUrlEncoding": false }, { - "$id": "311", + "$id": "307", "Name": "sendRequest3", "NameInRequest": "sendRequest3", "Type": { @@ -3078,7 +3008,7 @@ ], "Responses": [ { - "$id": "312", + "$id": "308", "StatusCodes": [ 204 ], @@ -3102,12 +3032,40 @@ } ], "Protocol": { - "$id": "313" + "$id": "309" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "299" + "$id": "310", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "311", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "312", + "Type": { + "$id": "313", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3125,44 +3083,13 @@ "Parameters": [ { "$id": "316", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "317", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "318", - "Type": { - "$id": "319", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "320", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "321", + "$id": "317", "kind": "constant", "valueType": { - "$id": "322", + "$id": "318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3184,7 +3111,7 @@ ], "Responses": [ { - "$id": "323", + "$id": "319", "StatusCodes": [ 200 ], @@ -3210,24 +3137,21 @@ "Decorators": [] }, { - "$id": "324", + "$id": "320", "Name": "send", "ResourceName": "StringAndArray", "Accessibility": "public", "Parameters": [ { - "$ref": "316" - }, - { - "$id": "325", + "$id": "321", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "326", + "$id": "322", "kind": "constant", "valueType": { - "$id": "327", + "$id": "323", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3247,7 +3171,7 @@ "SkipUrlEncoding": false }, { - "$id": "328", + "$id": "324", "Name": "sendRequest2", "NameInRequest": "sendRequest2", "Type": { @@ -3266,7 +3190,7 @@ ], "Responses": [ { - "$id": "329", + "$id": "325", "StatusCodes": [ 204 ], @@ -3290,12 +3214,40 @@ } ], "Protocol": { - "$id": "330" + "$id": "326" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "316" + "$id": "327", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "328", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "329", + "Type": { + "$id": "330", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3313,44 +3265,13 @@ "Parameters": [ { "$id": "333", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "334", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "335", - "Type": { - "$id": "336", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "337", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "338", + "$id": "334", "kind": "constant", "valueType": { - "$id": "339", + "$id": "335", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3372,7 +3293,7 @@ ], "Responses": [ { - "$id": "340", + "$id": "336", "StatusCodes": [ 200 ], @@ -3398,24 +3319,21 @@ "Decorators": [] }, { - "$id": "341", + "$id": "337", "Name": "send", "ResourceName": "MixedLiterals", "Accessibility": "public", "Parameters": [ { - "$ref": "333" - }, - { - "$id": "342", + "$id": "338", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "343", + "$id": "339", "kind": "constant", "valueType": { - "$id": "344", + "$id": "340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3435,7 +3353,7 @@ "SkipUrlEncoding": false }, { - "$id": "345", + "$id": "341", "Name": "sendRequest1", "NameInRequest": "sendRequest1", "Type": { @@ -3454,7 +3372,7 @@ ], "Responses": [ { - "$id": "346", + "$id": "342", "StatusCodes": [ 204 ], @@ -3478,12 +3396,40 @@ } ], "Protocol": { - "$id": "347" + "$id": "343" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "333" + "$id": "344", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "345", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "346", + "Type": { + "$id": "347", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] @@ -3501,44 +3447,13 @@ "Parameters": [ { "$id": "350", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "351", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client", - "DefaultValue": { - "$id": "352", - "Type": { - "$id": "353", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "Value": "http://localhost:3000" - } - }, - { - "$id": "354", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "355", + "$id": "351", "kind": "constant", "valueType": { - "$id": "356", + "$id": "352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3560,7 +3475,7 @@ ], "Responses": [ { - "$id": "357", + "$id": "353", "StatusCodes": [ 200 ], @@ -3586,24 +3501,21 @@ "Decorators": [] }, { - "$id": "358", + "$id": "354", "Name": "send", "ResourceName": "MixedTypes", "Accessibility": "public", "Parameters": [ { - "$ref": "350" - }, - { - "$id": "359", + "$id": "355", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "360", + "$id": "356", "kind": "constant", "valueType": { - "$id": "361", + "$id": "357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3623,7 +3535,7 @@ "SkipUrlEncoding": false }, { - "$id": "362", + "$id": "358", "Name": "sendRequest", "NameInRequest": "sendRequest", "Type": { @@ -3642,7 +3554,7 @@ ], "Responses": [ { - "$id": "363", + "$id": "359", "StatusCodes": [ 204 ], @@ -3666,12 +3578,40 @@ } ], "Protocol": { - "$id": "364" + "$id": "360" }, "Parent": "UnionClient", "Parameters": [ { - "$ref": "350" + "$id": "361", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "362", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client", + "DefaultValue": { + "$id": "363", + "Type": { + "$id": "364", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "Value": "http://localhost:3000" + } } ], "Decorators": [] diff --git a/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Deployments.xml b/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Deployments.xml index e7284d3cbb0..9d05b04744c 100644 --- a/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Deployments.xml +++ b/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Deployments.xml @@ -5,7 +5,7 @@ This sample shows how to call GetDeploymentAsync and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentAsync("", ""); @@ -15,7 +15,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call GetDeploymentAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentAsync("", ""); @@ -28,7 +28,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call GetDeployment and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeployment("", ""); @@ -38,7 +38,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call GetDeployment with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeployment("", ""); @@ -51,7 +51,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call GetDeploymentsAsync and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetDeploymentsAsync("")) @@ -62,7 +62,7 @@ await foreach (BinaryData item in client.GetDeploymentsAsync("")) ]]> This sample shows how to call GetDeploymentsAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetDeploymentsAsync("")) @@ -76,7 +76,7 @@ await foreach (BinaryData item in client.GetDeploymentsAsync("")) This sample shows how to call GetDeployments and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetDeployments("")) @@ -87,7 +87,7 @@ foreach (BinaryData item in client.GetDeployments("")) ]]> This sample shows how to call GetDeployments with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetDeployments("")) @@ -101,7 +101,7 @@ foreach (BinaryData item in client.GetDeployments("")) This sample shows how to call DeployProjectAsync and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new object()); @@ -113,7 +113,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call DeployProjectAsync with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new object()); @@ -128,7 +128,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call DeployProject and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new object()); @@ -140,7 +140,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call DeployProject with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new object()); @@ -155,14 +155,14 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call DeleteDeploymentAsync. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.DeleteDeploymentAsync(WaitUntil.Completed, "", ""); ]]> This sample shows how to call DeleteDeploymentAsync with all parameters. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.DeleteDeploymentAsync(WaitUntil.Completed, "", ""); @@ -172,14 +172,14 @@ Operation operation = await client.DeleteDeploymentAsync(WaitUntil.Completed, "< This sample shows how to call DeleteDeployment. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.DeleteDeployment(WaitUntil.Completed, "", ""); ]]> This sample shows how to call DeleteDeployment with all parameters. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.DeleteDeployment(WaitUntil.Completed, "", ""); @@ -189,7 +189,7 @@ Operation operation = client.DeleteDeployment(WaitUntil.Completed, " This sample shows how to call SwapDeploymentsAsync. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -201,7 +201,7 @@ Operation operation = await client.SwapDeploymentsAsync(WaitUntil.Completed, "

This sample shows how to call SwapDeploymentsAsync with all parameters and request content. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -216,7 +216,7 @@ Operation operation = await client.SwapDeploymentsAsync(WaitUntil.Completed, "

This sample shows how to call SwapDeployments. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -228,7 +228,7 @@ Operation operation = client.SwapDeployments(WaitUntil.Completed, " ]]> This sample shows how to call SwapDeployments with all parameters and request content. "); +Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new diff --git a/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Global.xml b/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Global.xml index d71eab68120..f1c113f861b 100644 --- a/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Global.xml +++ b/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Global.xml @@ -5,7 +5,7 @@ This sample shows how to call GetSupportedLanguagesAsync and parse the result. "); +Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetSupportedLanguagesAsync()) @@ -17,7 +17,7 @@ await foreach (BinaryData item in client.GetSupportedLanguagesAsync()) ]]> This sample shows how to call GetSupportedLanguagesAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetSupportedLanguagesAsync(maxCount: 1234, skip: 1234, maxpagesize: 1234)) @@ -32,7 +32,7 @@ await foreach (BinaryData item in client.GetSupportedLanguagesAsync(maxCount: 12 This sample shows how to call GetSupportedLanguages and parse the result. "); +Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetSupportedLanguages()) @@ -44,7 +44,7 @@ foreach (BinaryData item in client.GetSupportedLanguages()) ]]> This sample shows how to call GetSupportedLanguages with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetSupportedLanguages(maxCount: 1234, skip: 1234, maxpagesize: 1234)) @@ -59,7 +59,7 @@ foreach (BinaryData item in client.GetSupportedLanguages(maxCount: 1234, skip: 1 This sample shows how to call GetTrainingConfigVersionsAsync and parse the result. "); +Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetTrainingConfigVersionsAsync()) @@ -71,7 +71,7 @@ await foreach (BinaryData item in client.GetTrainingConfigVersionsAsync()) ]]> This sample shows how to call GetTrainingConfigVersionsAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetTrainingConfigVersionsAsync(maxCount: 1234, skip: 1234, maxpagesize: 1234)) @@ -86,7 +86,7 @@ await foreach (BinaryData item in client.GetTrainingConfigVersionsAsync(maxCount This sample shows how to call GetTrainingConfigVersions and parse the result. "); +Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetTrainingConfigVersions()) @@ -98,7 +98,7 @@ foreach (BinaryData item in client.GetTrainingConfigVersions()) ]]> This sample shows how to call GetTrainingConfigVersions with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetTrainingConfigVersions(maxCount: 1234, skip: 1234, maxpagesize: 1234)) diff --git a/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Jobs.xml b/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Jobs.xml index 47e26519771..b7fca95b2de 100644 --- a/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Jobs.xml +++ b/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Jobs.xml @@ -5,14 +5,14 @@ This sample shows how to call GetDeploymentStatusValueAsync. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentStatusValueAsync("", "", ""); ]]> This sample shows how to call GetDeploymentStatusValueAsync with all parameters. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentStatusValueAsync("", "", ""); @@ -22,14 +22,14 @@ Response response = await client.GetDeploymentStatusValueAsync("< This sample shows how to call GetDeploymentStatusValue. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeploymentStatusValue("", "", ""); ]]> This sample shows how to call GetDeploymentStatusValue with all parameters. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeploymentStatusValue("", "", ""); @@ -39,7 +39,7 @@ Response response = client.GetDeploymentStatusValue(" This sample shows how to call GetDeploymentStatusAsync and parse the result. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentStatusAsync("", "", ""); @@ -58,7 +58,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call GetDeploymentStatusAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentStatusAsync("", "", ""); @@ -82,7 +82,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call GetDeploymentStatus and parse the result. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeploymentStatus("", "", ""); @@ -101,7 +101,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call GetDeploymentStatus with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeploymentStatus("", "", ""); @@ -125,14 +125,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call GetSwapDeploymentsStatusValueAsync. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetSwapDeploymentsStatusValueAsync("", "", ""); ]]> This sample shows how to call GetSwapDeploymentsStatusValueAsync with all parameters. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetSwapDeploymentsStatusValueAsync("", "", ""); @@ -142,14 +142,14 @@ Response response = await client.GetSwapDeploymentsStatusVal This sample shows how to call GetSwapDeploymentsStatusValue. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetSwapDeploymentsStatusValue("", "", ""); ]]> This sample shows how to call GetSwapDeploymentsStatusValue with all parameters. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetSwapDeploymentsStatusValue("", "", ""); @@ -159,7 +159,7 @@ Response response = client.GetSwapDeploymentsStatusValue("

This sample shows how to call GetSwapDeploymentsStatusAsync and parse the result. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetSwapDeploymentsStatusAsync("", "", ""); @@ -178,7 +178,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call GetSwapDeploymentsStatusAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetSwapDeploymentsStatusAsync("", "", ""); @@ -202,7 +202,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call GetSwapDeploymentsStatus and parse the result. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetSwapDeploymentsStatus("", "", ""); @@ -221,7 +221,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call GetSwapDeploymentsStatus with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetSwapDeploymentsStatus("", "", ""); diff --git a/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Projects.xml b/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Projects.xml index 7bcf65baa0f..174333ab838 100644 --- a/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Projects.xml +++ b/test/TestProjects/Authoring-TypeSpec/src/Generated/Docs/Projects.xml @@ -5,7 +5,7 @@ This sample shows how to call GetProjectAsync and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetProjectAsync(""); @@ -22,7 +22,7 @@ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString()); ]]> This sample shows how to call GetProjectAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetProjectAsync(""); @@ -45,7 +45,7 @@ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString()); This sample shows how to call GetProject and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetProject(""); @@ -62,7 +62,7 @@ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString()); ]]> This sample shows how to call GetProject with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetProject(""); @@ -85,7 +85,7 @@ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString()); This sample shows how to call GetProjectsAsync and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetProjectsAsync()) @@ -103,7 +103,7 @@ await foreach (BinaryData item in client.GetProjectsAsync()) ]]> This sample shows how to call GetProjectsAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetProjectsAsync()) @@ -127,7 +127,7 @@ await foreach (BinaryData item in client.GetProjectsAsync()) This sample shows how to call GetProjects and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetProjects()) @@ -145,7 +145,7 @@ foreach (BinaryData item in client.GetProjects()) ]]> This sample shows how to call GetProjects with all request content and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetProjects()) @@ -169,7 +169,7 @@ foreach (BinaryData item in client.GetProjects()) This sample shows how to call CreateOrUpdateAsync and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -193,7 +193,7 @@ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString()); ]]> This sample shows how to call CreateOrUpdateAsync with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -226,7 +226,7 @@ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString()); This sample shows how to call CreateOrUpdate and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -250,7 +250,7 @@ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString()); ]]> This sample shows how to call CreateOrUpdate with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -283,14 +283,14 @@ Console.WriteLine(result.GetProperty("lastDeployedDateTime").ToString()); This sample shows how to call DeleteAsync. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.DeleteAsync(WaitUntil.Completed, ""); ]]> This sample shows how to call DeleteAsync with all parameters. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.DeleteAsync(WaitUntil.Completed, ""); @@ -300,14 +300,14 @@ Operation operation = await client.DeleteAsync(WaitUntil.Completed, " This sample shows how to call Delete. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Delete(WaitUntil.Completed, ""); ]]> This sample shows how to call Delete with all parameters. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Delete(WaitUntil.Completed, ""); @@ -317,14 +317,14 @@ Operation operation = client.Delete(WaitUntil.Completed, ""); This sample shows how to call ExportAsync. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", ""); ]]> This sample shows how to call ExportAsync with all parameters. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", ""); @@ -334,14 +334,14 @@ Operation operation = await client.ExportAsync(WaitUntil.Completed, " This sample shows how to call Export. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Export(WaitUntil.Completed, "", ""); ]]> This sample shows how to call Export with all parameters. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Export(WaitUntil.Completed, "", ""); @@ -351,14 +351,14 @@ Operation operation = client.Export(WaitUntil.Completed, "", " This sample shows how to call ImportxAsync. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ImportxAsync(WaitUntil.Completed, ""); ]]> This sample shows how to call ImportxAsync with all parameters. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ImportxAsync(WaitUntil.Completed, ""); @@ -368,14 +368,14 @@ Operation operation = await client.ImportxAsync(WaitUntil.Completed, " This sample shows how to call Importx. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Importx(WaitUntil.Completed, ""); ]]> This sample shows how to call Importx with all parameters. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Importx(WaitUntil.Completed, ""); @@ -385,7 +385,7 @@ Operation operation = client.Importx(WaitUntil.Completed, ""); This sample shows how to call TrainAsync. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -396,7 +396,7 @@ Operation operation = await client.TrainAsync(WaitUntil.Completed, " This sample shows how to call TrainAsync with all parameters and request content. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -410,7 +410,7 @@ Operation operation = await client.TrainAsync(WaitUntil.Completed, " This sample shows how to call Train. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -421,7 +421,7 @@ Operation operation = client.Train(WaitUntil.Completed, "", content ]]> This sample shows how to call Train with all parameters and request content. "); +Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new diff --git a/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Deployments.cs b/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Deployments.cs index b62729cfda6..d16fc30cf60 100644 --- a/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Deployments.cs +++ b/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Deployments.cs @@ -21,7 +21,7 @@ public partial class Samples_Deployments [Ignore("Only validating compilation of examples")] public void Example_Deployment_GetDeployment_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeployment("", ""); @@ -34,7 +34,7 @@ public void Example_Deployment_GetDeployment_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Deployment_GetDeployment_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentAsync("", ""); @@ -47,7 +47,7 @@ public async Task Example_Deployment_GetDeployment_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Deployment_GetDeployment_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeployment("", ""); @@ -60,7 +60,7 @@ public void Example_Deployment_GetDeployment_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Deployment_GetDeployment_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentAsync("", ""); @@ -73,7 +73,7 @@ public async Task Example_Deployment_GetDeployment_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Deployment_GetDeployments_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetDeployments("")) @@ -87,7 +87,7 @@ public void Example_Deployment_GetDeployments_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Deployment_GetDeployments_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetDeploymentsAsync("")) @@ -101,7 +101,7 @@ public async Task Example_Deployment_GetDeployments_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Deployment_GetDeployments_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetDeployments("")) @@ -115,7 +115,7 @@ public void Example_Deployment_GetDeployments_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Deployment_GetDeployments_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetDeploymentsAsync("")) @@ -129,7 +129,7 @@ public async Task Example_Deployment_GetDeployments_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Deployment_DeployProject_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new object()); @@ -144,7 +144,7 @@ public void Example_Deployment_DeployProject_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Deployment_DeployProject_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new object()); @@ -159,7 +159,7 @@ public async Task Example_Deployment_DeployProject_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Deployment_DeployProject_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new object()); @@ -174,7 +174,7 @@ public void Example_Deployment_DeployProject_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Deployment_DeployProject_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new object()); @@ -189,7 +189,7 @@ public async Task Example_Deployment_DeployProject_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Deployment_DeleteDeployment_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.DeleteDeployment(WaitUntil.Completed, "", ""); @@ -199,7 +199,7 @@ public void Example_Deployment_DeleteDeployment_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Deployment_DeleteDeployment_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.DeleteDeploymentAsync(WaitUntil.Completed, "", ""); @@ -209,7 +209,7 @@ public async Task Example_Deployment_DeleteDeployment_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Deployment_DeleteDeployment_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.DeleteDeployment(WaitUntil.Completed, "", ""); @@ -219,7 +219,7 @@ public void Example_Deployment_DeleteDeployment_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Deployment_DeleteDeployment_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.DeleteDeploymentAsync(WaitUntil.Completed, "", ""); @@ -229,7 +229,7 @@ public async Task Example_Deployment_DeleteDeployment_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Deployments_SwapDeployments_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -244,7 +244,7 @@ public void Example_Deployments_SwapDeployments_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Deployments_SwapDeployments_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -259,7 +259,7 @@ public async Task Example_Deployments_SwapDeployments_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Deployments_SwapDeployments_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -274,7 +274,7 @@ public void Example_Deployments_SwapDeployments_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Deployments_SwapDeployments_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Deployments client = new AuthoringTypeSpecClient(endpoint).GetDeploymentsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new diff --git a/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Global.cs b/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Global.cs index f293ff7b788..cbe9088311a 100644 --- a/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Global.cs +++ b/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Global.cs @@ -19,7 +19,7 @@ public partial class Samples_Global [Ignore("Only validating compilation of examples")] public void Example_Global_GetSupportedLanguages_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetSupportedLanguages()) @@ -34,7 +34,7 @@ public void Example_Global_GetSupportedLanguages_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Global_GetSupportedLanguages_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetSupportedLanguagesAsync()) @@ -49,7 +49,7 @@ public async Task Example_Global_GetSupportedLanguages_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Global_GetSupportedLanguages_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetSupportedLanguages(maxCount: 1234, skip: 1234, maxpagesize: 1234)) @@ -64,7 +64,7 @@ public void Example_Global_GetSupportedLanguages_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Global_GetSupportedLanguages_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetSupportedLanguagesAsync(maxCount: 1234, skip: 1234, maxpagesize: 1234)) @@ -79,7 +79,7 @@ public async Task Example_Global_GetSupportedLanguages_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Global_GetTrainingConfigVersions_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetTrainingConfigVersions()) @@ -94,7 +94,7 @@ public void Example_Global_GetTrainingConfigVersions_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Global_GetTrainingConfigVersions_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetTrainingConfigVersionsAsync()) @@ -109,7 +109,7 @@ public async Task Example_Global_GetTrainingConfigVersions_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Global_GetTrainingConfigVersions_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetTrainingConfigVersions(maxCount: 1234, skip: 1234, maxpagesize: 1234)) @@ -124,7 +124,7 @@ public void Example_Global_GetTrainingConfigVersions_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Global_GetTrainingConfigVersions_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Global client = new AuthoringTypeSpecClient(endpoint).GetGlobalClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetTrainingConfigVersionsAsync(maxCount: 1234, skip: 1234, maxpagesize: 1234)) diff --git a/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Jobs.cs b/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Jobs.cs index 46e8b58b3f5..5b708d3edf2 100644 --- a/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Jobs.cs +++ b/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Jobs.cs @@ -21,7 +21,7 @@ public partial class Samples_Jobs [Ignore("Only validating compilation of examples")] public void Example_DeploymentJob_GetDeploymentStatus_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeploymentStatus("", "", ""); @@ -43,7 +43,7 @@ public void Example_DeploymentJob_GetDeploymentStatus_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_DeploymentJob_GetDeploymentStatus_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentStatusAsync("", "", ""); @@ -65,7 +65,7 @@ public async Task Example_DeploymentJob_GetDeploymentStatus_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_DeploymentJob_GetDeploymentStatus_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeploymentStatusValue("", "", ""); @@ -75,7 +75,7 @@ public void Example_DeploymentJob_GetDeploymentStatus_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_DeploymentJob_GetDeploymentStatus_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentStatusValueAsync("", "", ""); @@ -85,7 +85,7 @@ public async Task Example_DeploymentJob_GetDeploymentStatus_ShortVersion_Conveni [Ignore("Only validating compilation of examples")] public void Example_DeploymentJob_GetDeploymentStatus_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeploymentStatus("", "", ""); @@ -109,7 +109,7 @@ public void Example_DeploymentJob_GetDeploymentStatus_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_DeploymentJob_GetDeploymentStatus_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentStatusAsync("", "", ""); @@ -133,7 +133,7 @@ public async Task Example_DeploymentJob_GetDeploymentStatus_AllParameters_Async( [Ignore("Only validating compilation of examples")] public void Example_DeploymentJob_GetDeploymentStatus_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetDeploymentStatusValue("", "", ""); @@ -143,7 +143,7 @@ public void Example_DeploymentJob_GetDeploymentStatus_AllParameters_Convenience( [Ignore("Only validating compilation of examples")] public async Task Example_DeploymentJob_GetDeploymentStatus_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetDeploymentStatusValueAsync("", "", ""); @@ -153,7 +153,7 @@ public async Task Example_DeploymentJob_GetDeploymentStatus_AllParameters_Conven [Ignore("Only validating compilation of examples")] public void Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetSwapDeploymentsStatus("", "", ""); @@ -175,7 +175,7 @@ public void Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetSwapDeploymentsStatusAsync("", "", ""); @@ -197,7 +197,7 @@ public async Task Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_ShortVersi [Ignore("Only validating compilation of examples")] public void Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetSwapDeploymentsStatusValue("", "", ""); @@ -207,7 +207,7 @@ public void Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_ShortVersion_Con [Ignore("Only validating compilation of examples")] public async Task Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetSwapDeploymentsStatusValueAsync("", "", ""); @@ -217,7 +217,7 @@ public async Task Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_ShortVersi [Ignore("Only validating compilation of examples")] public void Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetSwapDeploymentsStatus("", "", ""); @@ -241,7 +241,7 @@ public void Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetSwapDeploymentsStatusAsync("", "", ""); @@ -265,7 +265,7 @@ public async Task Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_AllParamet [Ignore("Only validating compilation of examples")] public void Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetSwapDeploymentsStatusValue("", "", ""); @@ -275,7 +275,7 @@ public void Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_AllParameters_Co [Ignore("Only validating compilation of examples")] public async Task Example_SwapDeploymentsJob_GetSwapDeploymentsStatus_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Jobs client = new AuthoringTypeSpecClient(endpoint).GetJobsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetSwapDeploymentsStatusValueAsync("", "", ""); diff --git a/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Projects.cs b/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Projects.cs index fb34f61e43b..bd4d15bfddc 100644 --- a/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Projects.cs +++ b/test/TestProjects/Authoring-TypeSpec/tests/Generated/Samples/Samples_Projects.cs @@ -21,7 +21,7 @@ public partial class Samples_Projects [Ignore("Only validating compilation of examples")] public void Example_Project_GetProject_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetProject(""); @@ -41,7 +41,7 @@ public void Example_Project_GetProject_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Project_GetProject_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetProjectAsync(""); @@ -61,7 +61,7 @@ public async Task Example_Project_GetProject_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Project_GetProject_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Response response = client.GetProject(""); @@ -84,7 +84,7 @@ public void Example_Project_GetProject_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Project_GetProject_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Response response = await client.GetProjectAsync(""); @@ -107,7 +107,7 @@ public async Task Example_Project_GetProject_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Project_GetProjects_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetProjects()) @@ -128,7 +128,7 @@ public void Example_Project_GetProjects_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Project_GetProjects_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetProjectsAsync()) @@ -149,7 +149,7 @@ public async Task Example_Project_GetProjects_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Project_GetProjects_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); foreach (BinaryData item in client.GetProjects()) @@ -173,7 +173,7 @@ public void Example_Project_GetProjects_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Project_GetProjects_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); await foreach (BinaryData item in client.GetProjectsAsync()) @@ -197,7 +197,7 @@ public async Task Example_Project_GetProjects_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Project_CreateOrUpdate_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -224,7 +224,7 @@ public void Example_Project_CreateOrUpdate_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Project_CreateOrUpdate_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -251,7 +251,7 @@ public async Task Example_Project_CreateOrUpdate_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Project_CreateOrUpdate_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -284,7 +284,7 @@ public void Example_Project_CreateOrUpdate_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Project_CreateOrUpdate_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -317,7 +317,7 @@ public async Task Example_Project_CreateOrUpdate_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Project_Delete_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Delete(WaitUntil.Completed, ""); @@ -327,7 +327,7 @@ public void Example_Project_Delete_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Project_Delete_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.DeleteAsync(WaitUntil.Completed, ""); @@ -337,7 +337,7 @@ public async Task Example_Project_Delete_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Project_Delete_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Delete(WaitUntil.Completed, ""); @@ -347,7 +347,7 @@ public void Example_Project_Delete_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Project_Delete_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.DeleteAsync(WaitUntil.Completed, ""); @@ -357,7 +357,7 @@ public async Task Example_Project_Delete_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Projects_Export_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Export(WaitUntil.Completed, "", ""); @@ -367,7 +367,7 @@ public void Example_Projects_Export_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Projects_Export_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", ""); @@ -377,7 +377,7 @@ public async Task Example_Projects_Export_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Projects_Export_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Export(WaitUntil.Completed, "", ""); @@ -387,7 +387,7 @@ public void Example_Projects_Export_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Projects_Export_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", ""); @@ -397,7 +397,7 @@ public async Task Example_Projects_Export_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Projects_Importx_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Importx(WaitUntil.Completed, ""); @@ -407,7 +407,7 @@ public void Example_Projects_Importx_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Projects_Importx_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ImportxAsync(WaitUntil.Completed, ""); @@ -417,7 +417,7 @@ public async Task Example_Projects_Importx_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Projects_Importx_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Importx(WaitUntil.Completed, ""); @@ -427,7 +427,7 @@ public void Example_Projects_Importx_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Projects_Importx_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ImportxAsync(WaitUntil.Completed, ""); @@ -437,7 +437,7 @@ public async Task Example_Projects_Importx_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Projects_Train_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -451,7 +451,7 @@ public void Example_Projects_Train_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Projects_Train_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -465,7 +465,7 @@ public async Task Example_Projects_Train_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Projects_Train_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new @@ -479,7 +479,7 @@ public void Example_Projects_Train_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Projects_Train_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Projects client = new AuthoringTypeSpecClient(endpoint).GetProjectsClient(apiVersion: "2022-05-15-preview"); using RequestContent content = RequestContent.Create(new diff --git a/test/TestProjects/Authoring-TypeSpec/tspCodeModel.json b/test/TestProjects/Authoring-TypeSpec/tspCodeModel.json index 058119d1900..fac06d747ee 100644 --- a/test/TestProjects/Authoring-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/Authoring-TypeSpec/tspCodeModel.json @@ -1784,31 +1784,11 @@ "Parameters": [ { "$id": "180", - "Name": "Endpoint", - "NameInRequest": "Endpoint", - "Type": { - "$id": "181", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "182", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "183", + "$id": "181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1822,9 +1802,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "184", + "$id": "182", "Type": { - "$id": "185", + "$id": "183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1835,11 +1815,11 @@ "SkipUrlEncoding": false }, { - "$id": "186", + "$id": "184", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "187", + "$id": "185", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1856,15 +1836,15 @@ "SkipUrlEncoding": false }, { - "$id": "188", + "$id": "186", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "189", + "$id": "187", "kind": "constant", "valueType": { - "$id": "190", + "$id": "188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1884,14 +1864,14 @@ "SkipUrlEncoding": false }, { - "$id": "191", + "$id": "189", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "192", + "$id": "190", "kind": "constant", "valueType": { - "$id": "193", + "$id": "191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1911,7 +1891,7 @@ "SkipUrlEncoding": false }, { - "$id": "194", + "$id": "192", "Name": "resource", "NameInRequest": "resource", "Description": "The resource instance.", @@ -1931,7 +1911,7 @@ ], "Responses": [ { - "$id": "195", + "$id": "193", "StatusCodes": [ 201 ], @@ -1941,17 +1921,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "196", + "$id": "194", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "197", + "$id": "195", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "198", + "$id": "196", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -1967,7 +1947,7 @@ ] }, { - "$id": "199", + "$id": "197", "StatusCodes": [ 200 ], @@ -1977,17 +1957,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "200", + "$id": "198", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "201", + "$id": "199", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "202", + "$id": "200", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2012,10 +1992,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "203", + "$id": "201", "FinalStateVia": 2, "FinalResponse": { - "$id": "204", + "$id": "202", "StatusCodes": [ 200 ], @@ -2031,22 +2011,19 @@ "Decorators": [] }, { - "$id": "205", + "$id": "203", "Name": "get", "ResourceName": "Project", "Description": "Gets the details of a project.", "Accessibility": "public", "Parameters": [ { - "$ref": "180" - }, - { - "$id": "206", + "$id": "204", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "207", + "$id": "205", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2060,9 +2037,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "208", + "$id": "206", "Type": { - "$id": "209", + "$id": "207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2073,11 +2050,11 @@ "SkipUrlEncoding": false }, { - "$id": "210", + "$id": "208", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "211", + "$id": "209", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2094,14 +2071,14 @@ "SkipUrlEncoding": false }, { - "$id": "212", + "$id": "210", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "213", + "$id": "211", "kind": "constant", "valueType": { - "$id": "214", + "$id": "212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2123,7 +2100,7 @@ ], "Responses": [ { - "$id": "215", + "$id": "213", "StatusCodes": [ 200 ], @@ -2149,22 +2126,19 @@ "Decorators": [] }, { - "$id": "216", + "$id": "214", "Name": "delete", "ResourceName": "Project", "Description": "Deletes a project.", "Accessibility": "public", "Parameters": [ { - "$ref": "180" - }, - { - "$id": "217", + "$id": "215", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "218", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2178,9 +2152,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "219", + "$id": "217", "Type": { - "$id": "220", + "$id": "218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2191,11 +2165,11 @@ "SkipUrlEncoding": false }, { - "$id": "221", + "$id": "219", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "222", + "$id": "220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2212,14 +2186,14 @@ "SkipUrlEncoding": false }, { - "$id": "223", + "$id": "221", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "224", + "$id": "222", "kind": "constant", "valueType": { - "$id": "225", + "$id": "223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2241,7 +2215,7 @@ ], "Responses": [ { - "$id": "226", + "$id": "224", "StatusCodes": [ 202 ], @@ -2251,17 +2225,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "227", + "$id": "225", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "228", + "$id": "226", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "229", + "$id": "227", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2283,10 +2257,10 @@ "Path": "/authoring/analyze-text/projects/{projectName}", "BufferResponse": true, "LongRunning": { - "$id": "230", + "$id": "228", "FinalStateVia": 3, "FinalResponse": { - "$id": "231", + "$id": "229", "StatusCodes": [ 204 ], @@ -2299,22 +2273,19 @@ "Decorators": [] }, { - "$id": "232", + "$id": "230", "Name": "list", "ResourceName": "Project", "Description": "Lists the existing projects.", "Accessibility": "public", "Parameters": [ { - "$ref": "180" - }, - { - "$id": "233", + "$id": "231", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "234", + "$id": "232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2328,9 +2299,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "235", + "$id": "233", "Type": { - "$id": "236", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2341,14 +2312,14 @@ "SkipUrlEncoding": false }, { - "$id": "237", + "$id": "235", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "238", + "$id": "236", "kind": "constant", "valueType": { - "$id": "239", + "$id": "237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2370,7 +2341,7 @@ ], "Responses": [ { - "$id": "240", + "$id": "238", "StatusCodes": [ 200 ], @@ -2391,7 +2362,7 @@ "Path": "/authoring/analyze-text/projects", "BufferResponse": true, "Paging": { - "$id": "241", + "$id": "239", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -2401,22 +2372,19 @@ "Decorators": [] }, { - "$id": "242", + "$id": "240", "Name": "export", "ResourceName": "Projects", "Description": "Triggers a job to export a project's data.", "Accessibility": "public", "Parameters": [ { - "$ref": "180" - }, - { - "$id": "243", + "$id": "241", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "244", + "$id": "242", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2430,9 +2398,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "245", + "$id": "243", "Type": { - "$id": "246", + "$id": "244", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2443,11 +2411,11 @@ "SkipUrlEncoding": false }, { - "$id": "247", + "$id": "245", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "248", + "$id": "246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2464,11 +2432,11 @@ "SkipUrlEncoding": false }, { - "$id": "249", + "$id": "247", "Name": "projectFileVersion", "NameInRequest": "projectFileVersion", "Type": { - "$id": "250", + "$id": "248", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2485,14 +2453,14 @@ "SkipUrlEncoding": false }, { - "$id": "251", + "$id": "249", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "252", + "$id": "250", "kind": "constant", "valueType": { - "$id": "253", + "$id": "251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2514,24 +2482,24 @@ ], "Responses": [ { - "$id": "254", + "$id": "252", "StatusCodes": [ 202 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "255", + "$id": "253", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "256", + "$id": "254", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "257", + "$id": "255", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2550,10 +2518,10 @@ "Path": "/authoring/analyze-text/projects/{projectName}:export", "BufferResponse": true, "LongRunning": { - "$id": "258", + "$id": "256", "FinalStateVia": 3, "FinalResponse": { - "$id": "259", + "$id": "257", "StatusCodes": [ 200 ], @@ -2566,22 +2534,19 @@ "Decorators": [] }, { - "$id": "260", + "$id": "258", "Name": "importx", "ResourceName": "Projects", "Description": "Triggers a job to export a project's data.", "Accessibility": "public", "Parameters": [ { - "$ref": "180" - }, - { - "$id": "261", + "$id": "259", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "262", + "$id": "260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2595,9 +2560,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "263", + "$id": "261", "Type": { - "$id": "264", + "$id": "262", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2608,11 +2573,11 @@ "SkipUrlEncoding": false }, { - "$id": "265", + "$id": "263", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "266", + "$id": "264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2629,14 +2594,14 @@ "SkipUrlEncoding": false }, { - "$id": "267", + "$id": "265", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "268", + "$id": "266", "kind": "constant", "valueType": { - "$id": "269", + "$id": "267", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2658,24 +2623,24 @@ ], "Responses": [ { - "$id": "270", + "$id": "268", "StatusCodes": [ 202 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "271", + "$id": "269", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "272", + "$id": "270", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "273", + "$id": "271", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2694,10 +2659,10 @@ "Path": "/authoring/analyze-text/projects/{projectName}:importx", "BufferResponse": true, "LongRunning": { - "$id": "274", + "$id": "272", "FinalStateVia": 3, "FinalResponse": { - "$id": "275", + "$id": "273", "StatusCodes": [ 200 ], @@ -2710,22 +2675,19 @@ "Decorators": [] }, { - "$id": "276", + "$id": "274", "Name": "train", "ResourceName": "Projects", "Description": "Triggers a training job for a project.", "Accessibility": "public", "Parameters": [ { - "$ref": "180" - }, - { - "$id": "277", + "$id": "275", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "278", + "$id": "276", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2739,9 +2701,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "279", + "$id": "277", "Type": { - "$id": "280", + "$id": "278", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2752,11 +2714,11 @@ "SkipUrlEncoding": false }, { - "$id": "281", + "$id": "279", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "282", + "$id": "280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2773,15 +2735,15 @@ "SkipUrlEncoding": false }, { - "$id": "283", + "$id": "281", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "284", + "$id": "282", "kind": "constant", "valueType": { - "$id": "285", + "$id": "283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2801,14 +2763,14 @@ "SkipUrlEncoding": false }, { - "$id": "286", + "$id": "284", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "287", + "$id": "285", "kind": "constant", "valueType": { - "$id": "288", + "$id": "286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2828,7 +2790,7 @@ "SkipUrlEncoding": false }, { - "$id": "289", + "$id": "287", "Name": "body", "NameInRequest": "body", "Type": { @@ -2847,24 +2809,24 @@ ], "Responses": [ { - "$id": "290", + "$id": "288", "StatusCodes": [ 202 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "291", + "$id": "289", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "292", + "$id": "290", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "293", + "$id": "291", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2886,10 +2848,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "294", + "$id": "292", "FinalStateVia": 3, "FinalResponse": { - "$id": "295", + "$id": "293", "StatusCodes": [ 200 ], @@ -2903,12 +2865,29 @@ } ], "Protocol": { - "$id": "296" + "$id": "294" }, "Parent": "AuthoringTypeSpecClient", "Parameters": [ { - "$ref": "180" + "$id": "295", + "Name": "Endpoint", + "NameInRequest": "Endpoint", + "Type": { + "$id": "296", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -2926,31 +2905,11 @@ "Parameters": [ { "$id": "299", - "Name": "Endpoint", - "NameInRequest": "Endpoint", - "Type": { - "$id": "300", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "301", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "302", + "$id": "300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2964,9 +2923,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "303", + "$id": "301", "Type": { - "$id": "304", + "$id": "302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -2977,11 +2936,11 @@ "SkipUrlEncoding": false }, { - "$id": "305", + "$id": "303", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "306", + "$id": "304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2998,11 +2957,11 @@ "SkipUrlEncoding": false }, { - "$id": "307", + "$id": "305", "Name": "deploymentName", "NameInRequest": "deploymentName", "Type": { - "$id": "308", + "$id": "306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3019,14 +2978,14 @@ "SkipUrlEncoding": false }, { - "$id": "309", + "$id": "307", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "310", + "$id": "308", "kind": "constant", "valueType": { - "$id": "311", + "$id": "309", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3048,7 +3007,7 @@ ], "Responses": [ { - "$id": "312", + "$id": "310", "StatusCodes": [ 200 ], @@ -3074,22 +3033,19 @@ "Decorators": [] }, { - "$id": "313", + "$id": "311", "Name": "deployProject", "ResourceName": "Deployment", "Description": "Creates a new deployment or replaces an existing one.", "Accessibility": "public", "Parameters": [ { - "$ref": "299" - }, - { - "$id": "314", + "$id": "312", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "315", + "$id": "313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3103,9 +3059,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "316", + "$id": "314", "Type": { - "$id": "317", + "$id": "315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3116,11 +3072,11 @@ "SkipUrlEncoding": false }, { - "$id": "318", + "$id": "316", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "319", + "$id": "317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3137,11 +3093,11 @@ "SkipUrlEncoding": false }, { - "$id": "320", + "$id": "318", "Name": "deploymentName", "NameInRequest": "deploymentName", "Type": { - "$id": "321", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3158,15 +3114,15 @@ "SkipUrlEncoding": false }, { - "$id": "322", + "$id": "320", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "323", + "$id": "321", "kind": "constant", "valueType": { - "$id": "324", + "$id": "322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3186,14 +3142,14 @@ "SkipUrlEncoding": false }, { - "$id": "325", + "$id": "323", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "326", + "$id": "324", "kind": "constant", "valueType": { - "$id": "327", + "$id": "325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3213,7 +3169,7 @@ "SkipUrlEncoding": false }, { - "$id": "328", + "$id": "326", "Name": "resource", "NameInRequest": "resource", "Description": "The resource instance.", @@ -3233,7 +3189,7 @@ ], "Responses": [ { - "$id": "329", + "$id": "327", "StatusCodes": [ 201 ], @@ -3243,17 +3199,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "330", + "$id": "328", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "331", + "$id": "329", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "332", + "$id": "330", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3269,7 +3225,7 @@ ] }, { - "$id": "333", + "$id": "331", "StatusCodes": [ 200 ], @@ -3279,17 +3235,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "334", + "$id": "332", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "335", + "$id": "333", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "336", + "$id": "334", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3314,10 +3270,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "337", + "$id": "335", "FinalStateVia": 2, "FinalResponse": { - "$id": "338", + "$id": "336", "StatusCodes": [ 200 ], @@ -3333,22 +3289,19 @@ "Decorators": [] }, { - "$id": "339", + "$id": "337", "Name": "deleteDeployment", "ResourceName": "Deployment", "Description": "Deletes a project deployment.", "Accessibility": "public", "Parameters": [ { - "$ref": "299" - }, - { - "$id": "340", + "$id": "338", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "341", + "$id": "339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3362,9 +3315,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "342", + "$id": "340", "Type": { - "$id": "343", + "$id": "341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3375,11 +3328,11 @@ "SkipUrlEncoding": false }, { - "$id": "344", + "$id": "342", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "345", + "$id": "343", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3396,11 +3349,11 @@ "SkipUrlEncoding": false }, { - "$id": "346", + "$id": "344", "Name": "deploymentName", "NameInRequest": "deploymentName", "Type": { - "$id": "347", + "$id": "345", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3417,14 +3370,14 @@ "SkipUrlEncoding": false }, { - "$id": "348", + "$id": "346", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "349", + "$id": "347", "kind": "constant", "valueType": { - "$id": "350", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3446,7 +3399,7 @@ ], "Responses": [ { - "$id": "351", + "$id": "349", "StatusCodes": [ 202 ], @@ -3456,17 +3409,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "352", + "$id": "350", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "353", + "$id": "351", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "354", + "$id": "352", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3488,10 +3441,10 @@ "Path": "/authoring/analyze-text/projects/{projectName}/deployments/{deploymentName}", "BufferResponse": true, "LongRunning": { - "$id": "355", + "$id": "353", "FinalStateVia": 3, "FinalResponse": { - "$id": "356", + "$id": "354", "StatusCodes": [ 204 ], @@ -3504,22 +3457,19 @@ "Decorators": [] }, { - "$id": "357", + "$id": "355", "Name": "list", "ResourceName": "Deployment", "Description": "Lists the existing deployments.", "Accessibility": "public", "Parameters": [ { - "$ref": "299" - }, - { - "$id": "358", + "$id": "356", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "359", + "$id": "357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3533,9 +3483,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "360", + "$id": "358", "Type": { - "$id": "361", + "$id": "359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3546,11 +3496,11 @@ "SkipUrlEncoding": false }, { - "$id": "362", + "$id": "360", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "363", + "$id": "361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3567,14 +3517,14 @@ "SkipUrlEncoding": false }, { - "$id": "364", + "$id": "362", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "365", + "$id": "363", "kind": "constant", "valueType": { - "$id": "366", + "$id": "364", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3596,7 +3546,7 @@ ], "Responses": [ { - "$id": "367", + "$id": "365", "StatusCodes": [ 200 ], @@ -3617,7 +3567,7 @@ "Path": "/authoring/analyze-text/projects/{projectName}/deployments", "BufferResponse": true, "Paging": { - "$id": "368", + "$id": "366", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -3627,22 +3577,19 @@ "Decorators": [] }, { - "$id": "369", + "$id": "367", "Name": "swapDeployments", "ResourceName": "Deployments", "Description": "Swaps two existing deployments with each other.", "Accessibility": "public", "Parameters": [ { - "$ref": "299" - }, - { - "$id": "370", + "$id": "368", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "371", + "$id": "369", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3656,9 +3603,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "372", + "$id": "370", "Type": { - "$id": "373", + "$id": "371", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3669,11 +3616,11 @@ "SkipUrlEncoding": false }, { - "$id": "374", + "$id": "372", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "375", + "$id": "373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3690,15 +3637,15 @@ "SkipUrlEncoding": false }, { - "$id": "376", + "$id": "374", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "377", + "$id": "375", "kind": "constant", "valueType": { - "$id": "378", + "$id": "376", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3718,14 +3665,14 @@ "SkipUrlEncoding": false }, { - "$id": "379", + "$id": "377", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "380", + "$id": "378", "kind": "constant", "valueType": { - "$id": "381", + "$id": "379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3745,7 +3692,7 @@ "SkipUrlEncoding": false }, { - "$id": "382", + "$id": "380", "Name": "body", "NameInRequest": "body", "Description": "The body schema of the operation.", @@ -3765,24 +3712,24 @@ ], "Responses": [ { - "$id": "383", + "$id": "381", "StatusCodes": [ 202 ], "BodyMediaType": "Json", "Headers": [ { - "$id": "384", + "$id": "382", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "385", + "$id": "383", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "386", + "$id": "384", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3804,10 +3751,10 @@ ], "BufferResponse": true, "LongRunning": { - "$id": "387", + "$id": "385", "FinalStateVia": 3, "FinalResponse": { - "$id": "388", + "$id": "386", "StatusCodes": [ 200 ], @@ -3821,12 +3768,29 @@ } ], "Protocol": { - "$id": "389" + "$id": "387" }, "Parent": "AuthoringTypeSpecClient", "Parameters": [ { - "$ref": "299" + "$id": "388", + "Name": "Endpoint", + "NameInRequest": "Endpoint", + "Type": { + "$id": "389", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -3844,31 +3808,11 @@ "Parameters": [ { "$id": "392", - "Name": "Endpoint", - "NameInRequest": "Endpoint", - "Type": { - "$id": "393", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "394", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "395", + "$id": "393", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3882,9 +3826,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "396", + "$id": "394", "Type": { - "$id": "397", + "$id": "395", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -3895,11 +3839,11 @@ "SkipUrlEncoding": false }, { - "$id": "398", + "$id": "396", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "399", + "$id": "397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3916,11 +3860,11 @@ "SkipUrlEncoding": false }, { - "$id": "400", + "$id": "398", "Name": "deploymentName", "NameInRequest": "deploymentName", "Type": { - "$id": "401", + "$id": "399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3937,11 +3881,11 @@ "SkipUrlEncoding": false }, { - "$id": "402", + "$id": "400", "Name": "jobId", "NameInRequest": "jobId", "Type": { - "$id": "403", + "$id": "401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3958,14 +3902,14 @@ "SkipUrlEncoding": false }, { - "$id": "404", + "$id": "402", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "405", + "$id": "403", "kind": "constant", "valueType": { - "$id": "406", + "$id": "404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3987,7 +3931,7 @@ ], "Responses": [ { - "$id": "407", + "$id": "405", "StatusCodes": [ 200 ], @@ -4013,22 +3957,19 @@ "Decorators": [] }, { - "$id": "408", + "$id": "406", "Name": "getSwapDeploymentsStatus", "ResourceName": "SwapDeploymentsJob", "Description": "Gets the status of an existing swap deployment job.", "Accessibility": "public", "Parameters": [ { - "$ref": "392" - }, - { - "$id": "409", + "$id": "407", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "410", + "$id": "408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4042,9 +3983,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "411", + "$id": "409", "Type": { - "$id": "412", + "$id": "410", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4055,11 +3996,11 @@ "SkipUrlEncoding": false }, { - "$id": "413", + "$id": "411", "Name": "projectName", "NameInRequest": "projectName", "Type": { - "$id": "414", + "$id": "412", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4076,11 +4017,11 @@ "SkipUrlEncoding": false }, { - "$id": "415", + "$id": "413", "Name": "deploymentName", "NameInRequest": "deploymentName", "Type": { - "$id": "416", + "$id": "414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4097,11 +4038,11 @@ "SkipUrlEncoding": false }, { - "$id": "417", + "$id": "415", "Name": "jobId", "NameInRequest": "jobId", "Type": { - "$id": "418", + "$id": "416", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4118,14 +4059,14 @@ "SkipUrlEncoding": false }, { - "$id": "419", + "$id": "417", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "420", + "$id": "418", "kind": "constant", "valueType": { - "$id": "421", + "$id": "419", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4147,7 +4088,7 @@ ], "Responses": [ { - "$id": "422", + "$id": "420", "StatusCodes": [ 200 ], @@ -4174,12 +4115,29 @@ } ], "Protocol": { - "$id": "423" + "$id": "421" }, "Parent": "AuthoringTypeSpecClient", "Parameters": [ { - "$ref": "392" + "$id": "422", + "Name": "Endpoint", + "NameInRequest": "Endpoint", + "Type": { + "$id": "423", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -4196,30 +4154,10 @@ "Parameters": [ { "$id": "426", - "Name": "Endpoint", - "NameInRequest": "Endpoint", - "Type": { - "$id": "427", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "428", "Name": "top", "NameInRequest": "top", "Type": { - "$id": "429", + "$id": "427", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4236,11 +4174,11 @@ "SkipUrlEncoding": false }, { - "$id": "430", + "$id": "428", "Name": "skip", "NameInRequest": "skip", "Type": { - "$id": "431", + "$id": "429", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4257,11 +4195,11 @@ "SkipUrlEncoding": false }, { - "$id": "432", + "$id": "430", "Name": "maxpagesize", "NameInRequest": "maxpagesize", "Type": { - "$id": "433", + "$id": "431", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4278,12 +4216,12 @@ "SkipUrlEncoding": false }, { - "$id": "434", + "$id": "432", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "435", + "$id": "433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4297,9 +4235,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "436", + "$id": "434", "Type": { - "$id": "437", + "$id": "435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4310,14 +4248,14 @@ "SkipUrlEncoding": false }, { - "$id": "438", + "$id": "436", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "439", + "$id": "437", "kind": "constant", "valueType": { - "$id": "440", + "$id": "438", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4339,7 +4277,7 @@ ], "Responses": [ { - "$id": "441", + "$id": "439", "StatusCodes": [ 200 ], @@ -4360,7 +4298,7 @@ "Path": "/authoring/analyze-text/projects/global/languages", "BufferResponse": true, "Paging": { - "$id": "442", + "$id": "440", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -4370,20 +4308,17 @@ "Decorators": [] }, { - "$id": "443", + "$id": "441", "Name": "listTrainingConfigVersions", "ResourceName": "Global", "Accessibility": "public", "Parameters": [ { - "$ref": "426" - }, - { - "$id": "444", + "$id": "442", "Name": "top", "NameInRequest": "top", "Type": { - "$id": "445", + "$id": "443", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4400,11 +4335,11 @@ "SkipUrlEncoding": false }, { - "$id": "446", + "$id": "444", "Name": "skip", "NameInRequest": "skip", "Type": { - "$id": "447", + "$id": "445", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4421,11 +4356,11 @@ "SkipUrlEncoding": false }, { - "$id": "448", + "$id": "446", "Name": "maxpagesize", "NameInRequest": "maxpagesize", "Type": { - "$id": "449", + "$id": "447", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4442,12 +4377,12 @@ "SkipUrlEncoding": false }, { - "$id": "450", + "$id": "448", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "451", + "$id": "449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4461,9 +4396,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "452", + "$id": "450", "Type": { - "$id": "453", + "$id": "451", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -4474,14 +4409,14 @@ "SkipUrlEncoding": false }, { - "$id": "454", + "$id": "452", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "455", + "$id": "453", "kind": "constant", "valueType": { - "$id": "456", + "$id": "454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4503,7 +4438,7 @@ ], "Responses": [ { - "$id": "457", + "$id": "455", "StatusCodes": [ 200 ], @@ -4524,7 +4459,7 @@ "Path": "/authoring/analyze-text/projects/global/training-config-versions", "BufferResponse": true, "Paging": { - "$id": "458", + "$id": "456", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -4535,12 +4470,29 @@ } ], "Protocol": { - "$id": "459" + "$id": "457" }, "Parent": "AuthoringTypeSpecClient", "Parameters": [ { - "$ref": "426" + "$id": "458", + "Name": "Endpoint", + "NameInRequest": "Endpoint", + "Type": { + "$id": "459", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/TestProjects/ConvenienceUpdate-TypeSpec/src/Generated/Docs/ConvenienceInCadlClient.xml b/test/TestProjects/ConvenienceUpdate-TypeSpec/src/Generated/Docs/ConvenienceInCadlClient.xml index 4a616666e52..8096552396f 100644 --- a/test/TestProjects/ConvenienceUpdate-TypeSpec/src/Generated/Docs/ConvenienceInCadlClient.xml +++ b/test/TestProjects/ConvenienceUpdate-TypeSpec/src/Generated/Docs/ConvenienceInCadlClient.xml @@ -5,14 +5,14 @@ This sample shows how to call UpdateConvenienceAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.UpdateConvenienceAsync(); ]]> This sample shows how to call UpdateConvenienceAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.UpdateConvenienceAsync(); @@ -22,14 +22,14 @@ Response response = await client.UpdateConvenienceAsync(); This sample shows how to call UpdateConvenience. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.UpdateConvenience(); ]]> This sample shows how to call UpdateConvenience with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.UpdateConvenience(); @@ -39,7 +39,7 @@ Response response = client.UpdateConvenience(); This sample shows how to call UpdateConvenienceAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.UpdateConvenienceAsync(null); @@ -49,7 +49,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call UpdateConvenienceAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.UpdateConvenienceAsync(null); @@ -62,7 +62,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call UpdateConvenience and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.UpdateConvenience(null); @@ -72,7 +72,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call UpdateConvenience with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.UpdateConvenience(null); @@ -85,7 +85,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceOptionalBeforeRequiredAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -93,7 +93,7 @@ Response response = await client.ConvenienceOptionalBeforeRequiredAsync(required ]]> This sample shows how to call ConvenienceOptionalBeforeRequiredAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -104,7 +104,7 @@ Response response = await client.ConvenienceOptionalBeforeRequiredAsync(required This sample shows how to call ConvenienceOptionalBeforeRequired. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -112,7 +112,7 @@ Response response = client.ConvenienceOptionalBeforeRequired(required); ]]> This sample shows how to call ConvenienceOptionalBeforeRequired with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -123,7 +123,7 @@ Response response = client.ConvenienceOptionalBeforeRequired(required, optional: This sample shows how to call ConvenienceOptionalBeforeRequiredAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -136,7 +136,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceOptionalBeforeRequiredAsync with all parameters and request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -152,7 +152,7 @@ Console.WriteLine(response.Status); This sample shows how to call ConvenienceOptionalBeforeRequired. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -165,7 +165,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceOptionalBeforeRequired with all parameters and request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -181,7 +181,7 @@ Console.WriteLine(response.Status); This sample shows how to call NoConvenienceAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.NoConvenienceAsync(null); @@ -191,7 +191,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call NoConvenienceAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.NoConvenienceAsync(null); @@ -204,7 +204,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call NoConvenience and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.NoConvenience(null); @@ -214,7 +214,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call NoConvenience with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.NoConvenience(null); @@ -227,7 +227,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call NoConvenienceRequiredBodyAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -240,7 +240,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call NoConvenienceRequiredBodyAsync with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -256,7 +256,7 @@ Console.WriteLine(response.Status); This sample shows how to call NoConvenienceRequiredBody. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -269,7 +269,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call NoConvenienceRequiredBody with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -285,7 +285,7 @@ Console.WriteLine(response.Status); This sample shows how to call NoConvenienceOptionalBodyAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -295,7 +295,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call NoConvenienceOptionalBodyAsync with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -311,7 +311,7 @@ Console.WriteLine(response.Status); This sample shows how to call NoConvenienceOptionalBody. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -321,7 +321,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call NoConvenienceOptionalBody with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -337,14 +337,14 @@ Console.WriteLine(response.Status); This sample shows how to call ProtocolValueAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolValueAsync(); ]]> This sample shows how to call ProtocolValueAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolValueAsync(); @@ -354,14 +354,14 @@ Response response = await client.ProtocolValueAsync(); This sample shows how to call ProtocolValue. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolValue(); ]]> This sample shows how to call ProtocolValue with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolValue(); @@ -371,7 +371,7 @@ Response response = client.ProtocolValue(); This sample shows how to call ProtocolAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolAsync(); @@ -381,7 +381,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ProtocolAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolAsync(); @@ -394,7 +394,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call Protocol and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.Protocol(); @@ -404,7 +404,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call Protocol with all request content and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.Protocol(); @@ -417,14 +417,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceWithOptionalValueAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithOptionalValueAsync(); ]]> This sample shows how to call ConvenienceWithOptionalValueAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithOptionalValueAsync(); @@ -434,14 +434,14 @@ Response response = await client.ConvenienceWithOptionalValueAsync(); This sample shows how to call ConvenienceWithOptionalValue. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithOptionalValue(); ]]> This sample shows how to call ConvenienceWithOptionalValue with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithOptionalValue(); @@ -451,7 +451,7 @@ Response response = client.ConvenienceWithOptionalValue(); This sample shows how to call ConvenienceWithOptionalAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithOptionalAsync(); @@ -461,7 +461,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceWithOptionalAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithOptionalAsync(); @@ -474,7 +474,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceWithOptional and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithOptional(); @@ -484,7 +484,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceWithOptional with all request content and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithOptional(); @@ -497,14 +497,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceWithRequiredAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithRequiredAsync(); ]]> This sample shows how to call ConvenienceWithRequiredAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithRequiredAsync(); @@ -514,14 +514,14 @@ Response response = await client.ConvenienceWithRequiredAsync(); This sample shows how to call ConvenienceWithRequired. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithRequired(); ]]> This sample shows how to call ConvenienceWithRequired with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithRequired(); @@ -531,7 +531,7 @@ Response response = client.ConvenienceWithRequired(); This sample shows how to call ConvenienceWithRequiredAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithRequiredAsync(null); @@ -541,7 +541,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceWithRequiredAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithRequiredAsync(null); @@ -554,7 +554,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceWithRequired and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithRequired(null); @@ -564,7 +564,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceWithRequired with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithRequired(null); @@ -577,7 +577,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceShouldNotGenerateAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceShouldNotGenerateAsync(); @@ -586,7 +586,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceShouldNotGenerateAsync with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceShouldNotGenerateAsync(); @@ -598,7 +598,7 @@ Console.WriteLine(response.Status); This sample shows how to call ConvenienceShouldNotGenerate. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceShouldNotGenerate(); @@ -607,7 +607,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceShouldNotGenerate with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceShouldNotGenerate(); @@ -619,7 +619,7 @@ Console.WriteLine(response.Status); This sample shows how to call ProtocolShouldNotGenerateConvenienceAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolShouldNotGenerateConvenienceAsync(); @@ -628,7 +628,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ProtocolShouldNotGenerateConvenienceAsync with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolShouldNotGenerateConvenienceAsync(); @@ -640,7 +640,7 @@ Console.WriteLine(response.Status); This sample shows how to call ProtocolShouldNotGenerateConvenience. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolShouldNotGenerateConvenience(); @@ -649,7 +649,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ProtocolShouldNotGenerateConvenience with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolShouldNotGenerateConvenience(); @@ -661,14 +661,14 @@ Console.WriteLine(response.Status); This sample shows how to call ProtocolOptionalQueryValueAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalQueryValueAsync(); ]]> This sample shows how to call ProtocolOptionalQueryValueAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalQueryValueAsync(optional: 1234); @@ -678,14 +678,14 @@ Response response = await client.ProtocolOptionalQueryValueAsync(optional This sample shows how to call ProtocolOptionalQueryValue. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalQueryValue(); ]]> This sample shows how to call ProtocolOptionalQueryValue with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalQueryValue(optional: 1234); @@ -695,7 +695,7 @@ Response response = client.ProtocolOptionalQueryValue(optional: 1234); This sample shows how to call ProtocolOptionalQueryAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalQueryAsync(); @@ -705,7 +705,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ProtocolOptionalQueryAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalQueryAsync(optional: 1234); @@ -718,7 +718,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ProtocolOptionalQuery and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalQuery(); @@ -728,7 +728,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ProtocolOptionalQuery with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalQuery(optional: 1234); @@ -741,14 +741,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ProtocolRequiredQueryValueAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolRequiredQueryValueAsync(1234); ]]> This sample shows how to call ProtocolRequiredQueryValueAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolRequiredQueryValueAsync(1234); @@ -758,14 +758,14 @@ Response response = await client.ProtocolRequiredQueryValueAsync(1234); This sample shows how to call ProtocolRequiredQueryValue. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolRequiredQueryValue(1234); ]]> This sample shows how to call ProtocolRequiredQueryValue with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolRequiredQueryValue(1234); @@ -775,7 +775,7 @@ Response response = client.ProtocolRequiredQueryValue(1234); This sample shows how to call ProtocolRequiredQueryAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolRequiredQueryAsync(1234); @@ -785,7 +785,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ProtocolRequiredQueryAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolRequiredQueryAsync(1234); @@ -798,7 +798,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ProtocolRequiredQuery and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolRequiredQuery(1234); @@ -808,7 +808,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ProtocolRequiredQuery with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolRequiredQuery(1234); @@ -821,14 +821,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ProtocolOptionalModelAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalModelAsync(); ]]> This sample shows how to call ProtocolOptionalModelAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -839,14 +839,14 @@ Response response = await client.ProtocolOptionalModelAsync(optional: optional); This sample shows how to call ProtocolOptionalModel. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalModel(); ]]> This sample shows how to call ProtocolOptionalModel with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -857,7 +857,7 @@ Response response = client.ProtocolOptionalModel(optional: optional); This sample shows how to call ProtocolOptionalModelAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -867,7 +867,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ProtocolOptionalModelAsync with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -883,7 +883,7 @@ Console.WriteLine(response.Status); This sample shows how to call ProtocolOptionalModel. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -893,7 +893,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ProtocolOptionalModel with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -909,7 +909,7 @@ Console.WriteLine(response.Status); This sample shows how to call ProtocolRequiredModelAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -917,7 +917,7 @@ Response response = await client.ProtocolRequiredModelAsync(required); ]]> This sample shows how to call ProtocolRequiredModelAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -928,7 +928,7 @@ Response response = await client.ProtocolRequiredModelAsync(required); This sample shows how to call ProtocolRequiredModel. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -936,7 +936,7 @@ Response response = client.ProtocolRequiredModel(required); ]]> This sample shows how to call ProtocolRequiredModel with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -947,7 +947,7 @@ Response response = client.ProtocolRequiredModel(required); This sample shows how to call ProtocolRequiredModelAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -960,7 +960,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ProtocolRequiredModelAsync with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -976,7 +976,7 @@ Console.WriteLine(response.Status); This sample shows how to call ProtocolRequiredModel. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -989,7 +989,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ProtocolRequiredModel with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1005,14 +1005,14 @@ Console.WriteLine(response.Status); This sample shows how to call ConvenienceOptionalQueryWithOptionalValueAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithOptionalValueAsync(); ]]> This sample shows how to call ConvenienceOptionalQueryWithOptionalValueAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithOptionalValueAsync(optional: 1234); @@ -1022,14 +1022,14 @@ Response response = await client.ConvenienceOptionalQueryWithOptionalValu This sample shows how to call ConvenienceOptionalQueryWithOptionalValue. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithOptionalValue(); ]]> This sample shows how to call ConvenienceOptionalQueryWithOptionalValue with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithOptionalValue(optional: 1234); @@ -1039,7 +1039,7 @@ Response response = client.ConvenienceOptionalQueryWithOptionalValue(opti This sample shows how to call ConvenienceOptionalQueryWithOptionalAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithOptionalAsync(); @@ -1049,7 +1049,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceOptionalQueryWithOptionalAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithOptionalAsync(optional: 1234); @@ -1062,7 +1062,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceOptionalQueryWithOptional and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithOptional(); @@ -1072,7 +1072,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceOptionalQueryWithOptional with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithOptional(optional: 1234); @@ -1085,14 +1085,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceRequiredQueryWithOptionalValueAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithOptionalValueAsync(1234); ]]> This sample shows how to call ConvenienceRequiredQueryWithOptionalValueAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithOptionalValueAsync(1234); @@ -1102,14 +1102,14 @@ Response response = await client.ConvenienceRequiredQueryWithOptionalValu This sample shows how to call ConvenienceRequiredQueryWithOptionalValue. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithOptionalValue(1234); ]]> This sample shows how to call ConvenienceRequiredQueryWithOptionalValue with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithOptionalValue(1234); @@ -1119,7 +1119,7 @@ Response response = client.ConvenienceRequiredQueryWithOptionalValue(1234 This sample shows how to call ConvenienceRequiredQueryWithOptionalAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithOptionalAsync(1234); @@ -1129,7 +1129,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceRequiredQueryWithOptionalAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithOptionalAsync(1234); @@ -1142,7 +1142,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceRequiredQueryWithOptional and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithOptional(1234); @@ -1152,7 +1152,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceRequiredQueryWithOptional with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithOptional(1234); @@ -1165,14 +1165,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceOptionalQueryWithRequiredAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithRequiredAsync(); ]]> This sample shows how to call ConvenienceOptionalQueryWithRequiredAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithRequiredAsync(optional: 1234); @@ -1182,14 +1182,14 @@ Response response = await client.ConvenienceOptionalQueryWithRequiredAsyn This sample shows how to call ConvenienceOptionalQueryWithRequired. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithRequired(); ]]> This sample shows how to call ConvenienceOptionalQueryWithRequired with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithRequired(optional: 1234); @@ -1199,7 +1199,7 @@ Response response = client.ConvenienceOptionalQueryWithRequired(optional: This sample shows how to call ConvenienceOptionalQueryWithRequiredAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithRequiredAsync(null, null); @@ -1209,7 +1209,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceOptionalQueryWithRequiredAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithRequiredAsync(1234, null); @@ -1222,7 +1222,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceOptionalQueryWithRequired and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithRequired(null, null); @@ -1232,7 +1232,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceOptionalQueryWithRequired with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithRequired(1234, null); @@ -1245,14 +1245,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceRequiredQueryWithRequiredAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithRequiredAsync(1234); ]]> This sample shows how to call ConvenienceRequiredQueryWithRequiredAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithRequiredAsync(1234); @@ -1262,14 +1262,14 @@ Response response = await client.ConvenienceRequiredQueryWithRequiredAsyn This sample shows how to call ConvenienceRequiredQueryWithRequired. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithRequired(1234); ]]> This sample shows how to call ConvenienceRequiredQueryWithRequired with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithRequired(1234); @@ -1279,7 +1279,7 @@ Response response = client.ConvenienceRequiredQueryWithRequired(1234); This sample shows how to call ConvenienceRequiredQueryWithRequiredAsync and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithRequiredAsync(1234, null); @@ -1289,7 +1289,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceRequiredQueryWithRequiredAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithRequiredAsync(1234, null); @@ -1302,7 +1302,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceRequiredQueryWithRequired and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithRequired(1234, null); @@ -1312,7 +1312,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call ConvenienceRequiredQueryWithRequired with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithRequired(1234, null); @@ -1325,14 +1325,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call ConvenienceOptionalModelWithOptionalAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalModelWithOptionalAsync(); ]]> This sample shows how to call ConvenienceOptionalModelWithOptionalAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1343,14 +1343,14 @@ Response response = await client.ConvenienceOptionalModelWithOptionalAsync(optio This sample shows how to call ConvenienceOptionalModelWithOptional. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalModelWithOptional(); ]]> This sample shows how to call ConvenienceOptionalModelWithOptional with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1361,7 +1361,7 @@ Response response = client.ConvenienceOptionalModelWithOptional(optional: option This sample shows how to call ConvenienceOptionalModelWithOptionalAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -1371,7 +1371,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceOptionalModelWithOptionalAsync with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1387,7 +1387,7 @@ Console.WriteLine(response.Status); This sample shows how to call ConvenienceOptionalModelWithOptional. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -1397,7 +1397,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceOptionalModelWithOptional with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1413,7 +1413,7 @@ Console.WriteLine(response.Status); This sample shows how to call ConvenienceRequiredModelWithOptionalAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1421,7 +1421,7 @@ Response response = await client.ConvenienceRequiredModelWithOptionalAsync(requi ]]> This sample shows how to call ConvenienceRequiredModelWithOptionalAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1432,7 +1432,7 @@ Response response = await client.ConvenienceRequiredModelWithOptionalAsync(requi This sample shows how to call ConvenienceRequiredModelWithOptional. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1440,7 +1440,7 @@ Response response = client.ConvenienceRequiredModelWithOptional(required); ]]> This sample shows how to call ConvenienceRequiredModelWithOptional with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1451,7 +1451,7 @@ Response response = client.ConvenienceRequiredModelWithOptional(required); This sample shows how to call ConvenienceRequiredModelWithOptionalAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1464,7 +1464,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceRequiredModelWithOptionalAsync with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1480,7 +1480,7 @@ Console.WriteLine(response.Status); This sample shows how to call ConvenienceRequiredModelWithOptional. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1493,7 +1493,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceRequiredModelWithOptional with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1509,14 +1509,14 @@ Console.WriteLine(response.Status); This sample shows how to call ConvenienceOptionalModelWithRequiredAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalModelWithRequiredAsync(); ]]> This sample shows how to call ConvenienceOptionalModelWithRequiredAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1527,14 +1527,14 @@ Response response = await client.ConvenienceOptionalModelWithRequiredAsync(optio This sample shows how to call ConvenienceOptionalModelWithRequired. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalModelWithRequired(); ]]> This sample shows how to call ConvenienceOptionalModelWithRequired with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1545,7 +1545,7 @@ Response response = client.ConvenienceOptionalModelWithRequired(optional: option This sample shows how to call ConvenienceOptionalModelWithRequiredAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -1555,7 +1555,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceOptionalModelWithRequiredAsync with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1571,7 +1571,7 @@ Console.WriteLine(response.Status); This sample shows how to call ConvenienceOptionalModelWithRequired. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -1581,7 +1581,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ConvenienceOptionalModelWithRequired with all request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1597,7 +1597,7 @@ Console.WriteLine(response.Status); This sample shows how to call ProtocolOptionalBeforeRequiredAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1605,7 +1605,7 @@ Response response = await client.ProtocolOptionalBeforeRequiredAsync(required); ]]> This sample shows how to call ProtocolOptionalBeforeRequiredAsync with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1616,7 +1616,7 @@ Response response = await client.ProtocolOptionalBeforeRequiredAsync(required, o This sample shows how to call ProtocolOptionalBeforeRequired. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1624,7 +1624,7 @@ Response response = client.ProtocolOptionalBeforeRequired(required); ]]> This sample shows how to call ProtocolOptionalBeforeRequired with all parameters. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1635,7 +1635,7 @@ Response response = client.ProtocolOptionalBeforeRequired(required, optional: 12 This sample shows how to call ProtocolOptionalBeforeRequiredAsync. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1648,7 +1648,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ProtocolOptionalBeforeRequiredAsync with all parameters and request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1664,7 +1664,7 @@ Console.WriteLine(response.Status); This sample shows how to call ProtocolOptionalBeforeRequired. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1677,7 +1677,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ProtocolOptionalBeforeRequired with all parameters and request content. "); +Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new diff --git a/test/TestProjects/ConvenienceUpdate-TypeSpec/tests/Generated/Samples/Samples_ConvenienceInCadlClient.cs b/test/TestProjects/ConvenienceUpdate-TypeSpec/tests/Generated/Samples/Samples_ConvenienceInCadlClient.cs index 8fb1295b9d7..a02fd45f8cb 100644 --- a/test/TestProjects/ConvenienceUpdate-TypeSpec/tests/Generated/Samples/Samples_ConvenienceInCadlClient.cs +++ b/test/TestProjects/ConvenienceUpdate-TypeSpec/tests/Generated/Samples/Samples_ConvenienceInCadlClient.cs @@ -22,7 +22,7 @@ public partial class Samples_ConvenienceInCadlClient [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_UpdateConvenience_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.UpdateConvenience(null); @@ -35,7 +35,7 @@ public void Example_ConvenienceInCadl_UpdateConvenience_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_UpdateConvenience_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.UpdateConvenienceAsync(null); @@ -48,7 +48,7 @@ public async Task Example_ConvenienceInCadl_UpdateConvenience_ShortVersion_Async [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_UpdateConvenience_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.UpdateConvenience(); @@ -58,7 +58,7 @@ public void Example_ConvenienceInCadl_UpdateConvenience_ShortVersion_Convenience [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_UpdateConvenience_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.UpdateConvenienceAsync(); @@ -68,7 +68,7 @@ public async Task Example_ConvenienceInCadl_UpdateConvenience_ShortVersion_Conve [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_UpdateConvenience_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.UpdateConvenience(null); @@ -81,7 +81,7 @@ public void Example_ConvenienceInCadl_UpdateConvenience_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_UpdateConvenience_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.UpdateConvenienceAsync(null); @@ -94,7 +94,7 @@ public async Task Example_ConvenienceInCadl_UpdateConvenience_AllParameters_Asyn [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_UpdateConvenience_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.UpdateConvenience(); @@ -104,7 +104,7 @@ public void Example_ConvenienceInCadl_UpdateConvenience_AllParameters_Convenienc [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_UpdateConvenience_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.UpdateConvenienceAsync(); @@ -114,7 +114,7 @@ public async Task Example_ConvenienceInCadl_UpdateConvenience_AllParameters_Conv [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -130,7 +130,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_ShortVer [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -146,7 +146,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_Sh [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -157,7 +157,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_ShortVer [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -168,7 +168,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_Sh [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -184,7 +184,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_AllParam [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -200,7 +200,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_Al [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -211,7 +211,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_AllParam [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -222,7 +222,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalBeforeRequired_Al [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_NoConvenience_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.NoConvenience(null); @@ -235,7 +235,7 @@ public void Example_ConvenienceInCadl_NoConvenience_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_NoConvenience_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.NoConvenienceAsync(null); @@ -248,7 +248,7 @@ public async Task Example_ConvenienceInCadl_NoConvenience_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_NoConvenience_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.NoConvenience(null); @@ -261,7 +261,7 @@ public void Example_ConvenienceInCadl_NoConvenience_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_NoConvenience_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.NoConvenienceAsync(null); @@ -274,7 +274,7 @@ public async Task Example_ConvenienceInCadl_NoConvenience_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_NoConvenienceRequiredBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -290,7 +290,7 @@ public void Example_ConvenienceInCadl_NoConvenienceRequiredBody_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_NoConvenienceRequiredBody_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -306,7 +306,7 @@ public async Task Example_ConvenienceInCadl_NoConvenienceRequiredBody_ShortVersi [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_NoConvenienceRequiredBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -322,7 +322,7 @@ public void Example_ConvenienceInCadl_NoConvenienceRequiredBody_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_NoConvenienceRequiredBody_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -338,7 +338,7 @@ public async Task Example_ConvenienceInCadl_NoConvenienceRequiredBody_AllParamet [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_NoConvenienceOptionalBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -351,7 +351,7 @@ public void Example_ConvenienceInCadl_NoConvenienceOptionalBody_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_NoConvenienceOptionalBody_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -364,7 +364,7 @@ public async Task Example_ConvenienceInCadl_NoConvenienceOptionalBody_ShortVersi [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_NoConvenienceOptionalBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -380,7 +380,7 @@ public void Example_ConvenienceInCadl_NoConvenienceOptionalBody_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_NoConvenienceOptionalBody_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -396,7 +396,7 @@ public async Task Example_ConvenienceInCadl_NoConvenienceOptionalBody_AllParamet [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_Protocol_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.Protocol(); @@ -409,7 +409,7 @@ public void Example_ConvenienceInCadl_Protocol_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_Protocol_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolAsync(); @@ -422,7 +422,7 @@ public async Task Example_ConvenienceInCadl_Protocol_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_Protocol_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolValue(); @@ -432,7 +432,7 @@ public void Example_ConvenienceInCadl_Protocol_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_Protocol_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolValueAsync(); @@ -442,7 +442,7 @@ public async Task Example_ConvenienceInCadl_Protocol_ShortVersion_Convenience_As [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_Protocol_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.Protocol(); @@ -455,7 +455,7 @@ public void Example_ConvenienceInCadl_Protocol_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_Protocol_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolAsync(); @@ -468,7 +468,7 @@ public async Task Example_ConvenienceInCadl_Protocol_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_Protocol_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolValue(); @@ -478,7 +478,7 @@ public void Example_ConvenienceInCadl_Protocol_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_Protocol_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolValueAsync(); @@ -488,7 +488,7 @@ public async Task Example_ConvenienceInCadl_Protocol_AllParameters_Convenience_A [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceWithOptional_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithOptional(); @@ -501,7 +501,7 @@ public void Example_ConvenienceInCadl_ConvenienceWithOptional_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceWithOptional_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithOptionalAsync(); @@ -514,7 +514,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceWithOptional_ShortVersion [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceWithOptional_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithOptionalValue(); @@ -524,7 +524,7 @@ public void Example_ConvenienceInCadl_ConvenienceWithOptional_ShortVersion_Conve [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceWithOptional_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithOptionalValueAsync(); @@ -534,7 +534,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceWithOptional_ShortVersion [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceWithOptional_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithOptional(); @@ -547,7 +547,7 @@ public void Example_ConvenienceInCadl_ConvenienceWithOptional_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceWithOptional_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithOptionalAsync(); @@ -560,7 +560,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceWithOptional_AllParameter [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceWithOptional_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithOptionalValue(); @@ -570,7 +570,7 @@ public void Example_ConvenienceInCadl_ConvenienceWithOptional_AllParameters_Conv [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceWithOptional_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithOptionalValueAsync(); @@ -580,7 +580,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceWithOptional_AllParameter [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceWithRequired_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithRequired(null); @@ -593,7 +593,7 @@ public void Example_ConvenienceInCadl_ConvenienceWithRequired_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceWithRequired_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithRequiredAsync(null); @@ -606,7 +606,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceWithRequired_ShortVersion [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceWithRequired_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithRequired(); @@ -616,7 +616,7 @@ public void Example_ConvenienceInCadl_ConvenienceWithRequired_ShortVersion_Conve [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceWithRequired_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithRequiredAsync(); @@ -626,7 +626,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceWithRequired_ShortVersion [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceWithRequired_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithRequired(null); @@ -639,7 +639,7 @@ public void Example_ConvenienceInCadl_ConvenienceWithRequired_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceWithRequired_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithRequiredAsync(null); @@ -652,7 +652,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceWithRequired_AllParameter [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceWithRequired_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceWithRequired(); @@ -662,7 +662,7 @@ public void Example_ConvenienceInCadl_ConvenienceWithRequired_AllParameters_Conv [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceWithRequired_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceWithRequiredAsync(); @@ -672,7 +672,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceWithRequired_AllParameter [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceShouldNotGenerate_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceShouldNotGenerate(); @@ -684,7 +684,7 @@ public void Example_ConvenienceInCadl_ConvenienceShouldNotGenerate_ShortVersion( [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceShouldNotGenerate_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceShouldNotGenerateAsync(); @@ -696,7 +696,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceShouldNotGenerate_ShortVe [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceShouldNotGenerate_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceShouldNotGenerate(); @@ -708,7 +708,7 @@ public void Example_ConvenienceInCadl_ConvenienceShouldNotGenerate_AllParameters [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceShouldNotGenerate_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceShouldNotGenerateAsync(); @@ -720,7 +720,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceShouldNotGenerate_AllPara [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolShouldNotGenerateConvenience_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolShouldNotGenerateConvenience(); @@ -732,7 +732,7 @@ public void Example_ConvenienceInCadl_ProtocolShouldNotGenerateConvenience_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolShouldNotGenerateConvenience_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolShouldNotGenerateConvenienceAsync(); @@ -744,7 +744,7 @@ public async Task Example_ConvenienceInCadl_ProtocolShouldNotGenerateConvenience [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolShouldNotGenerateConvenience_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolShouldNotGenerateConvenience(); @@ -756,7 +756,7 @@ public void Example_ConvenienceInCadl_ProtocolShouldNotGenerateConvenience_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolShouldNotGenerateConvenience_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolShouldNotGenerateConvenienceAsync(); @@ -768,7 +768,7 @@ public async Task Example_ConvenienceInCadl_ProtocolShouldNotGenerateConvenience [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalQuery_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalQuery(); @@ -781,7 +781,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalQuery_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalQuery_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalQueryAsync(); @@ -794,7 +794,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalQuery_ShortVersion_A [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalQuery_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalQueryValue(); @@ -804,7 +804,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalQuery_ShortVersion_Conveni [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalQuery_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalQueryValueAsync(); @@ -814,7 +814,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalQuery_ShortVersion_C [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalQuery_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalQuery(optional: 1234); @@ -827,7 +827,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalQuery_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalQuery_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalQueryAsync(optional: 1234); @@ -840,7 +840,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalQuery_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalQuery_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalQueryValue(optional: 1234); @@ -850,7 +850,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalQuery_AllParameters_Conven [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalQuery_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalQueryValueAsync(optional: 1234); @@ -860,7 +860,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalQuery_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolRequiredQuery_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolRequiredQuery(1234); @@ -873,7 +873,7 @@ public void Example_ConvenienceInCadl_ProtocolRequiredQuery_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolRequiredQuery_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolRequiredQueryAsync(1234); @@ -886,7 +886,7 @@ public async Task Example_ConvenienceInCadl_ProtocolRequiredQuery_ShortVersion_A [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolRequiredQuery_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolRequiredQueryValue(1234); @@ -896,7 +896,7 @@ public void Example_ConvenienceInCadl_ProtocolRequiredQuery_ShortVersion_Conveni [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolRequiredQuery_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolRequiredQueryValueAsync(1234); @@ -906,7 +906,7 @@ public async Task Example_ConvenienceInCadl_ProtocolRequiredQuery_ShortVersion_C [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolRequiredQuery_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolRequiredQuery(1234); @@ -919,7 +919,7 @@ public void Example_ConvenienceInCadl_ProtocolRequiredQuery_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolRequiredQuery_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolRequiredQueryAsync(1234); @@ -932,7 +932,7 @@ public async Task Example_ConvenienceInCadl_ProtocolRequiredQuery_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolRequiredQuery_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolRequiredQueryValue(1234); @@ -942,7 +942,7 @@ public void Example_ConvenienceInCadl_ProtocolRequiredQuery_AllParameters_Conven [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolRequiredQuery_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolRequiredQueryValueAsync(1234); @@ -952,7 +952,7 @@ public async Task Example_ConvenienceInCadl_ProtocolRequiredQuery_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalModel_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -965,7 +965,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalModel_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalModel_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -978,7 +978,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalModel_ShortVersion_A [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalModel_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ProtocolOptionalModel(); @@ -988,7 +988,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalModel_ShortVersion_Conveni [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalModel_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ProtocolOptionalModelAsync(); @@ -998,7 +998,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalModel_ShortVersion_C [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalModel_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1014,7 +1014,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalModel_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalModel_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1030,7 +1030,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalModel_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalModel_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1041,7 +1041,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalModel_AllParameters_Conven [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalModel_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1052,7 +1052,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalModel_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolRequiredModel_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1068,7 +1068,7 @@ public void Example_ConvenienceInCadl_ProtocolRequiredModel_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolRequiredModel_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1084,7 +1084,7 @@ public async Task Example_ConvenienceInCadl_ProtocolRequiredModel_ShortVersion_A [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolRequiredModel_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1095,7 +1095,7 @@ public void Example_ConvenienceInCadl_ProtocolRequiredModel_ShortVersion_Conveni [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolRequiredModel_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1106,7 +1106,7 @@ public async Task Example_ConvenienceInCadl_ProtocolRequiredModel_ShortVersion_C [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolRequiredModel_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1122,7 +1122,7 @@ public void Example_ConvenienceInCadl_ProtocolRequiredModel_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolRequiredModel_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1138,7 +1138,7 @@ public async Task Example_ConvenienceInCadl_ProtocolRequiredModel_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolRequiredModel_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1149,7 +1149,7 @@ public void Example_ConvenienceInCadl_ProtocolRequiredModel_AllParameters_Conven [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolRequiredModel_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1160,7 +1160,7 @@ public async Task Example_ConvenienceInCadl_ProtocolRequiredModel_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithOptional(); @@ -1173,7 +1173,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithOptionalAsync(); @@ -1186,7 +1186,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithOptionalValue(); @@ -1196,7 +1196,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithOptionalValueAsync(); @@ -1206,7 +1206,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithOptional(optional: 1234); @@ -1219,7 +1219,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithOptionalAsync(optional: 1234); @@ -1232,7 +1232,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithOptionalValue(optional: 1234); @@ -1242,7 +1242,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithOptionalValueAsync(optional: 1234); @@ -1252,7 +1252,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithOptional(1234); @@ -1265,7 +1265,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithOptionalAsync(1234); @@ -1278,7 +1278,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithOptionalValue(1234); @@ -1288,7 +1288,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithOptionalValueAsync(1234); @@ -1298,7 +1298,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithOptional(1234); @@ -1311,7 +1311,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithOptionalAsync(1234); @@ -1324,7 +1324,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithOptionalValue(1234); @@ -1334,7 +1334,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithOptionalValueAsync(1234); @@ -1344,7 +1344,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithRequired(null, null); @@ -1357,7 +1357,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithRequiredAsync(null, null); @@ -1370,7 +1370,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithRequired(); @@ -1380,7 +1380,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithRequiredAsync(); @@ -1390,7 +1390,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithRequired(1234, null); @@ -1403,7 +1403,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithRequiredAsync(1234, null); @@ -1416,7 +1416,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalQueryWithRequired(optional: 1234); @@ -1426,7 +1426,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalQueryWithRequiredAsync(optional: 1234); @@ -1436,7 +1436,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalQueryWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithRequired(1234, null); @@ -1449,7 +1449,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithRequiredAsync(1234, null); @@ -1462,7 +1462,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithRequired(1234); @@ -1472,7 +1472,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithRequiredAsync(1234); @@ -1482,7 +1482,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithRequired(1234, null); @@ -1495,7 +1495,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithRequiredAsync(1234, null); @@ -1508,7 +1508,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceRequiredQueryWithRequired(1234); @@ -1518,7 +1518,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceRequiredQueryWithRequiredAsync(1234); @@ -1528,7 +1528,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredQueryWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -1541,7 +1541,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -1554,7 +1554,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalModelWithOptional(); @@ -1564,7 +1564,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalModelWithOptionalAsync(); @@ -1574,7 +1574,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1590,7 +1590,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1606,7 +1606,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1617,7 +1617,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1628,7 +1628,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1644,7 +1644,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1660,7 +1660,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1671,7 +1671,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1682,7 +1682,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1698,7 +1698,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1714,7 +1714,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1725,7 +1725,7 @@ public void Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1736,7 +1736,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceRequiredModelWithOptional [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -1749,7 +1749,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = null; @@ -1762,7 +1762,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = client.ConvenienceOptionalModelWithRequired(); @@ -1772,7 +1772,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_Short [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Response response = await client.ConvenienceOptionalModelWithRequiredAsync(); @@ -1782,7 +1782,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1798,7 +1798,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1814,7 +1814,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1825,7 +1825,7 @@ public void Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_AllPa [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model optional = new Model(""); @@ -1836,7 +1836,7 @@ public async Task Example_ConvenienceInCadl_ConvenienceOptionalModelWithRequired [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1852,7 +1852,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_ShortVersio [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1868,7 +1868,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_Short [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1879,7 +1879,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_ShortVersio [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1890,7 +1890,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_Short [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1906,7 +1906,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_AllParamete [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1922,7 +1922,7 @@ public async Task Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_AllPa [Ignore("Only validating compilation of examples")] public void Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); @@ -1933,7 +1933,7 @@ public void Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_AllParamete [Ignore("Only validating compilation of examples")] public async Task Example_ConvenienceInCadl_ProtocolOptionalBeforeRequired_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ConvenienceInCadlClient client = new ConvenienceInCadlClient(endpoint); Model required = new Model(""); diff --git a/test/TestProjects/ConvenienceUpdate-TypeSpec/tspCodeModel.json b/test/TestProjects/ConvenienceUpdate-TypeSpec/tspCodeModel.json index 5a557c62228..188d07a4ad0 100644 --- a/test/TestProjects/ConvenienceUpdate-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/ConvenienceUpdate-TypeSpec/tspCodeModel.json @@ -50,34 +50,13 @@ "Parameters": [ { "$id": "7", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "8", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "9", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "10", + "$id": "8", "kind": "constant", "valueType": { - "$id": "11", + "$id": "9", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99,7 +78,7 @@ ], "Responses": [ { - "$id": "12", + "$id": "10", "StatusCodes": [ 200 ], @@ -125,21 +104,18 @@ "Decorators": [] }, { - "$id": "13", + "$id": "11", "Name": "convenienceOptionalBeforeRequired", "ResourceName": "ConvenienceInCadl", "Description": "No initial operation methods. In the updated version, we add the protocol method and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "14", + "$id": "12", "Name": "optional", "NameInRequest": "optional", "Type": { - "$id": "15", + "$id": "13", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -156,15 +132,15 @@ "SkipUrlEncoding": false }, { - "$id": "16", + "$id": "14", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "17", + "$id": "15", "kind": "constant", "valueType": { - "$id": "18", + "$id": "16", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -184,7 +160,7 @@ "SkipUrlEncoding": false }, { - "$id": "19", + "$id": "17", "Name": "required", "NameInRequest": "required", "Type": { @@ -203,7 +179,7 @@ ], "Responses": [ { - "$id": "20", + "$id": "18", "StatusCodes": [ 200 ], @@ -226,24 +202,21 @@ "Decorators": [] }, { - "$id": "21", + "$id": "19", "Name": "noConvenience", "ResourceName": "ConvenienceInCadl", "Description": "No convenience method. But if we add the convenientAPI decorator, there will be ambiguity.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "22", + "$id": "20", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "23", + "$id": "21", "kind": "constant", "valueType": { - "$id": "24", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -265,7 +238,7 @@ ], "Responses": [ { - "$id": "25", + "$id": "23", "StatusCodes": [ 200 ], @@ -291,25 +264,22 @@ "Decorators": [] }, { - "$id": "26", + "$id": "24", "Name": "noConvenienceRequiredBody", "ResourceName": "ConvenienceInCadl", "Description": "No convenience method. But if we add the convenientAPI decorator, there will be no ambiguity.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "27", + "$id": "25", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "28", + "$id": "26", "kind": "constant", "valueType": { - "$id": "29", + "$id": "27", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -329,7 +299,7 @@ "SkipUrlEncoding": false }, { - "$id": "30", + "$id": "28", "Name": "required", "NameInRequest": "required", "Type": { @@ -348,7 +318,7 @@ ], "Responses": [ { - "$id": "31", + "$id": "29", "StatusCodes": [ 200 ], @@ -371,25 +341,22 @@ "Decorators": [] }, { - "$id": "32", + "$id": "30", "Name": "noConvenienceOptionalBody", "ResourceName": "ConvenienceInCadl", "Description": "No convenience method. But if we add the convenientAPI decorator, there will be ambiguity.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "33", + "$id": "31", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "34", + "$id": "32", "kind": "constant", "valueType": { - "$id": "35", + "$id": "33", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -409,7 +376,7 @@ "SkipUrlEncoding": false }, { - "$id": "36", + "$id": "34", "Name": "optional", "NameInRequest": "optional", "Type": { @@ -428,7 +395,7 @@ ], "Responses": [ { - "$id": "37", + "$id": "35", "StatusCodes": [ 200 ], @@ -451,24 +418,21 @@ "Decorators": [] }, { - "$id": "38", + "$id": "36", "Name": "protocol", "ResourceName": "ConvenienceInCadl", "Description": "Initial operation only has protocol method. In the updated version, we add the convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "39", + "$id": "37", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "40", + "$id": "38", "kind": "constant", "valueType": { - "$id": "41", + "$id": "39", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -490,7 +454,7 @@ ], "Responses": [ { - "$id": "42", + "$id": "40", "StatusCodes": [ 200 ], @@ -516,24 +480,21 @@ "Decorators": [] }, { - "$id": "43", + "$id": "41", "Name": "convenienceWithOptional", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method with optional RequestContext and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "44", + "$id": "42", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "45", + "$id": "43", "kind": "constant", "valueType": { - "$id": "46", + "$id": "44", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -555,7 +516,7 @@ ], "Responses": [ { - "$id": "47", + "$id": "45", "StatusCodes": [ 200 ], @@ -581,24 +542,21 @@ "Decorators": [] }, { - "$id": "48", + "$id": "46", "Name": "convenienceWithRequired", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method with required RequestContext and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "49", + "$id": "47", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "50", + "$id": "48", "kind": "constant", "valueType": { - "$id": "51", + "$id": "49", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -620,7 +578,7 @@ ], "Responses": [ { - "$id": "52", + "$id": "50", "StatusCodes": [ 200 ], @@ -646,19 +604,15 @@ "Decorators": [] }, { - "$id": "53", + "$id": "51", "Name": "convenienceShouldNotGenerate", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method marked with convenience method, but the convenience method should not be generated.", "Accessibility": "public", - "Parameters": [ - { - "$ref": "7" - } - ], + "Parameters": [], "Responses": [ { - "$id": "54", + "$id": "52", "StatusCodes": [ 200 ], @@ -678,19 +632,15 @@ "Decorators": [] }, { - "$id": "55", + "$id": "53", "Name": "protocolShouldNotGenerateConvenience", "ResourceName": "ConvenienceInCadl", "Description": "Initial operation only has protocol method, but the convenience method should not be generated even it marks the convenience decorator.", "Accessibility": "public", - "Parameters": [ - { - "$ref": "7" - } - ], + "Parameters": [], "Responses": [ { - "$id": "56", + "$id": "54", "StatusCodes": [ 200 ], @@ -710,21 +660,18 @@ "Decorators": [] }, { - "$id": "57", + "$id": "55", "Name": "protocolOptionalQuery", "ResourceName": "ConvenienceInCadl", "Description": "Initial operation only has protocol method with optional query parameter. In the updated version, we add the convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "58", + "$id": "56", "Name": "optional", "NameInRequest": "optional", "Type": { - "$id": "59", + "$id": "57", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -741,14 +688,14 @@ "SkipUrlEncoding": false }, { - "$id": "60", + "$id": "58", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "61", + "$id": "59", "kind": "constant", "valueType": { - "$id": "62", + "$id": "60", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -770,7 +717,7 @@ ], "Responses": [ { - "$id": "63", + "$id": "61", "StatusCodes": [ 200 ], @@ -796,21 +743,18 @@ "Decorators": [] }, { - "$id": "64", + "$id": "62", "Name": "protocolRequiredQuery", "ResourceName": "ConvenienceInCadl", "Description": "Initial operation only has protocol method with required query parameter. In the updated version, we add the convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "65", + "$id": "63", "Name": "required", "NameInRequest": "required", "Type": { - "$id": "66", + "$id": "64", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -827,14 +771,14 @@ "SkipUrlEncoding": false }, { - "$id": "67", + "$id": "65", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "68", + "$id": "66", "kind": "constant", "valueType": { - "$id": "69", + "$id": "67", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -856,7 +800,7 @@ ], "Responses": [ { - "$id": "70", + "$id": "68", "StatusCodes": [ 200 ], @@ -882,25 +826,22 @@ "Decorators": [] }, { - "$id": "71", + "$id": "69", "Name": "protocolOptionalModel", "ResourceName": "ConvenienceInCadl", "Description": "Initial operation only has protocol method with optional model parameter. In the updated version, we add the convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "72", + "$id": "70", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "73", + "$id": "71", "kind": "constant", "valueType": { - "$id": "74", + "$id": "72", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -920,7 +861,7 @@ "SkipUrlEncoding": false }, { - "$id": "75", + "$id": "73", "Name": "optional", "NameInRequest": "optional", "Type": { @@ -939,7 +880,7 @@ ], "Responses": [ { - "$id": "76", + "$id": "74", "StatusCodes": [ 200 ], @@ -962,25 +903,22 @@ "Decorators": [] }, { - "$id": "77", + "$id": "75", "Name": "protocolRequiredModel", "ResourceName": "ConvenienceInCadl", "Description": "Initial operation only has protocol method with required model parameter. In the updated version, we add the convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "78", + "$id": "76", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "79", + "$id": "77", "kind": "constant", "valueType": { - "$id": "80", + "$id": "78", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1000,7 +938,7 @@ "SkipUrlEncoding": false }, { - "$id": "81", + "$id": "79", "Name": "required", "NameInRequest": "required", "Type": { @@ -1019,7 +957,7 @@ ], "Responses": [ { - "$id": "82", + "$id": "80", "StatusCodes": [ 200 ], @@ -1042,21 +980,18 @@ "Decorators": [] }, { - "$id": "83", + "$id": "81", "Name": "convenienceOptionalQueryWithOptional", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method with optional query parameter and optional RequestContext and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "84", + "$id": "82", "Name": "optional", "NameInRequest": "optional", "Type": { - "$id": "85", + "$id": "83", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1073,14 +1008,14 @@ "SkipUrlEncoding": false }, { - "$id": "86", + "$id": "84", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "87", + "$id": "85", "kind": "constant", "valueType": { - "$id": "88", + "$id": "86", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1102,7 +1037,7 @@ ], "Responses": [ { - "$id": "89", + "$id": "87", "StatusCodes": [ 200 ], @@ -1128,21 +1063,18 @@ "Decorators": [] }, { - "$id": "90", + "$id": "88", "Name": "convenienceRequiredQueryWithOptional", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method with required query parameter and optional RequestContext and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "91", + "$id": "89", "Name": "required", "NameInRequest": "required", "Type": { - "$id": "92", + "$id": "90", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1159,14 +1091,14 @@ "SkipUrlEncoding": false }, { - "$id": "93", + "$id": "91", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "94", + "$id": "92", "kind": "constant", "valueType": { - "$id": "95", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1188,7 +1120,7 @@ ], "Responses": [ { - "$id": "96", + "$id": "94", "StatusCodes": [ 200 ], @@ -1214,21 +1146,18 @@ "Decorators": [] }, { - "$id": "97", + "$id": "95", "Name": "convenienceOptionalQueryWithRequired", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method with optional query parameter and required RequestContext and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "98", + "$id": "96", "Name": "optional", "NameInRequest": "optional", "Type": { - "$id": "99", + "$id": "97", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1245,14 +1174,14 @@ "SkipUrlEncoding": false }, { - "$id": "100", + "$id": "98", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "101", + "$id": "99", "kind": "constant", "valueType": { - "$id": "102", + "$id": "100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1274,7 +1203,7 @@ ], "Responses": [ { - "$id": "103", + "$id": "101", "StatusCodes": [ 200 ], @@ -1300,21 +1229,18 @@ "Decorators": [] }, { - "$id": "104", + "$id": "102", "Name": "convenienceRequiredQueryWithRequired", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method with required query parameter and required RequestContext and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "105", + "$id": "103", "Name": "required", "NameInRequest": "required", "Type": { - "$id": "106", + "$id": "104", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1331,14 +1257,14 @@ "SkipUrlEncoding": false }, { - "$id": "107", + "$id": "105", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "108", + "$id": "106", "kind": "constant", "valueType": { - "$id": "109", + "$id": "107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1360,7 +1286,7 @@ ], "Responses": [ { - "$id": "110", + "$id": "108", "StatusCodes": [ 200 ], @@ -1386,25 +1312,22 @@ "Decorators": [] }, { - "$id": "111", + "$id": "109", "Name": "convenienceOptionalModelWithOptional", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method with optional body parameter and optional RequestContext and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "112", + "$id": "110", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "113", + "$id": "111", "kind": "constant", "valueType": { - "$id": "114", + "$id": "112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1424,7 +1347,7 @@ "SkipUrlEncoding": false }, { - "$id": "115", + "$id": "113", "Name": "optional", "NameInRequest": "optional", "Type": { @@ -1443,7 +1366,7 @@ ], "Responses": [ { - "$id": "116", + "$id": "114", "StatusCodes": [ 200 ], @@ -1466,25 +1389,22 @@ "Decorators": [] }, { - "$id": "117", + "$id": "115", "Name": "convenienceRequiredModelWithOptional", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method with required body parameter and optional RequestContext and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "118", + "$id": "116", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "119", + "$id": "117", "kind": "constant", "valueType": { - "$id": "120", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1504,7 +1424,7 @@ "SkipUrlEncoding": false }, { - "$id": "121", + "$id": "119", "Name": "required", "NameInRequest": "required", "Type": { @@ -1523,7 +1443,7 @@ ], "Responses": [ { - "$id": "122", + "$id": "120", "StatusCodes": [ 200 ], @@ -1546,25 +1466,22 @@ "Decorators": [] }, { - "$id": "123", + "$id": "121", "Name": "convenienceOptionalModelWithRequired", "ResourceName": "ConvenienceInCadl", "Description": "Operation has protocol method with optional body parameter and required RequestContext and convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "124", + "$id": "122", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "125", + "$id": "123", "kind": "constant", "valueType": { - "$id": "126", + "$id": "124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1584,7 +1501,7 @@ "SkipUrlEncoding": false }, { - "$id": "127", + "$id": "125", "Name": "optional", "NameInRequest": "optional", "Type": { @@ -1603,7 +1520,7 @@ ], "Responses": [ { - "$id": "128", + "$id": "126", "StatusCodes": [ 200 ], @@ -1626,21 +1543,18 @@ "Decorators": [] }, { - "$id": "129", + "$id": "127", "Name": "protocolOptionalBeforeRequired", "ResourceName": "ConvenienceInCadl", "Description": "Initial operation has protocol method with optioanl parameter before required parameter. In the updated version, we add the convenience method.", "Accessibility": "public", "Parameters": [ { - "$ref": "7" - }, - { - "$id": "130", + "$id": "128", "Name": "optional", "NameInRequest": "optional", "Type": { - "$id": "131", + "$id": "129", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -1657,15 +1571,15 @@ "SkipUrlEncoding": false }, { - "$id": "132", + "$id": "130", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "133", + "$id": "131", "kind": "constant", "valueType": { - "$id": "134", + "$id": "132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1685,7 +1599,7 @@ "SkipUrlEncoding": false }, { - "$id": "135", + "$id": "133", "Name": "required", "NameInRequest": "required", "Type": { @@ -1704,7 +1618,7 @@ ], "Responses": [ { - "$id": "136", + "$id": "134", "StatusCodes": [ 200 ], @@ -1728,11 +1642,29 @@ } ], "Protocol": { - "$id": "137" + "$id": "135" }, "Parameters": [ { - "$ref": "7" + "$id": "136", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "137", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/TestProjects/Customizations-TypeSpec/src/Generated/Docs/CustomizationsInTspClient.xml b/test/TestProjects/Customizations-TypeSpec/src/Generated/Docs/CustomizationsInTspClient.xml index b28b17c2e9e..dfdf4bb4614 100644 --- a/test/TestProjects/Customizations-TypeSpec/src/Generated/Docs/CustomizationsInTspClient.xml +++ b/test/TestProjects/Customizations-TypeSpec/src/Generated/Docs/CustomizationsInTspClient.xml @@ -5,7 +5,7 @@ This sample shows how to call RoundTripAsync. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RootModel input = new RootModel(); @@ -13,7 +13,7 @@ Response response = await client.RoundTripAsync(input); ]]> This sample shows how to call RoundTripAsync with all parameters. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RootModel input = new RootModel @@ -72,7 +72,7 @@ Response response = await client.RoundTripAsync(input); This sample shows how to call RoundTrip. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RootModel input = new RootModel(); @@ -80,7 +80,7 @@ Response response = client.RoundTrip(input); ]]> This sample shows how to call RoundTrip with all parameters. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RootModel input = new RootModel @@ -139,7 +139,7 @@ Response response = client.RoundTrip(input); This sample shows how to call RoundTripAsync and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new object()); @@ -150,7 +150,7 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call RoundTripAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -279,7 +279,7 @@ Console.WriteLine(result.GetProperty("propertyModelStruct").GetProperty("optiona This sample shows how to call RoundTrip and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new object()); @@ -290,7 +290,7 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call RoundTrip with all request content and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -419,7 +419,7 @@ Console.WriteLine(result.GetProperty("propertyModelStruct").GetProperty("optiona This sample shows how to call FooAsync. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234); @@ -427,7 +427,7 @@ Response response = await client.FooAsync(input); ]]> This sample shows how to call FooAsync with all parameters. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234) @@ -441,7 +441,7 @@ Response response = await client.FooAsync(input); This sample shows how to call Foo. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234); @@ -449,7 +449,7 @@ Response response = client.Foo(input); ]]> This sample shows how to call Foo with all parameters. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234) @@ -463,7 +463,7 @@ Response response = client.Foo(input); This sample shows how to call FooAsync and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -477,7 +477,7 @@ Console.WriteLine(result.GetProperty("requiredIntOnBase").ToString()); ]]> This sample shows how to call FooAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -496,7 +496,7 @@ Console.WriteLine(result.GetProperty("optionalInt").ToString()); This sample shows how to call Foo and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -510,7 +510,7 @@ Console.WriteLine(result.GetProperty("requiredIntOnBase").ToString()); ]]> This sample shows how to call Foo with all request content and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -529,14 +529,14 @@ Console.WriteLine(result.GetProperty("optionalInt").ToString()); This sample shows how to call BarAsync. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); Response response = await client.BarAsync(1234); ]]> This sample shows how to call BarAsync with all parameters. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); Response response = await client.BarAsync(1234, optionalInt: 1234); @@ -546,14 +546,14 @@ Response response = await client.BarAsync(1234, optionalInt: 1234) This sample shows how to call Bar. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); Response response = client.Bar(1234); ]]> This sample shows how to call Bar with all parameters. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); Response response = client.Bar(1234, optionalInt: 1234); @@ -563,7 +563,7 @@ Response response = client.Bar(1234, optionalInt: 1234); This sample shows how to call BarAsync and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -577,7 +577,7 @@ Console.WriteLine(result.GetProperty("requiredIntOnBase").ToString()); ]]> This sample shows how to call BarAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -596,7 +596,7 @@ Console.WriteLine(result.GetProperty("optionalInt").ToString()); This sample shows how to call Bar and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -610,7 +610,7 @@ Console.WriteLine(result.GetProperty("requiredIntOnBase").ToString()); ]]> This sample shows how to call Bar with all request content and parse the result. "); +Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new diff --git a/test/TestProjects/Customizations-TypeSpec/tests/Generated/Samples/Samples_CustomizationsInTspClient.cs b/test/TestProjects/Customizations-TypeSpec/tests/Generated/Samples/Samples_CustomizationsInTspClient.cs index 95fd539f5fc..d97971366ac 100644 --- a/test/TestProjects/Customizations-TypeSpec/tests/Generated/Samples/Samples_CustomizationsInTspClient.cs +++ b/test/TestProjects/Customizations-TypeSpec/tests/Generated/Samples/Samples_CustomizationsInTspClient.cs @@ -24,7 +24,7 @@ public partial class Samples_CustomizationsInTspClient [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_RoundTrip_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new object()); @@ -38,7 +38,7 @@ public void Example_CustomizationsInTsp_RoundTrip_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_RoundTrip_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new object()); @@ -52,7 +52,7 @@ public async Task Example_CustomizationsInTsp_RoundTrip_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_RoundTrip_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RootModel input = new RootModel(); @@ -63,7 +63,7 @@ public void Example_CustomizationsInTsp_RoundTrip_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_RoundTrip_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RootModel input = new RootModel(); @@ -74,7 +74,7 @@ public async Task Example_CustomizationsInTsp_RoundTrip_ShortVersion_Convenience [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_RoundTrip_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -203,7 +203,7 @@ public void Example_CustomizationsInTsp_RoundTrip_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_RoundTrip_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -332,7 +332,7 @@ public async Task Example_CustomizationsInTsp_RoundTrip_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_RoundTrip_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RootModel input = new RootModel @@ -391,7 +391,7 @@ public void Example_CustomizationsInTsp_RoundTrip_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_RoundTrip_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RootModel input = new RootModel @@ -450,7 +450,7 @@ public async Task Example_CustomizationsInTsp_RoundTrip_AllParameters_Convenienc [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_Foo_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -467,7 +467,7 @@ public void Example_CustomizationsInTsp_Foo_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_Foo_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -484,7 +484,7 @@ public async Task Example_CustomizationsInTsp_Foo_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_Foo_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234); @@ -495,7 +495,7 @@ public void Example_CustomizationsInTsp_Foo_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_Foo_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234); @@ -506,7 +506,7 @@ public async Task Example_CustomizationsInTsp_Foo_ShortVersion_Convenience_Async [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_Foo_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -525,7 +525,7 @@ public void Example_CustomizationsInTsp_Foo_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_Foo_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -544,7 +544,7 @@ public async Task Example_CustomizationsInTsp_Foo_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_Foo_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234) @@ -558,7 +558,7 @@ public void Example_CustomizationsInTsp_Foo_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_Foo_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234) @@ -572,7 +572,7 @@ public async Task Example_CustomizationsInTsp_Foo_AllParameters_Convenience_Asyn [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_Bar_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -589,7 +589,7 @@ public void Example_CustomizationsInTsp_Bar_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_Bar_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -606,7 +606,7 @@ public async Task Example_CustomizationsInTsp_Bar_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_Bar_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); Response response = client.Bar(1234); @@ -616,7 +616,7 @@ public void Example_CustomizationsInTsp_Bar_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_Bar_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); Response response = await client.BarAsync(1234); @@ -626,7 +626,7 @@ public async Task Example_CustomizationsInTsp_Bar_ShortVersion_Convenience_Async [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_Bar_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -645,7 +645,7 @@ public void Example_CustomizationsInTsp_Bar_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_Bar_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -664,7 +664,7 @@ public async Task Example_CustomizationsInTsp_Bar_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_CustomizationsInTsp_Bar_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); Response response = client.Bar(1234, optionalInt: 1234); @@ -674,7 +674,7 @@ public void Example_CustomizationsInTsp_Bar_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_CustomizationsInTsp_Bar_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = new CustomizationsInTspClient(endpoint); Response response = await client.BarAsync(1234, optionalInt: 1234); diff --git a/test/TestProjects/Customizations-TypeSpec/tests/Generated/Tests/CustomizationsInTspClientTests.cs b/test/TestProjects/Customizations-TypeSpec/tests/Generated/Tests/CustomizationsInTspClientTests.cs index 8f0b114d815..fe208ac68ae 100644 --- a/test/TestProjects/Customizations-TypeSpec/tests/Generated/Tests/CustomizationsInTspClientTests.cs +++ b/test/TestProjects/Customizations-TypeSpec/tests/Generated/Tests/CustomizationsInTspClientTests.cs @@ -28,7 +28,7 @@ public CustomizationsInTspClientTests(bool isAsync) : base(isAsync) [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_RoundTrip_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new object()); @@ -39,7 +39,7 @@ public async Task CustomizationsInTsp_RoundTrip_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_RoundTrip_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); RootModel input = new RootModel(); @@ -50,7 +50,7 @@ public async Task CustomizationsInTsp_RoundTrip_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_RoundTrip_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -142,7 +142,7 @@ public async Task CustomizationsInTsp_RoundTrip_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_RoundTrip_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); RootModel input = new RootModel @@ -201,7 +201,7 @@ public async Task CustomizationsInTsp_RoundTrip_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_Foo_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -215,7 +215,7 @@ public async Task CustomizationsInTsp_Foo_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_Foo_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234); @@ -226,7 +226,7 @@ public async Task CustomizationsInTsp_Foo_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_Foo_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -241,7 +241,7 @@ public async Task CustomizationsInTsp_Foo_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_Foo_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); RenamedModel input = new RenamedModel(1234) @@ -255,7 +255,7 @@ public async Task CustomizationsInTsp_Foo_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_Bar_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -269,7 +269,7 @@ public async Task CustomizationsInTsp_Bar_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_Bar_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); Response response = await client.BarAsync(1234); @@ -279,7 +279,7 @@ public async Task CustomizationsInTsp_Bar_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_Bar_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -294,7 +294,7 @@ public async Task CustomizationsInTsp_Bar_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task CustomizationsInTsp_Bar_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); CustomizationsInTspClient client = CreateCustomizationsInTspClient(endpoint); Response response = await client.BarAsync(1234, optionalInt: 1234); diff --git a/test/TestProjects/Customizations-TypeSpec/tspCodeModel.json b/test/TestProjects/Customizations-TypeSpec/tspCodeModel.json index c60a21ab490..4b373aed35b 100644 --- a/test/TestProjects/Customizations-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/Customizations-TypeSpec/tspCodeModel.json @@ -1292,35 +1292,14 @@ "Parameters": [ { "$id": "135", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "136", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "137", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "138", + "$id": "136", "kind": "constant", "valueType": { - "$id": "139", + "$id": "137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1340,14 +1319,14 @@ "SkipUrlEncoding": false }, { - "$id": "140", + "$id": "138", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "141", + "$id": "139", "kind": "constant", "valueType": { - "$id": "142", + "$id": "140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1367,7 +1346,7 @@ "SkipUrlEncoding": false }, { - "$id": "143", + "$id": "141", "Name": "input", "NameInRequest": "input", "Type": { @@ -1386,7 +1365,7 @@ ], "Responses": [ { - "$id": "144", + "$id": "142", "StatusCodes": [ 200 ], @@ -1415,25 +1394,22 @@ "Decorators": [] }, { - "$id": "145", + "$id": "143", "Name": "foo", "ResourceName": "CustomizationsInTsp", "Description": "Sample operation with request body of a renamed model", "Accessibility": "public", "Parameters": [ { - "$ref": "135" - }, - { - "$id": "146", + "$id": "144", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "147", + "$id": "145", "kind": "constant", "valueType": { - "$id": "148", + "$id": "146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1453,14 +1429,14 @@ "SkipUrlEncoding": false }, { - "$id": "149", + "$id": "147", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "150", + "$id": "148", "kind": "constant", "valueType": { - "$id": "151", + "$id": "149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1480,7 +1456,7 @@ "SkipUrlEncoding": false }, { - "$id": "152", + "$id": "150", "Name": "input", "NameInRequest": "input", "Type": { @@ -1499,7 +1475,7 @@ ], "Responses": [ { - "$id": "153", + "$id": "151", "StatusCodes": [ 200 ], @@ -1528,25 +1504,22 @@ "Decorators": [] }, { - "$id": "154", + "$id": "152", "Name": "bar", "ResourceName": "CustomizationsInTsp", "Description": "Sample operation with request body using a model parameter with a spread operator.", "Accessibility": "public", "Parameters": [ { - "$ref": "135" - }, - { - "$id": "155", + "$id": "153", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "156", + "$id": "154", "kind": "constant", "valueType": { - "$id": "157", + "$id": "155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1566,14 +1539,14 @@ "SkipUrlEncoding": false }, { - "$id": "158", + "$id": "156", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "159", + "$id": "157", "kind": "constant", "valueType": { - "$id": "160", + "$id": "158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1593,7 +1566,7 @@ "SkipUrlEncoding": false }, { - "$id": "161", + "$id": "159", "Name": "modelToRename", "NameInRequest": "modelToRename", "Type": { @@ -1612,7 +1585,7 @@ ], "Responses": [ { - "$id": "162", + "$id": "160", "StatusCodes": [ 200 ], @@ -1642,11 +1615,29 @@ } ], "Protocol": { - "$id": "163" + "$id": "161" }, "Parameters": [ { - "$ref": "135" + "$id": "162", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "163", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/Entity.xml b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/Entity.xml index 04f82125200..3b2c2cd3346 100644 --- a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/Entity.xml +++ b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/Entity.xml @@ -5,14 +5,14 @@ This sample shows how to call DoSomethingAsync. "); +Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = await client.DoSomethingAsync(""); ]]> This sample shows how to call DoSomethingAsync with all parameters. "); +Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = await client.DoSomethingAsync(""); @@ -22,14 +22,14 @@ Response response = await client.DoSomethingAsync(""); This sample shows how to call DoSomething. "); +Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = client.DoSomething(""); ]]> This sample shows how to call DoSomething with all parameters. "); +Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = client.DoSomething(""); @@ -39,7 +39,7 @@ Response response = client.DoSomething(""); This sample shows how to call DoSomethingAsync and parse the result. "); +Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = await client.DoSomethingAsync("", null); @@ -57,7 +57,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call DoSomethingAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = await client.DoSomethingAsync("", null); @@ -85,7 +85,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call DoSomething and parse the result. "); +Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = client.DoSomething("", null); @@ -103,7 +103,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call DoSomething with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = client.DoSomething("", null); diff --git a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/EnumTest.xml b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/EnumTest.xml index f88c4631c97..a81caed9ff7 100644 --- a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/EnumTest.xml +++ b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/EnumTest.xml @@ -5,7 +5,7 @@ This sample shows how to call CreateUnknownValueAsync. "); +Uri endpoint = new Uri(""); EnumTest client = new FirstTestTypeSpecClient(endpoint).GetEnumTestClient(); using RequestContent content = RequestContent.Create("Monday"); @@ -15,7 +15,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call CreateUnknownValueAsync with all request content. "); +Uri endpoint = new Uri(""); EnumTest client = new FirstTestTypeSpecClient(endpoint).GetEnumTestClient(); using RequestContent content = RequestContent.Create("Monday"); @@ -28,7 +28,7 @@ Console.WriteLine(response.Status); This sample shows how to call CreateUnknownValue. "); +Uri endpoint = new Uri(""); EnumTest client = new FirstTestTypeSpecClient(endpoint).GetEnumTestClient(); using RequestContent content = RequestContent.Create("Monday"); @@ -38,7 +38,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call CreateUnknownValue with all request content. "); +Uri endpoint = new Uri(""); EnumTest client = new FirstTestTypeSpecClient(endpoint).GetEnumTestClient(); using RequestContent content = RequestContent.Create("Monday"); diff --git a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/FirstTestTypeSpecClient.xml b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/FirstTestTypeSpecClient.xml index 08662c08caf..cdc28c5df82 100644 --- a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/FirstTestTypeSpecClient.xml +++ b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/FirstTestTypeSpecClient.xml @@ -5,14 +5,14 @@ This sample shows how to call TopActionAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopActionAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); ]]> This sample shows how to call TopActionAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopActionAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -22,14 +22,14 @@ Response response = await client.TopActionAsync(DateTimeOffset.Parse("202 This sample shows how to call TopAction. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); ]]> This sample shows how to call TopAction with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -39,7 +39,7 @@ Response response = client.TopAction(DateTimeOffset.Parse("2022-05-10T18: This sample shows how to call TopActionAsync and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopActionAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"), null); @@ -57,7 +57,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call TopActionAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopActionAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"), null); @@ -85,7 +85,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call TopAction and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"), null); @@ -103,7 +103,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call TopAction with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"), null); @@ -131,7 +131,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call TopAction2Async and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopAction2Async(null); @@ -149,7 +149,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call TopAction2Async with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopAction2Async(null); @@ -177,7 +177,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call TopAction2 and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction2(null); @@ -195,7 +195,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call TopAction2 with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction2(null); @@ -223,7 +223,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call PatchActionAsync and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -256,7 +256,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call PatchActionAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -309,7 +309,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call PatchAction and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -342,7 +342,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call PatchAction with all request content and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -395,14 +395,14 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call AnonymousBodyAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AnonymousBodyAsync("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default, ThingRequiredLiteralString.Accept, ThingRequiredLiteralInt._123, ThingRequiredLiteralFloat._123, false); ]]> This sample shows how to call AnonymousBodyAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AnonymousBodyAsync("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default, ThingRequiredLiteralString.Accept, ThingRequiredLiteralInt._123, ThingRequiredLiteralFloat._123, false, optionalLiteralString: ThingOptionalLiteralString.Reject, optionalLiteralInt: ThingOptionalLiteralInt._456, optionalLiteralFloat: ThingOptionalLiteralFloat._456, optionalLiteralBool: true, optionalNullableList: new int[] { 1234 }, optionalFloatProperty: (double)default, optionalResourceId: new ResourceIdentifier("")); @@ -412,14 +412,14 @@ Response response = await client.AnonymousBodyAsync("", BinaryData. This sample shows how to call AnonymousBody. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AnonymousBody("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default, ThingRequiredLiteralString.Accept, ThingRequiredLiteralInt._123, ThingRequiredLiteralFloat._123, false); ]]> This sample shows how to call AnonymousBody with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AnonymousBody("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default, ThingRequiredLiteralString.Accept, ThingRequiredLiteralInt._123, ThingRequiredLiteralFloat._123, false, optionalLiteralString: ThingOptionalLiteralString.Reject, optionalLiteralInt: ThingOptionalLiteralInt._456, optionalLiteralFloat: ThingOptionalLiteralFloat._456, optionalLiteralBool: true, optionalNullableList: new int[] { 1234 }, optionalFloatProperty: (double)default, optionalResourceId: new ResourceIdentifier("")); @@ -429,7 +429,7 @@ Response response = client.AnonymousBody("", BinaryData.FromObjectA This sample shows how to call AnonymousBodyAsync and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -462,7 +462,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call AnonymousBodyAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -515,7 +515,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call AnonymousBody and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -548,7 +548,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call AnonymousBody with all request content and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -601,14 +601,14 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call FriendlyModelAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.FriendlyModelAsync(""); ]]> This sample shows how to call FriendlyModelAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.FriendlyModelAsync(""); @@ -618,14 +618,14 @@ Response response = await client.FriendlyModelAsync(""); This sample shows how to call FriendlyModel. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.FriendlyModel(""); ]]> This sample shows how to call FriendlyModel with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.FriendlyModel(""); @@ -635,7 +635,7 @@ Response response = client.FriendlyModel(""); This sample shows how to call FriendlyModelAsync and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -649,7 +649,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call FriendlyModelAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -666,7 +666,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call FriendlyModel and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -680,7 +680,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call FriendlyModel with all request content and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -697,7 +697,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call AddTimeHeaderAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AddTimeHeaderAsync(); @@ -706,7 +706,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call AddTimeHeaderAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AddTimeHeaderAsync(); @@ -718,7 +718,7 @@ Console.WriteLine(response.Status); This sample shows how to call AddTimeHeader. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AddTimeHeader(); @@ -727,7 +727,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call AddTimeHeader with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AddTimeHeader(); @@ -739,7 +739,7 @@ Console.WriteLine(response.Status); This sample shows how to call StringFormatAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithFormat body = new ModelWithFormat(new Uri("http://localhost:3000"), Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a")); @@ -747,7 +747,7 @@ Response response = await client.StringFormatAsync(Guid.Parse("73f411fe-4f43-4b4 ]]> This sample shows how to call StringFormatAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithFormat body = new ModelWithFormat(new Uri("http://localhost:3000"), Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a")); @@ -758,7 +758,7 @@ Response response = await client.StringFormatAsync(Guid.Parse("73f411fe-4f43-4b4 This sample shows how to call StringFormat. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithFormat body = new ModelWithFormat(new Uri("http://localhost:3000"), Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a")); @@ -766,7 +766,7 @@ Response response = client.StringFormat(Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828 ]]> This sample shows how to call StringFormat with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithFormat body = new ModelWithFormat(new Uri("http://localhost:3000"), Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a")); @@ -777,7 +777,7 @@ Response response = client.StringFormat(Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828 This sample shows how to call StringFormatAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -791,7 +791,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call StringFormatAsync with all parameters and request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -808,7 +808,7 @@ Console.WriteLine(response.Status); This sample shows how to call StringFormat. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -822,7 +822,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call StringFormat with all parameters and request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -839,14 +839,14 @@ Console.WriteLine(response.Status); This sample shows how to call ProjectedNameModelAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ProjectedNameModelAsync(""); ]]> This sample shows how to call ProjectedNameModelAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ProjectedNameModelAsync(""); @@ -856,14 +856,14 @@ Response response = await client.ProjectedNameModelAsync(" This sample shows how to call ProjectedNameModel. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ProjectedNameModel(""); ]]> This sample shows how to call ProjectedNameModel with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ProjectedNameModel(""); @@ -873,7 +873,7 @@ Response response = client.ProjectedNameModel(""); This sample shows how to call ProjectedNameModelAsync and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -887,7 +887,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call ProjectedNameModelAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -904,7 +904,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call ProjectedNameModel and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -918,7 +918,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call ProjectedNameModel with all request content and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -935,14 +935,14 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call ReturnsAnonymousModelAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnsAnonymousModelAsync(); ]]> This sample shows how to call ReturnsAnonymousModelAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnsAnonymousModelAsync(); @@ -952,14 +952,14 @@ Response response = await client.ReturnsAnonymous This sample shows how to call ReturnsAnonymousModel. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnsAnonymousModel(); ]]> This sample shows how to call ReturnsAnonymousModel with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnsAnonymousModel(); @@ -969,7 +969,7 @@ Response response = client.ReturnsAnonymousModel( This sample shows how to call ReturnsAnonymousModelAsync and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnsAnonymousModelAsync(null); @@ -979,7 +979,7 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call ReturnsAnonymousModelAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnsAnonymousModelAsync(null); @@ -992,7 +992,7 @@ Console.WriteLine(result.ToString()); This sample shows how to call ReturnsAnonymousModel and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnsAnonymousModel(null); @@ -1002,7 +1002,7 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call ReturnsAnonymousModel with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnsAnonymousModel(null); @@ -1015,7 +1015,7 @@ Console.WriteLine(result.ToString()); This sample shows how to call HeadAsBooleanAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.HeadAsBooleanAsync(""); @@ -1024,7 +1024,7 @@ Console.WriteLine(response.GetRawResponse().Status); ]]> This sample shows how to call HeadAsBooleanAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.HeadAsBooleanAsync(""); @@ -1036,7 +1036,7 @@ Console.WriteLine(response.GetRawResponse().Status); This sample shows how to call HeadAsBoolean. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.HeadAsBoolean(""); @@ -1045,7 +1045,7 @@ Console.WriteLine(response.GetRawResponse().Status); ]]> This sample shows how to call HeadAsBoolean with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.HeadAsBoolean(""); @@ -1057,14 +1057,14 @@ Console.WriteLine(response.GetRawResponse().Status); This sample shows how to call StringBodyAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.StringBodyAsync(""); ]]> This sample shows how to call StringBodyAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.StringBodyAsync(""); @@ -1074,14 +1074,14 @@ Response response = await client.StringBodyAsync(""); This sample shows how to call StringBody. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.StringBody(""); ]]> This sample shows how to call StringBody with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.StringBody(""); @@ -1091,7 +1091,7 @@ Response response = client.StringBody(""); This sample shows how to call StringBodyAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(""); @@ -1101,7 +1101,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call StringBodyAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(""); @@ -1114,7 +1114,7 @@ Console.WriteLine(response.Status); This sample shows how to call StringBody. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(""); @@ -1124,7 +1124,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call StringBody with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(""); @@ -1137,14 +1137,14 @@ Console.WriteLine(response.Status); This sample shows how to call BoolBodyAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.BoolBodyAsync(true); ]]> This sample shows how to call BoolBodyAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.BoolBodyAsync(true); @@ -1154,14 +1154,14 @@ Response response = await client.BoolBodyAsync(true); This sample shows how to call BoolBody. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.BoolBody(true); ]]> This sample shows how to call BoolBody with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.BoolBody(true); @@ -1171,7 +1171,7 @@ Response response = client.BoolBody(true); This sample shows how to call BoolBodyAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(true); @@ -1181,7 +1181,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call BoolBodyAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(true); @@ -1194,7 +1194,7 @@ Console.WriteLine(response.Status); This sample shows how to call BoolBody. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(true); @@ -1204,7 +1204,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call BoolBody with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(true); @@ -1217,14 +1217,14 @@ Console.WriteLine(response.Status); This sample shows how to call DateTimeBodyAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.DateTimeBodyAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); ]]> This sample shows how to call DateTimeBodyAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.DateTimeBodyAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -1234,14 +1234,14 @@ Response response = await client.DateTimeBodyAsync(DateTimeOffset.Parse("2022-05 This sample shows how to call DateTimeBody. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.DateTimeBody(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); ]]> This sample shows how to call DateTimeBody with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.DateTimeBody(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -1251,7 +1251,7 @@ Response response = client.DateTimeBody(DateTimeOffset.Parse("2022-05-10T18:57:3 This sample shows how to call DateTimeBodyAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create("2022-05-10T18:57:31.2311892Z"); @@ -1261,7 +1261,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call DateTimeBodyAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create("2022-05-10T18:57:31.2311892Z"); @@ -1274,7 +1274,7 @@ Console.WriteLine(response.Status); This sample shows how to call DateTimeBody. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create("2022-05-10T18:57:31.2311892Z"); @@ -1284,7 +1284,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call DateTimeBody with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create("2022-05-10T18:57:31.2311892Z"); @@ -1297,14 +1297,14 @@ Console.WriteLine(response.Status); This sample shows how to call ReturnStringAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnStringAsync(); ]]> This sample shows how to call ReturnStringAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnStringAsync(); @@ -1314,14 +1314,14 @@ Response response = await client.ReturnStringAsync(); This sample shows how to call ReturnString. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnString(); ]]> This sample shows how to call ReturnString with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnString(); @@ -1331,7 +1331,7 @@ Response response = client.ReturnString(); This sample shows how to call ReturnStringAsync and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnStringAsync(null); @@ -1341,7 +1341,7 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call ReturnStringAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnStringAsync(null); @@ -1354,7 +1354,7 @@ Console.WriteLine(result.ToString()); This sample shows how to call ReturnString and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnString(null); @@ -1364,7 +1364,7 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call ReturnString with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnString(null); @@ -1377,14 +1377,14 @@ Console.WriteLine(result.ToString()); This sample shows how to call ReturnUnknownAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnUnknownAsync(); ]]> This sample shows how to call ReturnUnknownAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnUnknownAsync(); @@ -1394,14 +1394,14 @@ Response response = await client.ReturnUnknownAsync(); This sample shows how to call ReturnUnknown. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnUnknown(); ]]> This sample shows how to call ReturnUnknown with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnUnknown(); @@ -1411,7 +1411,7 @@ Response response = client.ReturnUnknown(); This sample shows how to call ReturnUnknownAsync and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnUnknownAsync(null); @@ -1421,7 +1421,7 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call ReturnUnknownAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnUnknownAsync(null); @@ -1434,7 +1434,7 @@ Console.WriteLine(result.ToString()); This sample shows how to call ReturnUnknown and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnUnknown(null); @@ -1444,7 +1444,7 @@ Console.WriteLine(result.ToString()); ]]> This sample shows how to call ReturnUnknown with all parameters and parse the result. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnUnknown(null); @@ -1457,7 +1457,7 @@ Console.WriteLine(result.ToString()); This sample shows how to call RecursiveExtensionAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extension input = new Extension(123); @@ -1465,7 +1465,7 @@ Response response = await client.RecursiveExtensionAsync(input); ]]> This sample shows how to call RecursiveExtensionAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extension input = new Extension(123) @@ -1479,7 +1479,7 @@ Response response = await client.RecursiveExtensionAsync(input); This sample shows how to call RecursiveExtension. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extension input = new Extension(123); @@ -1487,7 +1487,7 @@ Response response = client.RecursiveExtension(input); ]]> This sample shows how to call RecursiveExtension with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extension input = new Extension(123) @@ -1501,7 +1501,7 @@ Response response = client.RecursiveExtension(input); This sample shows how to call RecursiveExtensionAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1514,7 +1514,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RecursiveExtensionAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1534,7 +1534,7 @@ Console.WriteLine(response.Status); This sample shows how to call RecursiveExtension. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1547,7 +1547,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RecursiveExtension with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1567,7 +1567,7 @@ Console.WriteLine(response.Status); This sample shows how to call ThreeLevelRecursiveAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extendible input = new Extendible(); @@ -1575,7 +1575,7 @@ Response response = await client.ThreeLevelRecursiveAsync(input); ]]> This sample shows how to call ThreeLevelRecursiveAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extendible input = new Extendible @@ -1592,7 +1592,7 @@ Response response = await client.ThreeLevelRecursiveAsync(input); This sample shows how to call ThreeLevelRecursive. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extendible input = new Extendible(); @@ -1600,7 +1600,7 @@ Response response = client.ThreeLevelRecursive(input); ]]> This sample shows how to call ThreeLevelRecursive with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extendible input = new Extendible @@ -1617,7 +1617,7 @@ Response response = client.ThreeLevelRecursive(input); This sample shows how to call ThreeLevelRecursiveAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new object()); @@ -1627,7 +1627,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ThreeLevelRecursiveAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1653,7 +1653,7 @@ Console.WriteLine(response.Status); This sample shows how to call ThreeLevelRecursive. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new object()); @@ -1663,7 +1663,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ThreeLevelRecursive with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1689,7 +1689,7 @@ Console.WriteLine(response.Status); This sample shows how to call RecursiveModelsAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ChildModel input = new ChildModel(123, new BaseModel[] @@ -1700,7 +1700,7 @@ Response response = await client.RecursiveModelsAsync(input); ]]> This sample shows how to call RecursiveModelsAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ChildModel input = new ChildModel(123, new BaseModel[] @@ -1714,7 +1714,7 @@ Response response = await client.RecursiveModelsAsync(input); This sample shows how to call RecursiveModels. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ChildModel input = new ChildModel(123, new BaseModel[] @@ -1725,7 +1725,7 @@ Response response = client.RecursiveModels(input); ]]> This sample shows how to call RecursiveModels with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ChildModel input = new ChildModel(123, new BaseModel[] @@ -1739,7 +1739,7 @@ Response response = client.RecursiveModels(input); This sample shows how to call RecursiveModelsAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1759,7 +1759,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RecursiveModelsAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1782,7 +1782,7 @@ Console.WriteLine(response.Status); This sample shows how to call RecursiveModels. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1802,7 +1802,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call RecursiveModels with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1825,7 +1825,7 @@ Console.WriteLine(response.Status); This sample shows how to call ContainSelfModelsAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ContainSelf input = new ContainSelf(default); @@ -1833,7 +1833,7 @@ Response response = await client.ContainSelfModelsAsync(input); ]]> This sample shows how to call ContainSelfModelsAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ContainSelf input = new ContainSelf(default); @@ -1844,7 +1844,7 @@ Response response = await client.ContainSelfModelsAsync(input); This sample shows how to call ContainSelfModels. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ContainSelf input = new ContainSelf(default); @@ -1852,7 +1852,7 @@ Response response = client.ContainSelfModels(input); ]]> This sample shows how to call ContainSelfModels with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ContainSelf input = new ContainSelf(default); @@ -1863,7 +1863,7 @@ Response response = client.ContainSelfModels(input); This sample shows how to call ContainSelfModelsAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new { }); @@ -1873,7 +1873,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ContainSelfModelsAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new { }); @@ -1886,7 +1886,7 @@ Console.WriteLine(response.Status); This sample shows how to call ContainSelfModels. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new { }); @@ -1896,7 +1896,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call ContainSelfModels with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new { }); @@ -1909,14 +1909,14 @@ Console.WriteLine(response.Status); This sample shows how to call EnumParameterAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.EnumParameterAsync(CsProjectedEnum.CsOne); ]]> This sample shows how to call EnumParameterAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.EnumParameterAsync(CsProjectedEnum.CsOne); @@ -1926,14 +1926,14 @@ Response response = await client.EnumParameterAsync(CsProjectedEnum.CsOne); This sample shows how to call EnumParameter. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.EnumParameter(CsProjectedEnum.CsOne); ]]> This sample shows how to call EnumParameter with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.EnumParameter(CsProjectedEnum.CsOne); @@ -1943,7 +1943,7 @@ Response response = client.EnumParameter(CsProjectedEnum.CsOne); This sample shows how to call EnumParameterAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.EnumParameterAsync(1.1F); @@ -1952,7 +1952,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call EnumParameterAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.EnumParameterAsync(1.1F); @@ -1964,7 +1964,7 @@ Console.WriteLine(response.Status); This sample shows how to call EnumParameter. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.EnumParameter(1.1F); @@ -1973,7 +1973,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call EnumParameter with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.EnumParameter(1.1F); @@ -1985,7 +1985,7 @@ Console.WriteLine(response.Status); This sample shows how to call BodyIsModelWithProjectedEnumAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithProjectedEnum body = new ModelWithProjectedEnum(CsProjectedEnumInModel.CsOne); @@ -1993,7 +1993,7 @@ Response response = await client.BodyIsModelWithProjectedEnumAsync(body); ]]> This sample shows how to call BodyIsModelWithProjectedEnumAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithProjectedEnum body = new ModelWithProjectedEnum(CsProjectedEnumInModel.CsOne); @@ -2004,7 +2004,7 @@ Response response = await client.BodyIsModelWithProjectedEnumAsync(body); This sample shows how to call BodyIsModelWithProjectedEnum. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithProjectedEnum body = new ModelWithProjectedEnum(CsProjectedEnumInModel.CsOne); @@ -2012,7 +2012,7 @@ Response response = client.BodyIsModelWithProjectedEnum(body); ]]> This sample shows how to call BodyIsModelWithProjectedEnum with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithProjectedEnum body = new ModelWithProjectedEnum(CsProjectedEnumInModel.CsOne); @@ -2023,7 +2023,7 @@ Response response = client.BodyIsModelWithProjectedEnum(body); This sample shows how to call BodyIsModelWithProjectedEnumAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2036,7 +2036,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call BodyIsModelWithProjectedEnumAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2052,7 +2052,7 @@ Console.WriteLine(response.Status); This sample shows how to call BodyIsModelWithProjectedEnum. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2065,7 +2065,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call BodyIsModelWithProjectedEnum with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2081,14 +2081,14 @@ Console.WriteLine(response.Status); This sample shows how to call OptionalDictionaryAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.OptionalDictionaryAsync(); ]]> This sample shows how to call OptionalDictionaryAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.OptionalDictionaryAsync(body: new Dictionary @@ -2101,14 +2101,14 @@ Response response = await client.OptionalDictionaryAsync(body: new Dictionary This sample shows how to call OptionalDictionary. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.OptionalDictionary(); ]]> This sample shows how to call OptionalDictionary with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.OptionalDictionary(body: new Dictionary @@ -2121,7 +2121,7 @@ Response response = client.OptionalDictionary(body: new Dictionary This sample shows how to call OptionalDictionaryAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = null; @@ -2131,7 +2131,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call OptionalDictionaryAsync with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2147,7 +2147,7 @@ Console.WriteLine(response.Status); This sample shows how to call OptionalDictionary. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = null; @@ -2157,7 +2157,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call OptionalDictionary with all request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2173,14 +2173,14 @@ Console.WriteLine(response.Status); This sample shows how to call AzureLocationOpAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AzureLocationOpAsync(new AzureLocation(""), new AzureLocation("")); ]]> This sample shows how to call AzureLocationOpAsync with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); AzureLocationModel body = new AzureLocationModel(new AzureLocation("")); @@ -2191,14 +2191,14 @@ Response response = await client.AzureLocationOpAsync(new AzureLocation(" This sample shows how to call AzureLocationOp. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AzureLocationOp(new AzureLocation(""), new AzureLocation("")); ]]> This sample shows how to call AzureLocationOp with all parameters. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); AzureLocationModel body = new AzureLocationModel(new AzureLocation("")); @@ -2209,7 +2209,7 @@ Response response = client.AzureLocationOp(new AzureLocation(""), new This sample shows how to call AzureLocationOpAsync. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = null; @@ -2219,7 +2219,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call AzureLocationOpAsync with all parameters and request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2235,7 +2235,7 @@ Console.WriteLine(response.Status); This sample shows how to call AzureLocationOp. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = null; @@ -2245,7 +2245,7 @@ Console.WriteLine(response.Status); ]]> This sample shows how to call AzureLocationOp with all parameters and request content. "); +Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new diff --git a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/Glossary.xml b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/Glossary.xml index e14131e6a11..21951a66cc1 100644 --- a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/Glossary.xml +++ b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/Glossary.xml @@ -5,14 +5,14 @@ This sample shows how to call DoSomethingAsync. "); +Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = await client.DoSomethingAsync("", "

"); ]]> This sample shows how to call DoSomethingAsync with all parameters. "); +Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = await client.DoSomethingAsync("", "

"); @@ -22,14 +22,14 @@ Response response = await client.DoSomethingAsync("", "

"); This sample shows how to call DoSomething. "); +Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = client.DoSomething("", "

"); ]]> This sample shows how to call DoSomething with all parameters. "); +Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = client.DoSomething("", "

"); @@ -39,7 +39,7 @@ Response response = client.DoSomething("", "

"); This sample shows how to call DoSomethingAsync and parse the result. "); +Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = await client.DoSomethingAsync("", "

", null); @@ -57,7 +57,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call DoSomethingAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = await client.DoSomethingAsync("", "

", null); @@ -85,7 +85,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call DoSomething and parse the result. "); +Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = client.DoSomething("", "

", null); @@ -103,7 +103,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call DoSomething with all parameters and parse the result. "); +Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = client.DoSomething("", "

", null); diff --git a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/HelloDemo.xml b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/HelloDemo.xml index a097d680e17..38a0fda3ff1 100644 --- a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/HelloDemo.xml +++ b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/HelloDemo.xml @@ -5,7 +5,7 @@ This sample shows how to call SayHiAsync and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemoClient(); Response response = await client.SayHiAsync("", "", null, null); @@ -23,7 +23,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call SayHiAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemoClient(); Response response = await client.SayHiAsync("", "", "", null); @@ -51,7 +51,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call SayHi and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemoClient(); Response response = client.SayHi("", "", null, null); @@ -69,7 +69,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call SayHi with all parameters and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemoClient(); Response response = client.SayHi("", "", "", null); diff --git a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/HelloDemo2.xml b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/HelloDemo2.xml index d397ba46ece..008f3944c4b 100644 --- a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/HelloDemo2.xml +++ b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/HelloDemo2.xml @@ -5,7 +5,7 @@ This sample shows how to call HelloAgainAsync. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); RoundTripModel action = new RoundTripModel( @@ -31,7 +31,7 @@ Response response = await client.HelloAgainAsync("", "", ]]> This sample shows how to call HelloAgainAsync with all parameters. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); RoundTripModel action = new RoundTripModel( @@ -85,7 +85,7 @@ Response response = await client.HelloAgainAsync("", "", This sample shows how to call HelloAgain. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); RoundTripModel action = new RoundTripModel( @@ -111,7 +111,7 @@ Response response = client.HelloAgain("", "", action); ]]> This sample shows how to call HelloAgain with all parameters. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); RoundTripModel action = new RoundTripModel( @@ -165,7 +165,7 @@ Response response = client.HelloAgain("", "", action); This sample shows how to call HelloAgainAsync and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -237,7 +237,7 @@ Console.WriteLine(result.GetProperty("unionList")[0].ToString()); ]]> This sample shows how to call HelloAgainAsync with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -367,7 +367,7 @@ Console.WriteLine(result.GetProperty("unionList")[0].ToString()); This sample shows how to call HelloAgain and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -439,7 +439,7 @@ Console.WriteLine(result.GetProperty("unionList")[0].ToString()); ]]> This sample shows how to call HelloAgain with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -569,7 +569,7 @@ Console.WriteLine(result.GetProperty("unionList")[0].ToString()); This sample shows how to call NoContentTypeAsync and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -641,7 +641,7 @@ Console.WriteLine(result.GetProperty("unionList")[0].ToString()); ]]> This sample shows how to call NoContentTypeAsync with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -771,7 +771,7 @@ Console.WriteLine(result.GetProperty("unionList")[0].ToString()); This sample shows how to call NoContentType and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -843,7 +843,7 @@ Console.WriteLine(result.GetProperty("unionList")[0].ToString()); ]]> This sample shows how to call NoContentType with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -973,14 +973,14 @@ Console.WriteLine(result.GetProperty("unionList")[0].ToString()); This sample shows how to call HelloDemoAgainAsync. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloDemoAgainAsync(); ]]> This sample shows how to call HelloDemoAgainAsync with all parameters. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloDemoAgainAsync(); @@ -990,14 +990,14 @@ Response response = await client.HelloDemoAgainAsync(); This sample shows how to call HelloDemoAgain. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloDemoAgain(); ]]> This sample shows how to call HelloDemoAgain with all parameters. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloDemoAgain(); @@ -1007,7 +1007,7 @@ Response response = client.HelloDemoAgain(); This sample shows how to call HelloDemoAgainAsync and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloDemoAgainAsync(null); @@ -1025,7 +1025,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call HelloDemoAgainAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloDemoAgainAsync(null); @@ -1053,7 +1053,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call HelloDemoAgain and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloDemoAgain(null); @@ -1071,7 +1071,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call HelloDemoAgain with all parameters and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloDemoAgain(null); @@ -1099,7 +1099,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call CreateLiteralAsync. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Thing body = new Thing("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default); @@ -1107,7 +1107,7 @@ Response response = await client.CreateLiteralAsync(body); ]]> This sample shows how to call CreateLiteralAsync with all parameters. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Thing body = new Thing("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default) @@ -1127,7 +1127,7 @@ Response response = await client.CreateLiteralAsync(body); This sample shows how to call CreateLiteral. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Thing body = new Thing("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default); @@ -1135,7 +1135,7 @@ Response response = client.CreateLiteral(body); ]]> This sample shows how to call CreateLiteral with all parameters. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Thing body = new Thing("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default) @@ -1155,7 +1155,7 @@ Response response = client.CreateLiteral(body); This sample shows how to call CreateLiteralAsync and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -1188,7 +1188,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call CreateLiteralAsync with all request content and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -1241,7 +1241,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call CreateLiteral and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -1274,7 +1274,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call CreateLiteral with all request content and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -1327,14 +1327,14 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call HelloLiteralAsync. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloLiteralAsync(); ]]> This sample shows how to call HelloLiteralAsync with all parameters. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloLiteralAsync(); @@ -1344,14 +1344,14 @@ Response response = await client.HelloLiteralAsync(); This sample shows how to call HelloLiteral. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloLiteral(); ]]> This sample shows how to call HelloLiteral with all parameters. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloLiteral(); @@ -1361,7 +1361,7 @@ Response response = client.HelloLiteral(); This sample shows how to call HelloLiteralAsync and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloLiteralAsync(null); @@ -1379,7 +1379,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call HelloLiteralAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloLiteralAsync(null); @@ -1407,7 +1407,7 @@ Console.WriteLine(result.GetProperty("optionalResourceId").ToString()); This sample shows how to call HelloLiteral and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloLiteral(null); @@ -1425,7 +1425,7 @@ Console.WriteLine(result.GetProperty("requiredFloatProperty").ToString()); ]]> This sample shows how to call HelloLiteral with all parameters and parse the result. "); +Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloLiteral(null); diff --git a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/VersioningOp.xml b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/VersioningOp.xml index db23503281c..073824ce5ed 100644 --- a/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/VersioningOp.xml +++ b/test/TestProjects/FirstTest-TypeSpec/src/Generated/Docs/VersioningOp.xml @@ -5,7 +5,7 @@ This sample shows how to call ExportAsync and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", null, null); @@ -17,7 +17,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call ExportAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", "", null); @@ -32,7 +32,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call Export and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Export(WaitUntil.Completed, "", null, null); @@ -44,7 +44,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call Export with all parameters and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Export(WaitUntil.Completed, "", "", null); @@ -59,7 +59,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call ExportWAsync and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportWAsync(WaitUntil.Completed, "", null, null); @@ -71,7 +71,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call ExportWAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportWAsync(WaitUntil.Completed, "", "", null); @@ -86,7 +86,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); This sample shows how to call ExportW and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = client.ExportW(WaitUntil.Completed, "", null, null); @@ -98,7 +98,7 @@ Console.WriteLine(result.GetProperty("name").ToString()); ]]> This sample shows how to call ExportW with all parameters and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = client.ExportW(WaitUntil.Completed, "", "", null); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_Entity.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_Entity.cs index 52f00269dd5..5cf0d22dc1e 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_Entity.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_Entity.cs @@ -21,7 +21,7 @@ public partial class Samples_Entity [Ignore("Only validating compilation of examples")] public void Example_Entity_DoSomething_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = client.DoSomething("", null); @@ -42,7 +42,7 @@ public void Example_Entity_DoSomething_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Entity_DoSomething_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = await client.DoSomethingAsync("", null); @@ -63,7 +63,7 @@ public async Task Example_Entity_DoSomething_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Entity_DoSomething_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = client.DoSomething(""); @@ -73,7 +73,7 @@ public void Example_Entity_DoSomething_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Entity_DoSomething_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = await client.DoSomethingAsync(""); @@ -83,7 +83,7 @@ public async Task Example_Entity_DoSomething_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Entity_DoSomething_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = client.DoSomething("", null); @@ -111,7 +111,7 @@ public void Example_Entity_DoSomething_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Entity_DoSomething_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = await client.DoSomethingAsync("", null); @@ -139,7 +139,7 @@ public async Task Example_Entity_DoSomething_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Entity_DoSomething_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = client.DoSomething(""); @@ -149,7 +149,7 @@ public void Example_Entity_DoSomething_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Entity_DoSomething_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Entity client = new FirstTestTypeSpecClient(endpoint).GetEntityClient(); Response response = await client.DoSomethingAsync(""); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_EnumTest.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_EnumTest.cs index d969afd51f3..55bb3892333 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_EnumTest.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_EnumTest.cs @@ -20,7 +20,7 @@ public partial class Samples_EnumTest [Ignore("Only validating compilation of examples")] public void Example_EnumTest_CreateUnknownValue_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); EnumTest client = new FirstTestTypeSpecClient(endpoint).GetEnumTestClient(); using RequestContent content = RequestContent.Create("Monday"); @@ -33,7 +33,7 @@ public void Example_EnumTest_CreateUnknownValue_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_EnumTest_CreateUnknownValue_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); EnumTest client = new FirstTestTypeSpecClient(endpoint).GetEnumTestClient(); using RequestContent content = RequestContent.Create("Monday"); @@ -46,7 +46,7 @@ public async Task Example_EnumTest_CreateUnknownValue_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_EnumTest_CreateUnknownValue_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); EnumTest client = new FirstTestTypeSpecClient(endpoint).GetEnumTestClient(); using RequestContent content = RequestContent.Create("Monday"); @@ -59,7 +59,7 @@ public void Example_EnumTest_CreateUnknownValue_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_EnumTest_CreateUnknownValue_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); EnumTest client = new FirstTestTypeSpecClient(endpoint).GetEnumTestClient(); using RequestContent content = RequestContent.Create("Monday"); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_FirstTestTypeSpecClient.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_FirstTestTypeSpecClient.cs index f04369a2e46..b7940f512c9 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_FirstTestTypeSpecClient.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_FirstTestTypeSpecClient.cs @@ -23,7 +23,7 @@ public partial class Samples_FirstTestTypeSpecClient [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_TopAction_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"), null); @@ -44,7 +44,7 @@ public void Example_FirstTestTypeSpec_TopAction_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_TopAction_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopActionAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"), null); @@ -65,7 +65,7 @@ public async Task Example_FirstTestTypeSpec_TopAction_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_TopAction_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -75,7 +75,7 @@ public void Example_FirstTestTypeSpec_TopAction_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_TopAction_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopActionAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -85,7 +85,7 @@ public async Task Example_FirstTestTypeSpec_TopAction_ShortVersion_Convenience_A [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_TopAction_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"), null); @@ -113,7 +113,7 @@ public void Example_FirstTestTypeSpec_TopAction_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_TopAction_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopActionAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z"), null); @@ -141,7 +141,7 @@ public async Task Example_FirstTestTypeSpec_TopAction_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_TopAction_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -151,7 +151,7 @@ public void Example_FirstTestTypeSpec_TopAction_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_TopAction_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopActionAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -161,7 +161,7 @@ public async Task Example_FirstTestTypeSpec_TopAction_AllParameters_Convenience_ [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_TopAction2_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction2(null); @@ -182,7 +182,7 @@ public void Example_FirstTestTypeSpec_TopAction2_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_TopAction2_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopAction2Async(null); @@ -203,7 +203,7 @@ public async Task Example_FirstTestTypeSpec_TopAction2_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_TopAction2_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.TopAction2(null); @@ -231,7 +231,7 @@ public void Example_FirstTestTypeSpec_TopAction2_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_TopAction2_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.TopAction2Async(null); @@ -259,7 +259,7 @@ public async Task Example_FirstTestTypeSpec_TopAction2_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_PatchAction_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -295,7 +295,7 @@ public void Example_FirstTestTypeSpec_PatchAction_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_PatchAction_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -331,7 +331,7 @@ public async Task Example_FirstTestTypeSpec_PatchAction_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_PatchAction_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -384,7 +384,7 @@ public void Example_FirstTestTypeSpec_PatchAction_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_PatchAction_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -437,7 +437,7 @@ public async Task Example_FirstTestTypeSpec_PatchAction_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AnonymousBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -473,7 +473,7 @@ public void Example_FirstTestTypeSpec_AnonymousBody_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AnonymousBody_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -509,7 +509,7 @@ public async Task Example_FirstTestTypeSpec_AnonymousBody_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AnonymousBody_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AnonymousBody("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default, ThingRequiredLiteralString.Accept, ThingRequiredLiteralInt._123, ThingRequiredLiteralFloat._123, false); @@ -519,7 +519,7 @@ public void Example_FirstTestTypeSpec_AnonymousBody_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AnonymousBody_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AnonymousBodyAsync("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default, ThingRequiredLiteralString.Accept, ThingRequiredLiteralInt._123, ThingRequiredLiteralFloat._123, false); @@ -529,7 +529,7 @@ public async Task Example_FirstTestTypeSpec_AnonymousBody_ShortVersion_Convenien [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AnonymousBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -582,7 +582,7 @@ public void Example_FirstTestTypeSpec_AnonymousBody_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AnonymousBody_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -635,7 +635,7 @@ public async Task Example_FirstTestTypeSpec_AnonymousBody_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AnonymousBody_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AnonymousBody("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default, ThingRequiredLiteralString.Accept, ThingRequiredLiteralInt._123, ThingRequiredLiteralFloat._123, false, optionalLiteralString: ThingOptionalLiteralString.Reject, optionalLiteralInt: ThingOptionalLiteralInt._456, optionalLiteralFloat: ThingOptionalLiteralFloat._456, optionalLiteralBool: true, optionalNullableList: new int[] { 1234 }, optionalFloatProperty: (double)default, optionalResourceId: new ResourceIdentifier("")); @@ -645,7 +645,7 @@ public void Example_FirstTestTypeSpec_AnonymousBody_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AnonymousBody_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AnonymousBodyAsync("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default, ThingRequiredLiteralString.Accept, ThingRequiredLiteralInt._123, ThingRequiredLiteralFloat._123, false, optionalLiteralString: ThingOptionalLiteralString.Reject, optionalLiteralInt: ThingOptionalLiteralInt._456, optionalLiteralFloat: ThingOptionalLiteralFloat._456, optionalLiteralBool: true, optionalNullableList: new int[] { 1234 }, optionalFloatProperty: (double)default, optionalResourceId: new ResourceIdentifier("")); @@ -655,7 +655,7 @@ public async Task Example_FirstTestTypeSpec_AnonymousBody_AllParameters_Convenie [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_FriendlyModel_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -672,7 +672,7 @@ public void Example_FirstTestTypeSpec_FriendlyModel_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_FriendlyModel_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -689,7 +689,7 @@ public async Task Example_FirstTestTypeSpec_FriendlyModel_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_FriendlyModel_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.FriendlyModel(""); @@ -699,7 +699,7 @@ public void Example_FirstTestTypeSpec_FriendlyModel_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_FriendlyModel_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.FriendlyModelAsync(""); @@ -709,7 +709,7 @@ public async Task Example_FirstTestTypeSpec_FriendlyModel_ShortVersion_Convenien [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_FriendlyModel_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -726,7 +726,7 @@ public void Example_FirstTestTypeSpec_FriendlyModel_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_FriendlyModel_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -743,7 +743,7 @@ public async Task Example_FirstTestTypeSpec_FriendlyModel_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_FriendlyModel_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.FriendlyModel(""); @@ -753,7 +753,7 @@ public void Example_FirstTestTypeSpec_FriendlyModel_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_FriendlyModel_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.FriendlyModelAsync(""); @@ -763,7 +763,7 @@ public async Task Example_FirstTestTypeSpec_FriendlyModel_AllParameters_Convenie [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AddTimeHeader_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AddTimeHeader(); @@ -775,7 +775,7 @@ public void Example_FirstTestTypeSpec_AddTimeHeader_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AddTimeHeader_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AddTimeHeaderAsync(); @@ -787,7 +787,7 @@ public async Task Example_FirstTestTypeSpec_AddTimeHeader_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AddTimeHeader_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AddTimeHeader(); @@ -799,7 +799,7 @@ public void Example_FirstTestTypeSpec_AddTimeHeader_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AddTimeHeader_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AddTimeHeaderAsync(); @@ -811,7 +811,7 @@ public async Task Example_FirstTestTypeSpec_AddTimeHeader_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_StringFormat_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -828,7 +828,7 @@ public void Example_FirstTestTypeSpec_StringFormat_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_StringFormat_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -845,7 +845,7 @@ public async Task Example_FirstTestTypeSpec_StringFormat_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_StringFormat_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithFormat body = new ModelWithFormat(new Uri("http://localhost:3000"), Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a")); @@ -856,7 +856,7 @@ public void Example_FirstTestTypeSpec_StringFormat_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_StringFormat_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithFormat body = new ModelWithFormat(new Uri("http://localhost:3000"), Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a")); @@ -867,7 +867,7 @@ public async Task Example_FirstTestTypeSpec_StringFormat_ShortVersion_Convenienc [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_StringFormat_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -884,7 +884,7 @@ public void Example_FirstTestTypeSpec_StringFormat_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_StringFormat_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -901,7 +901,7 @@ public async Task Example_FirstTestTypeSpec_StringFormat_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_StringFormat_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithFormat body = new ModelWithFormat(new Uri("http://localhost:3000"), Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a")); @@ -912,7 +912,7 @@ public void Example_FirstTestTypeSpec_StringFormat_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_StringFormat_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithFormat body = new ModelWithFormat(new Uri("http://localhost:3000"), Guid.Parse("73f411fe-4f43-4b4b-9cbd-6828d8f4cf9a")); @@ -923,7 +923,7 @@ public async Task Example_FirstTestTypeSpec_StringFormat_AllParameters_Convenien [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ProjectedNameModel_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -940,7 +940,7 @@ public void Example_FirstTestTypeSpec_ProjectedNameModel_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ProjectedNameModel_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -957,7 +957,7 @@ public async Task Example_FirstTestTypeSpec_ProjectedNameModel_ShortVersion_Asyn [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ProjectedNameModel_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ProjectedNameModel(""); @@ -967,7 +967,7 @@ public void Example_FirstTestTypeSpec_ProjectedNameModel_ShortVersion_Convenienc [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ProjectedNameModel_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ProjectedNameModelAsync(""); @@ -977,7 +977,7 @@ public async Task Example_FirstTestTypeSpec_ProjectedNameModel_ShortVersion_Conv [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ProjectedNameModel_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -994,7 +994,7 @@ public void Example_FirstTestTypeSpec_ProjectedNameModel_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ProjectedNameModel_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1011,7 +1011,7 @@ public async Task Example_FirstTestTypeSpec_ProjectedNameModel_AllParameters_Asy [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ProjectedNameModel_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ProjectedNameModel(""); @@ -1021,7 +1021,7 @@ public void Example_FirstTestTypeSpec_ProjectedNameModel_AllParameters_Convenien [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ProjectedNameModel_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ProjectedNameModelAsync(""); @@ -1031,7 +1031,7 @@ public async Task Example_FirstTestTypeSpec_ProjectedNameModel_AllParameters_Con [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnsAnonymousModel(null); @@ -1044,7 +1044,7 @@ public void Example_FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnsAnonymousModelAsync(null); @@ -1057,7 +1057,7 @@ public async Task Example_FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion_A [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnsAnonymousModel(); @@ -1067,7 +1067,7 @@ public void Example_FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion_Conveni [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnsAnonymousModelAsync(); @@ -1077,7 +1077,7 @@ public async Task Example_FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion_C [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnsAnonymousModel(null); @@ -1090,7 +1090,7 @@ public void Example_FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnsAnonymousModelAsync(null); @@ -1103,7 +1103,7 @@ public async Task Example_FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnsAnonymousModel(); @@ -1113,7 +1113,7 @@ public void Example_FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters_Conven [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnsAnonymousModelAsync(); @@ -1123,7 +1123,7 @@ public async Task Example_FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters_ [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_HeadAsBoolean_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.HeadAsBoolean(""); @@ -1135,7 +1135,7 @@ public void Example_FirstTestTypeSpec_HeadAsBoolean_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_HeadAsBoolean_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.HeadAsBooleanAsync(""); @@ -1147,7 +1147,7 @@ public async Task Example_FirstTestTypeSpec_HeadAsBoolean_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_HeadAsBoolean_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.HeadAsBoolean(""); @@ -1159,7 +1159,7 @@ public void Example_FirstTestTypeSpec_HeadAsBoolean_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_HeadAsBoolean_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.HeadAsBooleanAsync(""); @@ -1171,7 +1171,7 @@ public async Task Example_FirstTestTypeSpec_HeadAsBoolean_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_StringBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(""); @@ -1184,7 +1184,7 @@ public void Example_FirstTestTypeSpec_StringBody_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_StringBody_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(""); @@ -1197,7 +1197,7 @@ public async Task Example_FirstTestTypeSpec_StringBody_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_StringBody_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.StringBody(""); @@ -1207,7 +1207,7 @@ public void Example_FirstTestTypeSpec_StringBody_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_StringBody_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.StringBodyAsync(""); @@ -1217,7 +1217,7 @@ public async Task Example_FirstTestTypeSpec_StringBody_ShortVersion_Convenience_ [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_StringBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(""); @@ -1230,7 +1230,7 @@ public void Example_FirstTestTypeSpec_StringBody_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_StringBody_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(""); @@ -1243,7 +1243,7 @@ public async Task Example_FirstTestTypeSpec_StringBody_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_StringBody_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.StringBody(""); @@ -1253,7 +1253,7 @@ public void Example_FirstTestTypeSpec_StringBody_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_StringBody_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.StringBodyAsync(""); @@ -1263,7 +1263,7 @@ public async Task Example_FirstTestTypeSpec_StringBody_AllParameters_Convenience [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_BoolBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(true); @@ -1276,7 +1276,7 @@ public void Example_FirstTestTypeSpec_BoolBody_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_BoolBody_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(true); @@ -1289,7 +1289,7 @@ public async Task Example_FirstTestTypeSpec_BoolBody_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_BoolBody_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.BoolBody(true); @@ -1299,7 +1299,7 @@ public void Example_FirstTestTypeSpec_BoolBody_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_BoolBody_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.BoolBodyAsync(true); @@ -1309,7 +1309,7 @@ public async Task Example_FirstTestTypeSpec_BoolBody_ShortVersion_Convenience_As [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_BoolBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(true); @@ -1322,7 +1322,7 @@ public void Example_FirstTestTypeSpec_BoolBody_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_BoolBody_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(true); @@ -1335,7 +1335,7 @@ public async Task Example_FirstTestTypeSpec_BoolBody_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_BoolBody_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.BoolBody(true); @@ -1345,7 +1345,7 @@ public void Example_FirstTestTypeSpec_BoolBody_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_BoolBody_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.BoolBodyAsync(true); @@ -1355,7 +1355,7 @@ public async Task Example_FirstTestTypeSpec_BoolBody_AllParameters_Convenience_A [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_DateTimeBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create("2022-05-10T18:57:31.2311892Z"); @@ -1368,7 +1368,7 @@ public void Example_FirstTestTypeSpec_DateTimeBody_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_DateTimeBody_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create("2022-05-10T18:57:31.2311892Z"); @@ -1381,7 +1381,7 @@ public async Task Example_FirstTestTypeSpec_DateTimeBody_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_DateTimeBody_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.DateTimeBody(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -1391,7 +1391,7 @@ public void Example_FirstTestTypeSpec_DateTimeBody_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_DateTimeBody_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.DateTimeBodyAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -1401,7 +1401,7 @@ public async Task Example_FirstTestTypeSpec_DateTimeBody_ShortVersion_Convenienc [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_DateTimeBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create("2022-05-10T18:57:31.2311892Z"); @@ -1414,7 +1414,7 @@ public void Example_FirstTestTypeSpec_DateTimeBody_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_DateTimeBody_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create("2022-05-10T18:57:31.2311892Z"); @@ -1427,7 +1427,7 @@ public async Task Example_FirstTestTypeSpec_DateTimeBody_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_DateTimeBody_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.DateTimeBody(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -1437,7 +1437,7 @@ public void Example_FirstTestTypeSpec_DateTimeBody_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_DateTimeBody_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.DateTimeBodyAsync(DateTimeOffset.Parse("2022-05-10T18:57:31.2311892Z")); @@ -1447,7 +1447,7 @@ public async Task Example_FirstTestTypeSpec_DateTimeBody_AllParameters_Convenien [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnString_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnString(null); @@ -1460,7 +1460,7 @@ public void Example_FirstTestTypeSpec_ReturnString_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnString_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnStringAsync(null); @@ -1473,7 +1473,7 @@ public async Task Example_FirstTestTypeSpec_ReturnString_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnString_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnString(); @@ -1483,7 +1483,7 @@ public void Example_FirstTestTypeSpec_ReturnString_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnString_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnStringAsync(); @@ -1493,7 +1493,7 @@ public async Task Example_FirstTestTypeSpec_ReturnString_ShortVersion_Convenienc [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnString_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnString(null); @@ -1506,7 +1506,7 @@ public void Example_FirstTestTypeSpec_ReturnString_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnString_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnStringAsync(null); @@ -1519,7 +1519,7 @@ public async Task Example_FirstTestTypeSpec_ReturnString_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnString_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnString(); @@ -1529,7 +1529,7 @@ public void Example_FirstTestTypeSpec_ReturnString_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnString_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnStringAsync(); @@ -1539,7 +1539,7 @@ public async Task Example_FirstTestTypeSpec_ReturnString_AllParameters_Convenien [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnUnknown_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnUnknown(null); @@ -1552,7 +1552,7 @@ public void Example_FirstTestTypeSpec_ReturnUnknown_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnUnknown_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnUnknownAsync(null); @@ -1565,7 +1565,7 @@ public async Task Example_FirstTestTypeSpec_ReturnUnknown_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnUnknown_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnUnknown(); @@ -1575,7 +1575,7 @@ public void Example_FirstTestTypeSpec_ReturnUnknown_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnUnknown_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnUnknownAsync(); @@ -1585,7 +1585,7 @@ public async Task Example_FirstTestTypeSpec_ReturnUnknown_ShortVersion_Convenien [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnUnknown_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnUnknown(null); @@ -1598,7 +1598,7 @@ public void Example_FirstTestTypeSpec_ReturnUnknown_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnUnknown_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnUnknownAsync(null); @@ -1611,7 +1611,7 @@ public async Task Example_FirstTestTypeSpec_ReturnUnknown_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ReturnUnknown_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.ReturnUnknown(); @@ -1621,7 +1621,7 @@ public void Example_FirstTestTypeSpec_ReturnUnknown_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ReturnUnknown_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.ReturnUnknownAsync(); @@ -1631,7 +1631,7 @@ public async Task Example_FirstTestTypeSpec_ReturnUnknown_AllParameters_Convenie [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_RecursiveExtension_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1647,7 +1647,7 @@ public void Example_FirstTestTypeSpec_RecursiveExtension_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_RecursiveExtension_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1663,7 +1663,7 @@ public async Task Example_FirstTestTypeSpec_RecursiveExtension_ShortVersion_Asyn [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_RecursiveExtension_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extension input = new Extension(123); @@ -1674,7 +1674,7 @@ public void Example_FirstTestTypeSpec_RecursiveExtension_ShortVersion_Convenienc [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_RecursiveExtension_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extension input = new Extension(123); @@ -1685,7 +1685,7 @@ public async Task Example_FirstTestTypeSpec_RecursiveExtension_ShortVersion_Conv [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_RecursiveExtension_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1705,7 +1705,7 @@ public void Example_FirstTestTypeSpec_RecursiveExtension_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_RecursiveExtension_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1725,7 +1725,7 @@ public async Task Example_FirstTestTypeSpec_RecursiveExtension_AllParameters_Asy [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_RecursiveExtension_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extension input = new Extension(123) @@ -1739,7 +1739,7 @@ public void Example_FirstTestTypeSpec_RecursiveExtension_AllParameters_Convenien [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_RecursiveExtension_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extension input = new Extension(123) @@ -1753,7 +1753,7 @@ public async Task Example_FirstTestTypeSpec_RecursiveExtension_AllParameters_Con [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new object()); @@ -1766,7 +1766,7 @@ public void Example_FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new object()); @@ -1779,7 +1779,7 @@ public async Task Example_FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion_Asy [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extendible input = new Extendible(); @@ -1790,7 +1790,7 @@ public void Example_FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion_Convenien [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extendible input = new Extendible(); @@ -1801,7 +1801,7 @@ public async Task Example_FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion_Con [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ThreeLevelRecursive_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1827,7 +1827,7 @@ public void Example_FirstTestTypeSpec_ThreeLevelRecursive_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ThreeLevelRecursive_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1853,7 +1853,7 @@ public async Task Example_FirstTestTypeSpec_ThreeLevelRecursive_AllParameters_As [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ThreeLevelRecursive_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extendible input = new Extendible @@ -1870,7 +1870,7 @@ public void Example_FirstTestTypeSpec_ThreeLevelRecursive_AllParameters_Convenie [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ThreeLevelRecursive_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Extendible input = new Extendible @@ -1887,7 +1887,7 @@ public async Task Example_FirstTestTypeSpec_ThreeLevelRecursive_AllParameters_Co [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_RecursiveModels_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1910,7 +1910,7 @@ public void Example_FirstTestTypeSpec_RecursiveModels_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_RecursiveModels_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1933,7 +1933,7 @@ public async Task Example_FirstTestTypeSpec_RecursiveModels_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_RecursiveModels_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ChildModel input = new ChildModel(123, new BaseModel[] @@ -1947,7 +1947,7 @@ public void Example_FirstTestTypeSpec_RecursiveModels_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_RecursiveModels_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ChildModel input = new ChildModel(123, new BaseModel[] @@ -1961,7 +1961,7 @@ public async Task Example_FirstTestTypeSpec_RecursiveModels_ShortVersion_Conveni [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_RecursiveModels_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -1984,7 +1984,7 @@ public void Example_FirstTestTypeSpec_RecursiveModels_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_RecursiveModels_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2007,7 +2007,7 @@ public async Task Example_FirstTestTypeSpec_RecursiveModels_AllParameters_Async( [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_RecursiveModels_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ChildModel input = new ChildModel(123, new BaseModel[] @@ -2021,7 +2021,7 @@ public void Example_FirstTestTypeSpec_RecursiveModels_AllParameters_Convenience( [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_RecursiveModels_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ChildModel input = new ChildModel(123, new BaseModel[] @@ -2035,7 +2035,7 @@ public async Task Example_FirstTestTypeSpec_RecursiveModels_AllParameters_Conven [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ContainSelfModels_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new { }); @@ -2048,7 +2048,7 @@ public void Example_FirstTestTypeSpec_ContainSelfModels_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ContainSelfModels_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new { }); @@ -2061,7 +2061,7 @@ public async Task Example_FirstTestTypeSpec_ContainSelfModels_ShortVersion_Async [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ContainSelfModels_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ContainSelf input = new ContainSelf(default); @@ -2072,7 +2072,7 @@ public void Example_FirstTestTypeSpec_ContainSelfModels_ShortVersion_Convenience [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ContainSelfModels_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ContainSelf input = new ContainSelf(default); @@ -2083,7 +2083,7 @@ public async Task Example_FirstTestTypeSpec_ContainSelfModels_ShortVersion_Conve [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ContainSelfModels_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new { }); @@ -2096,7 +2096,7 @@ public void Example_FirstTestTypeSpec_ContainSelfModels_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ContainSelfModels_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new { }); @@ -2109,7 +2109,7 @@ public async Task Example_FirstTestTypeSpec_ContainSelfModels_AllParameters_Asyn [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_ContainSelfModels_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ContainSelf input = new ContainSelf(default); @@ -2120,7 +2120,7 @@ public void Example_FirstTestTypeSpec_ContainSelfModels_AllParameters_Convenienc [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_ContainSelfModels_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ContainSelf input = new ContainSelf(default); @@ -2131,7 +2131,7 @@ public async Task Example_FirstTestTypeSpec_ContainSelfModels_AllParameters_Conv [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_EnumParameter_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.EnumParameter(1.1F); @@ -2143,7 +2143,7 @@ public void Example_FirstTestTypeSpec_EnumParameter_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_EnumParameter_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.EnumParameterAsync(1.1F); @@ -2155,7 +2155,7 @@ public async Task Example_FirstTestTypeSpec_EnumParameter_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_EnumParameter_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.EnumParameter(CsProjectedEnum.CsOne); @@ -2165,7 +2165,7 @@ public void Example_FirstTestTypeSpec_EnumParameter_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_EnumParameter_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.EnumParameterAsync(CsProjectedEnum.CsOne); @@ -2175,7 +2175,7 @@ public async Task Example_FirstTestTypeSpec_EnumParameter_ShortVersion_Convenien [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_EnumParameter_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.EnumParameter(1.1F); @@ -2187,7 +2187,7 @@ public void Example_FirstTestTypeSpec_EnumParameter_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_EnumParameter_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.EnumParameterAsync(1.1F); @@ -2199,7 +2199,7 @@ public async Task Example_FirstTestTypeSpec_EnumParameter_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_EnumParameter_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.EnumParameter(CsProjectedEnum.CsOne); @@ -2209,7 +2209,7 @@ public void Example_FirstTestTypeSpec_EnumParameter_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_EnumParameter_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.EnumParameterAsync(CsProjectedEnum.CsOne); @@ -2219,7 +2219,7 @@ public async Task Example_FirstTestTypeSpec_EnumParameter_AllParameters_Convenie [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2235,7 +2235,7 @@ public void Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion( [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2251,7 +2251,7 @@ public async Task Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVe [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithProjectedEnum body = new ModelWithProjectedEnum(CsProjectedEnumInModel.CsOne); @@ -2262,7 +2262,7 @@ public void Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion_ [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithProjectedEnum body = new ModelWithProjectedEnum(CsProjectedEnumInModel.CsOne); @@ -2273,7 +2273,7 @@ public async Task Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVe [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2289,7 +2289,7 @@ public void Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2305,7 +2305,7 @@ public async Task Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllPara [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithProjectedEnum body = new ModelWithProjectedEnum(CsProjectedEnumInModel.CsOne); @@ -2316,7 +2316,7 @@ public void Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); ModelWithProjectedEnum body = new ModelWithProjectedEnum(CsProjectedEnumInModel.CsOne); @@ -2327,7 +2327,7 @@ public async Task Example_FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllPara [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_OptionalDictionary_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = null; @@ -2340,7 +2340,7 @@ public void Example_FirstTestTypeSpec_OptionalDictionary_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_OptionalDictionary_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = null; @@ -2353,7 +2353,7 @@ public async Task Example_FirstTestTypeSpec_OptionalDictionary_ShortVersion_Asyn [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_OptionalDictionary_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.OptionalDictionary(); @@ -2363,7 +2363,7 @@ public void Example_FirstTestTypeSpec_OptionalDictionary_ShortVersion_Convenienc [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_OptionalDictionary_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.OptionalDictionaryAsync(); @@ -2373,7 +2373,7 @@ public async Task Example_FirstTestTypeSpec_OptionalDictionary_ShortVersion_Conv [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_OptionalDictionary_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2389,7 +2389,7 @@ public void Example_FirstTestTypeSpec_OptionalDictionary_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_OptionalDictionary_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2405,7 +2405,7 @@ public async Task Example_FirstTestTypeSpec_OptionalDictionary_AllParameters_Asy [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_OptionalDictionary_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.OptionalDictionary(body: new Dictionary @@ -2418,7 +2418,7 @@ public void Example_FirstTestTypeSpec_OptionalDictionary_AllParameters_Convenien [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_OptionalDictionary_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.OptionalDictionaryAsync(body: new Dictionary @@ -2431,7 +2431,7 @@ public async Task Example_FirstTestTypeSpec_OptionalDictionary_AllParameters_Con [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AzureLocationOp_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = null; @@ -2444,7 +2444,7 @@ public void Example_FirstTestTypeSpec_AzureLocationOp_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AzureLocationOp_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = null; @@ -2457,7 +2457,7 @@ public async Task Example_FirstTestTypeSpec_AzureLocationOp_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AzureLocationOp_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = client.AzureLocationOp(new AzureLocation(""), new AzureLocation("")); @@ -2467,7 +2467,7 @@ public void Example_FirstTestTypeSpec_AzureLocationOp_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AzureLocationOp_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); Response response = await client.AzureLocationOpAsync(new AzureLocation(""), new AzureLocation("")); @@ -2477,7 +2477,7 @@ public async Task Example_FirstTestTypeSpec_AzureLocationOp_ShortVersion_Conveni [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AzureLocationOp_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2493,7 +2493,7 @@ public void Example_FirstTestTypeSpec_AzureLocationOp_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AzureLocationOp_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); using RequestContent content = RequestContent.Create(new @@ -2509,7 +2509,7 @@ public async Task Example_FirstTestTypeSpec_AzureLocationOp_AllParameters_Async( [Ignore("Only validating compilation of examples")] public void Example_FirstTestTypeSpec_AzureLocationOp_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); AzureLocationModel body = new AzureLocationModel(new AzureLocation("")); @@ -2520,7 +2520,7 @@ public void Example_FirstTestTypeSpec_AzureLocationOp_AllParameters_Convenience( [Ignore("Only validating compilation of examples")] public async Task Example_FirstTestTypeSpec_AzureLocationOp_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); FirstTestTypeSpecClient client = new FirstTestTypeSpecClient(endpoint); AzureLocationModel body = new AzureLocationModel(new AzureLocation("")); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_Glossary.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_Glossary.cs index 0a7fc9c402a..3f9d3911e6d 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_Glossary.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_Glossary.cs @@ -21,7 +21,7 @@ public partial class Samples_Glossary [Ignore("Only validating compilation of examples")] public void Example_Glossary_DoSomething_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = client.DoSomething("", "

", null); @@ -42,7 +42,7 @@ public void Example_Glossary_DoSomething_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Glossary_DoSomething_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = await client.DoSomethingAsync("", "

", null); @@ -63,7 +63,7 @@ public async Task Example_Glossary_DoSomething_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Glossary_DoSomething_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = client.DoSomething("", "

"); @@ -73,7 +73,7 @@ public void Example_Glossary_DoSomething_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Glossary_DoSomething_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = await client.DoSomethingAsync("", "

"); @@ -83,7 +83,7 @@ public async Task Example_Glossary_DoSomething_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Glossary_DoSomething_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = client.DoSomething("", "

", null); @@ -111,7 +111,7 @@ public void Example_Glossary_DoSomething_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Glossary_DoSomething_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = await client.DoSomethingAsync("", "

", null); @@ -139,7 +139,7 @@ public async Task Example_Glossary_DoSomething_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Glossary_DoSomething_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = client.DoSomething("", "

"); @@ -149,7 +149,7 @@ public void Example_Glossary_DoSomething_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Glossary_DoSomething_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); Glossary client = new FirstTestTypeSpecClient(endpoint).GetGlossaryClient(); Response response = await client.DoSomethingAsync("", "

"); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_HelloDemo.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_HelloDemo.cs index 4c79c5a8e76..c0107a4f5d1 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_HelloDemo.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_HelloDemo.cs @@ -20,7 +20,7 @@ public partial class Samples_HelloDemo [Ignore("Only validating compilation of examples")] public void Example_Demo_SayHi_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemoClient(); Response response = client.SayHi("", "", null, null); @@ -41,7 +41,7 @@ public void Example_Demo_SayHi_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Demo_SayHi_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemoClient(); Response response = await client.SayHiAsync("", "", null, null); @@ -62,7 +62,7 @@ public async Task Example_Demo_SayHi_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo_SayHi_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemoClient(); Response response = client.SayHi("", "", "", null); @@ -90,7 +90,7 @@ public void Example_Demo_SayHi_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Demo_SayHi_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemoClient(); Response response = await client.SayHiAsync("", "", "", null); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_HelloDemo2.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_HelloDemo2.cs index 12548ed58fb..93fb9cd04cc 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_HelloDemo2.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_HelloDemo2.cs @@ -23,7 +23,7 @@ public partial class Samples_HelloDemo2 [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloAgain_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -98,7 +98,7 @@ public void Example_Demo2_HelloAgain_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloAgain_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -173,7 +173,7 @@ public async Task Example_Demo2_HelloAgain_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloAgain_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); RoundTripModel action = new RoundTripModel( @@ -202,7 +202,7 @@ public void Example_Demo2_HelloAgain_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloAgain_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); RoundTripModel action = new RoundTripModel( @@ -231,7 +231,7 @@ public async Task Example_Demo2_HelloAgain_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloAgain_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -361,7 +361,7 @@ public void Example_Demo2_HelloAgain_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloAgain_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -491,7 +491,7 @@ public async Task Example_Demo2_HelloAgain_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloAgain_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); RoundTripModel action = new RoundTripModel( @@ -545,7 +545,7 @@ public void Example_Demo2_HelloAgain_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloAgain_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); RoundTripModel action = new RoundTripModel( @@ -599,7 +599,7 @@ public async Task Example_Demo2_HelloAgain_AllParameters_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_NoContentType_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -674,7 +674,7 @@ public void Example_Demo2_NoContentType_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_NoContentType_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -749,7 +749,7 @@ public async Task Example_Demo2_NoContentType_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_NoContentType_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -879,7 +879,7 @@ public void Example_Demo2_NoContentType_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_NoContentType_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -1009,7 +1009,7 @@ public async Task Example_Demo2_NoContentType_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloDemoAgain_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloDemoAgain(null); @@ -1030,7 +1030,7 @@ public void Example_Demo2_HelloDemoAgain_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloDemoAgain_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloDemoAgainAsync(null); @@ -1051,7 +1051,7 @@ public async Task Example_Demo2_HelloDemoAgain_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloDemoAgain_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloDemoAgain(); @@ -1061,7 +1061,7 @@ public void Example_Demo2_HelloDemoAgain_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloDemoAgain_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloDemoAgainAsync(); @@ -1071,7 +1071,7 @@ public async Task Example_Demo2_HelloDemoAgain_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloDemoAgain_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloDemoAgain(null); @@ -1099,7 +1099,7 @@ public void Example_Demo2_HelloDemoAgain_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloDemoAgain_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloDemoAgainAsync(null); @@ -1127,7 +1127,7 @@ public async Task Example_Demo2_HelloDemoAgain_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloDemoAgain_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloDemoAgain(); @@ -1137,7 +1137,7 @@ public void Example_Demo2_HelloDemoAgain_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloDemoAgain_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloDemoAgainAsync(); @@ -1147,7 +1147,7 @@ public async Task Example_Demo2_HelloDemoAgain_AllParameters_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_CreateLiteral_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -1183,7 +1183,7 @@ public void Example_Demo2_CreateLiteral_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_CreateLiteral_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -1219,7 +1219,7 @@ public async Task Example_Demo2_CreateLiteral_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_CreateLiteral_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Thing body = new Thing("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default); @@ -1230,7 +1230,7 @@ public void Example_Demo2_CreateLiteral_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_CreateLiteral_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Thing body = new Thing("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default); @@ -1241,7 +1241,7 @@ public async Task Example_Demo2_CreateLiteral_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_CreateLiteral_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -1294,7 +1294,7 @@ public void Example_Demo2_CreateLiteral_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_CreateLiteral_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); using RequestContent content = RequestContent.Create(new @@ -1347,7 +1347,7 @@ public async Task Example_Demo2_CreateLiteral_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_CreateLiteral_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Thing body = new Thing("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default) @@ -1367,7 +1367,7 @@ public void Example_Demo2_CreateLiteral_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_CreateLiteral_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Thing body = new Thing("", BinaryData.FromObjectAsJson(""), "", new int[] { 1234 }, (double)default) @@ -1387,7 +1387,7 @@ public async Task Example_Demo2_CreateLiteral_AllParameters_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloLiteral_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloLiteral(null); @@ -1408,7 +1408,7 @@ public void Example_Demo2_HelloLiteral_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloLiteral_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloLiteralAsync(null); @@ -1429,7 +1429,7 @@ public async Task Example_Demo2_HelloLiteral_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloLiteral_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloLiteral(); @@ -1439,7 +1439,7 @@ public void Example_Demo2_HelloLiteral_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloLiteral_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloLiteralAsync(); @@ -1449,7 +1449,7 @@ public async Task Example_Demo2_HelloLiteral_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloLiteral_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloLiteral(null); @@ -1477,7 +1477,7 @@ public void Example_Demo2_HelloLiteral_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloLiteral_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloLiteralAsync(null); @@ -1505,7 +1505,7 @@ public async Task Example_Demo2_HelloLiteral_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Demo2_HelloLiteral_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = client.HelloLiteral(); @@ -1515,7 +1515,7 @@ public void Example_Demo2_HelloLiteral_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Demo2_HelloLiteral_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); HelloDemo2 client = new FirstTestTypeSpecClient(endpoint).GetHelloClient().GetHelloDemo2Client(); Response response = await client.HelloLiteralAsync(); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_VersioningOp.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_VersioningOp.cs index 8558f1f0bca..7e684161ba1 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_VersioningOp.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Samples/Samples_VersioningOp.cs @@ -20,7 +20,7 @@ public partial class Samples_VersioningOp [Ignore("Only validating compilation of examples")] public void Example_VersioningOp_Export_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Export(WaitUntil.Completed, "", null, null); @@ -35,7 +35,7 @@ public void Example_VersioningOp_Export_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_VersioningOp_Export_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", null, null); @@ -50,7 +50,7 @@ public async Task Example_VersioningOp_Export_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_VersioningOp_Export_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = client.Export(WaitUntil.Completed, "", "", null); @@ -65,7 +65,7 @@ public void Example_VersioningOp_Export_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_VersioningOp_Export_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", "", null); @@ -80,7 +80,7 @@ public async Task Example_VersioningOp_Export_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_VersioningOp_ExportW_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = client.ExportW(WaitUntil.Completed, "", null, null); @@ -95,7 +95,7 @@ public void Example_VersioningOp_ExportW_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_VersioningOp_ExportW_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportWAsync(WaitUntil.Completed, "", null, null); @@ -110,7 +110,7 @@ public async Task Example_VersioningOp_ExportW_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_VersioningOp_ExportW_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = client.ExportW(WaitUntil.Completed, "", "", null); @@ -125,7 +125,7 @@ public void Example_VersioningOp_ExportW_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_VersioningOp_ExportW_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new FirstTestTypeSpecClient(endpoint).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); Operation operation = await client.ExportWAsync(WaitUntil.Completed, "", "", null); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/EntityTests.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/EntityTests.cs index c7b1a5d25b3..220676c64c0 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/EntityTests.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/EntityTests.cs @@ -24,7 +24,7 @@ public EntityTests(bool isAsync) : base(isAsync) [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Entity_DoSomething_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; Entity client = CreateFirstTestTypeSpecClient(endpoint, credential).GetEntityClient(); @@ -35,7 +35,7 @@ public async Task Entity_DoSomething_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Entity_DoSomething_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; Entity client = CreateFirstTestTypeSpecClient(endpoint, credential).GetEntityClient(); @@ -46,7 +46,7 @@ public async Task Entity_DoSomething_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Entity_DoSomething_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; Entity client = CreateFirstTestTypeSpecClient(endpoint, credential).GetEntityClient(); @@ -57,7 +57,7 @@ public async Task Entity_DoSomething_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Entity_DoSomething_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; Entity client = CreateFirstTestTypeSpecClient(endpoint, credential).GetEntityClient(); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/EnumTestTests.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/EnumTestTests.cs index cf16932ec5a..6f1a8c2830d 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/EnumTestTests.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/EnumTestTests.cs @@ -24,7 +24,7 @@ public EnumTestTests(bool isAsync) : base(isAsync) [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task EnumTest_CreateUnknownValue_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; EnumTest client = CreateFirstTestTypeSpecClient(endpoint, credential).GetEnumTestClient(); @@ -36,7 +36,7 @@ public async Task EnumTest_CreateUnknownValue_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task EnumTest_CreateUnknownValue_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; EnumTest client = CreateFirstTestTypeSpecClient(endpoint, credential).GetEnumTestClient(); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/FirstTestTypeSpecClientTests.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/FirstTestTypeSpecClientTests.cs index 5e113e7dc74..83d98200f66 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/FirstTestTypeSpecClientTests.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/FirstTestTypeSpecClientTests.cs @@ -26,7 +26,7 @@ public FirstTestTypeSpecClientTests(bool isAsync) : base(isAsync) [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_TopAction_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -37,7 +37,7 @@ public async Task FirstTestTypeSpec_TopAction_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_TopAction_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -48,7 +48,7 @@ public async Task FirstTestTypeSpec_TopAction_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_TopAction_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -59,7 +59,7 @@ public async Task FirstTestTypeSpec_TopAction_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_TopAction_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -70,7 +70,7 @@ public async Task FirstTestTypeSpec_TopAction_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_TopAction2_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -81,7 +81,7 @@ public async Task FirstTestTypeSpec_TopAction2_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_TopAction2_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -92,7 +92,7 @@ public async Task FirstTestTypeSpec_TopAction2_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_PatchAction_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -118,7 +118,7 @@ public async Task FirstTestTypeSpec_PatchAction_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_PatchAction_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -154,7 +154,7 @@ public async Task FirstTestTypeSpec_PatchAction_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AnonymousBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -180,7 +180,7 @@ public async Task FirstTestTypeSpec_AnonymousBody_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AnonymousBody_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -191,7 +191,7 @@ public async Task FirstTestTypeSpec_AnonymousBody_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AnonymousBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -227,7 +227,7 @@ public async Task FirstTestTypeSpec_AnonymousBody_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AnonymousBody_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -238,7 +238,7 @@ public async Task FirstTestTypeSpec_AnonymousBody_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_FriendlyModel_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -253,7 +253,7 @@ public async Task FirstTestTypeSpec_FriendlyModel_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_FriendlyModel_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -264,7 +264,7 @@ public async Task FirstTestTypeSpec_FriendlyModel_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_FriendlyModel_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -279,7 +279,7 @@ public async Task FirstTestTypeSpec_FriendlyModel_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_FriendlyModel_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -290,7 +290,7 @@ public async Task FirstTestTypeSpec_FriendlyModel_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AddTimeHeader_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -301,7 +301,7 @@ public async Task FirstTestTypeSpec_AddTimeHeader_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AddTimeHeader_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -312,7 +312,7 @@ public async Task FirstTestTypeSpec_AddTimeHeader_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_StringFormat_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -328,7 +328,7 @@ public async Task FirstTestTypeSpec_StringFormat_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_StringFormat_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -340,7 +340,7 @@ public async Task FirstTestTypeSpec_StringFormat_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_StringFormat_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -356,7 +356,7 @@ public async Task FirstTestTypeSpec_StringFormat_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_StringFormat_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -368,7 +368,7 @@ public async Task FirstTestTypeSpec_StringFormat_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ProjectedNameModel_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -383,7 +383,7 @@ public async Task FirstTestTypeSpec_ProjectedNameModel_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ProjectedNameModel_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -394,7 +394,7 @@ public async Task FirstTestTypeSpec_ProjectedNameModel_ShortVersion_Convenience( [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ProjectedNameModel_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -409,7 +409,7 @@ public async Task FirstTestTypeSpec_ProjectedNameModel_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ProjectedNameModel_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -420,7 +420,7 @@ public async Task FirstTestTypeSpec_ProjectedNameModel_AllParameters_Convenience [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -431,7 +431,7 @@ public async Task FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -442,7 +442,7 @@ public async Task FirstTestTypeSpec_ReturnsAnonymousModel_ShortVersion_Convenien [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -453,7 +453,7 @@ public async Task FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -464,7 +464,7 @@ public async Task FirstTestTypeSpec_ReturnsAnonymousModel_AllParameters_Convenie [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_HeadAsBoolean_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -475,7 +475,7 @@ public async Task FirstTestTypeSpec_HeadAsBoolean_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_HeadAsBoolean_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -486,7 +486,7 @@ public async Task FirstTestTypeSpec_HeadAsBoolean_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_StringBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -498,7 +498,7 @@ public async Task FirstTestTypeSpec_StringBody_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_StringBody_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -509,7 +509,7 @@ public async Task FirstTestTypeSpec_StringBody_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_StringBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -521,7 +521,7 @@ public async Task FirstTestTypeSpec_StringBody_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_StringBody_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -532,7 +532,7 @@ public async Task FirstTestTypeSpec_StringBody_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_BoolBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -544,7 +544,7 @@ public async Task FirstTestTypeSpec_BoolBody_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_BoolBody_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -555,7 +555,7 @@ public async Task FirstTestTypeSpec_BoolBody_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_BoolBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -567,7 +567,7 @@ public async Task FirstTestTypeSpec_BoolBody_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_BoolBody_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -578,7 +578,7 @@ public async Task FirstTestTypeSpec_BoolBody_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_DateTimeBody_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -590,7 +590,7 @@ public async Task FirstTestTypeSpec_DateTimeBody_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_DateTimeBody_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -601,7 +601,7 @@ public async Task FirstTestTypeSpec_DateTimeBody_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_DateTimeBody_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -613,7 +613,7 @@ public async Task FirstTestTypeSpec_DateTimeBody_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_DateTimeBody_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -624,7 +624,7 @@ public async Task FirstTestTypeSpec_DateTimeBody_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnString_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -635,7 +635,7 @@ public async Task FirstTestTypeSpec_ReturnString_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnString_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -646,7 +646,7 @@ public async Task FirstTestTypeSpec_ReturnString_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnString_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -657,7 +657,7 @@ public async Task FirstTestTypeSpec_ReturnString_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnString_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -668,7 +668,7 @@ public async Task FirstTestTypeSpec_ReturnString_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnUnknown_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -679,7 +679,7 @@ public async Task FirstTestTypeSpec_ReturnUnknown_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnUnknown_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -690,7 +690,7 @@ public async Task FirstTestTypeSpec_ReturnUnknown_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnUnknown_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -701,7 +701,7 @@ public async Task FirstTestTypeSpec_ReturnUnknown_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ReturnUnknown_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -712,7 +712,7 @@ public async Task FirstTestTypeSpec_ReturnUnknown_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_RecursiveExtension_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -727,7 +727,7 @@ public async Task FirstTestTypeSpec_RecursiveExtension_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_RecursiveExtension_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -739,7 +739,7 @@ public async Task FirstTestTypeSpec_RecursiveExtension_ShortVersion_Convenience( [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_RecursiveExtension_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -758,7 +758,7 @@ public async Task FirstTestTypeSpec_RecursiveExtension_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_RecursiveExtension_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -773,7 +773,7 @@ public async Task FirstTestTypeSpec_RecursiveExtension_AllParameters_Convenience [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -785,7 +785,7 @@ public async Task FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -797,7 +797,7 @@ public async Task FirstTestTypeSpec_ThreeLevelRecursive_ShortVersion_Convenience [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ThreeLevelRecursive_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -822,7 +822,7 @@ public async Task FirstTestTypeSpec_ThreeLevelRecursive_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ThreeLevelRecursive_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -840,7 +840,7 @@ public async Task FirstTestTypeSpec_ThreeLevelRecursive_AllParameters_Convenienc [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_RecursiveModels_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -862,7 +862,7 @@ public async Task FirstTestTypeSpec_RecursiveModels_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_RecursiveModels_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -877,7 +877,7 @@ public async Task FirstTestTypeSpec_RecursiveModels_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_RecursiveModels_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -899,7 +899,7 @@ public async Task FirstTestTypeSpec_RecursiveModels_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_RecursiveModels_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -914,7 +914,7 @@ public async Task FirstTestTypeSpec_RecursiveModels_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ContainSelfModels_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -926,7 +926,7 @@ public async Task FirstTestTypeSpec_ContainSelfModels_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ContainSelfModels_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -938,7 +938,7 @@ public async Task FirstTestTypeSpec_ContainSelfModels_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ContainSelfModels_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -950,7 +950,7 @@ public async Task FirstTestTypeSpec_ContainSelfModels_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_ContainSelfModels_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -962,7 +962,7 @@ public async Task FirstTestTypeSpec_ContainSelfModels_AllParameters_Convenience( [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_EnumParameter_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -973,7 +973,7 @@ public async Task FirstTestTypeSpec_EnumParameter_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_EnumParameter_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -984,7 +984,7 @@ public async Task FirstTestTypeSpec_EnumParameter_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_EnumParameter_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -995,7 +995,7 @@ public async Task FirstTestTypeSpec_EnumParameter_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_EnumParameter_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1006,7 +1006,7 @@ public async Task FirstTestTypeSpec_EnumParameter_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1021,7 +1021,7 @@ public async Task FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1033,7 +1033,7 @@ public async Task FirstTestTypeSpec_BodyIsModelWithProjectedEnum_ShortVersion_Co [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1048,7 +1048,7 @@ public async Task FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1060,7 +1060,7 @@ public async Task FirstTestTypeSpec_BodyIsModelWithProjectedEnum_AllParameters_C [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_OptionalDictionary_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1072,7 +1072,7 @@ public async Task FirstTestTypeSpec_OptionalDictionary_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_OptionalDictionary_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1083,7 +1083,7 @@ public async Task FirstTestTypeSpec_OptionalDictionary_ShortVersion_Convenience( [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_OptionalDictionary_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1098,7 +1098,7 @@ public async Task FirstTestTypeSpec_OptionalDictionary_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_OptionalDictionary_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1112,7 +1112,7 @@ public async Task FirstTestTypeSpec_OptionalDictionary_AllParameters_Convenience [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AzureLocationOp_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1124,7 +1124,7 @@ public async Task FirstTestTypeSpec_AzureLocationOp_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AzureLocationOp_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1135,7 +1135,7 @@ public async Task FirstTestTypeSpec_AzureLocationOp_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AzureLocationOp_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); @@ -1150,7 +1150,7 @@ public async Task FirstTestTypeSpec_AzureLocationOp_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task FirstTestTypeSpec_AzureLocationOp_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; FirstTestTypeSpecClient client = CreateFirstTestTypeSpecClient(endpoint, credential); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/GlossaryTests.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/GlossaryTests.cs index dba3cc8d124..796180ded89 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/GlossaryTests.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/GlossaryTests.cs @@ -24,7 +24,7 @@ public GlossaryTests(bool isAsync) : base(isAsync) [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Glossary_DoSomething_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; Glossary client = CreateFirstTestTypeSpecClient(endpoint, credential).GetGlossaryClient(); @@ -35,7 +35,7 @@ public async Task Glossary_DoSomething_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Glossary_DoSomething_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; Glossary client = CreateFirstTestTypeSpecClient(endpoint, credential).GetGlossaryClient(); @@ -46,7 +46,7 @@ public async Task Glossary_DoSomething_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Glossary_DoSomething_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; Glossary client = CreateFirstTestTypeSpecClient(endpoint, credential).GetGlossaryClient(); @@ -57,7 +57,7 @@ public async Task Glossary_DoSomething_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Glossary_DoSomething_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; Glossary client = CreateFirstTestTypeSpecClient(endpoint, credential).GetGlossaryClient(); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/HelloDemo2Tests.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/HelloDemo2Tests.cs index e6c18c41f51..983621bef32 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/HelloDemo2Tests.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/HelloDemo2Tests.cs @@ -26,7 +26,7 @@ public HelloDemo2Tests(bool isAsync) : base(isAsync) [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloAgain_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -80,7 +80,7 @@ public async Task Demo2_HelloAgain_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloAgain_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -110,7 +110,7 @@ public async Task Demo2_HelloAgain_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloAgain_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -200,7 +200,7 @@ public async Task Demo2_HelloAgain_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloAgain_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -255,7 +255,7 @@ public async Task Demo2_HelloAgain_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_NoContentType_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -309,7 +309,7 @@ public async Task Demo2_NoContentType_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_NoContentType_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -399,7 +399,7 @@ public async Task Demo2_NoContentType_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloDemoAgain_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -410,7 +410,7 @@ public async Task Demo2_HelloDemoAgain_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloDemoAgain_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -421,7 +421,7 @@ public async Task Demo2_HelloDemoAgain_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloDemoAgain_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -432,7 +432,7 @@ public async Task Demo2_HelloDemoAgain_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloDemoAgain_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -443,7 +443,7 @@ public async Task Demo2_HelloDemoAgain_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_CreateLiteral_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -469,7 +469,7 @@ public async Task Demo2_CreateLiteral_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_CreateLiteral_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -481,7 +481,7 @@ public async Task Demo2_CreateLiteral_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_CreateLiteral_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -517,7 +517,7 @@ public async Task Demo2_CreateLiteral_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_CreateLiteral_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -538,7 +538,7 @@ public async Task Demo2_CreateLiteral_AllParameters_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloLiteral_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -549,7 +549,7 @@ public async Task Demo2_HelloLiteral_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloLiteral_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -560,7 +560,7 @@ public async Task Demo2_HelloLiteral_ShortVersion_Convenience() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloLiteral_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); @@ -571,7 +571,7 @@ public async Task Demo2_HelloLiteral_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo2_HelloLiteral_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo2 client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemo2Client(); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/HelloDemoTests.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/HelloDemoTests.cs index 78586e0be8f..bd64c21bc7b 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/HelloDemoTests.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/HelloDemoTests.cs @@ -23,7 +23,7 @@ public HelloDemoTests(bool isAsync) : base(isAsync) [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo_SayHi_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemoClient(); @@ -34,7 +34,7 @@ public async Task Demo_SayHi_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task Demo_SayHi_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; HelloDemo client = CreateFirstTestTypeSpecClient(endpoint, credential).GetHelloClient().GetHelloDemoClient(); diff --git a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/VersioningOpTests.cs b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/VersioningOpTests.cs index c071470be0d..07f6d7d56be 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/VersioningOpTests.cs +++ b/test/TestProjects/FirstTest-TypeSpec/tests/Generated/Tests/VersioningOpTests.cs @@ -23,7 +23,7 @@ public VersioningOpTests(bool isAsync) : base(isAsync) [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task VersioningOp_Export_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; VersioningOp client = CreateFirstTestTypeSpecClient(endpoint, credential).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); @@ -35,7 +35,7 @@ public async Task VersioningOp_Export_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task VersioningOp_Export_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; VersioningOp client = CreateFirstTestTypeSpecClient(endpoint, credential).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); @@ -47,7 +47,7 @@ public async Task VersioningOp_Export_AllParameters() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task VersioningOp_ExportW_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; VersioningOp client = CreateFirstTestTypeSpecClient(endpoint, credential).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); @@ -59,7 +59,7 @@ public async Task VersioningOp_ExportW_ShortVersion() [Ignore("Please remove the Ignore attribute to let the test method run")] public async Task VersioningOp_ExportW_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); AzureKeyCredential credential = null; VersioningOp client = CreateFirstTestTypeSpecClient(endpoint, credential).GetVersioningOpClient(apiVersion: "2022-05-15-preview"); diff --git a/test/TestProjects/FirstTest-TypeSpec/tspCodeModel.json b/test/TestProjects/FirstTest-TypeSpec/tspCodeModel.json index bae746ee26d..b6cd9441806 100644 --- a/test/TestProjects/FirstTest-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/FirstTest-TypeSpec/tspCodeModel.json @@ -2873,35 +2873,15 @@ "Parameters": [ { "$id": "293", - "Name": "firstTestTypeSpecUrl", - "NameInRequest": "firstTestTypeSpecUrl", - "Type": { - "$id": "294", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "295", "Name": "action", "NameInRequest": "action", "Type": { - "$id": "296", + "$id": "294", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "297", + "$id": "295", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2921,14 +2901,14 @@ "SkipUrlEncoding": false }, { - "$id": "298", + "$id": "296", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "299", + "$id": "297", "kind": "constant", "valueType": { - "$id": "300", + "$id": "298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2950,7 +2930,7 @@ ], "Responses": [ { - "$id": "301", + "$id": "299", "StatusCodes": [ 200 ], @@ -2976,24 +2956,21 @@ "Decorators": [] }, { - "$id": "302", + "$id": "300", "Name": "topAction2", "ResourceName": "FirstTestTypeSpec", "Description": "top level method2", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "303", + "$id": "301", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "304", + "$id": "302", "kind": "constant", "valueType": { - "$id": "305", + "$id": "303", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3015,7 +2992,7 @@ ], "Responses": [ { - "$id": "306", + "$id": "304", "StatusCodes": [ 200 ], @@ -3041,25 +3018,22 @@ "Decorators": [] }, { - "$id": "307", + "$id": "305", "Name": "patchAction", "ResourceName": "FirstTestTypeSpec", "Description": "top level patch", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "308", + "$id": "306", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "309", + "$id": "307", "kind": "constant", "valueType": { - "$id": "310", + "$id": "308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3079,14 +3053,14 @@ "SkipUrlEncoding": false }, { - "$id": "311", + "$id": "309", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "312", + "$id": "310", "kind": "constant", "valueType": { - "$id": "313", + "$id": "311", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3106,7 +3080,7 @@ "SkipUrlEncoding": false }, { - "$id": "314", + "$id": "312", "Name": "body", "NameInRequest": "body", "Type": { @@ -3125,7 +3099,7 @@ ], "Responses": [ { - "$id": "315", + "$id": "313", "StatusCodes": [ 200 ], @@ -3154,25 +3128,22 @@ "Decorators": [] }, { - "$id": "316", + "$id": "314", "Name": "anonymousBody", "ResourceName": "FirstTestTypeSpec", "Description": "body parameter without body decorator", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "317", + "$id": "315", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "318", + "$id": "316", "kind": "constant", "valueType": { - "$id": "319", + "$id": "317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3192,14 +3163,14 @@ "SkipUrlEncoding": false }, { - "$id": "320", + "$id": "318", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "321", + "$id": "319", "kind": "constant", "valueType": { - "$id": "322", + "$id": "320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3219,7 +3190,7 @@ "SkipUrlEncoding": false }, { - "$id": "323", + "$id": "321", "Name": "thing", "NameInRequest": "thing", "Type": { @@ -3238,7 +3209,7 @@ ], "Responses": [ { - "$id": "324", + "$id": "322", "StatusCodes": [ 200 ], @@ -3267,25 +3238,22 @@ "Decorators": [] }, { - "$id": "325", + "$id": "323", "Name": "friendlyModel", "ResourceName": "FirstTestTypeSpec", "Description": "Model can have its friendly name", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "326", + "$id": "324", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "327", + "$id": "325", "kind": "constant", "valueType": { - "$id": "328", + "$id": "326", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3305,14 +3273,14 @@ "SkipUrlEncoding": false }, { - "$id": "329", + "$id": "327", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "330", + "$id": "328", "kind": "constant", "valueType": { - "$id": "331", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3332,7 +3300,7 @@ "SkipUrlEncoding": false }, { - "$id": "332", + "$id": "330", "Name": "friend", "NameInRequest": "friend", "Type": { @@ -3351,7 +3319,7 @@ ], "Responses": [ { - "$id": "333", + "$id": "331", "StatusCodes": [ 200 ], @@ -3380,25 +3348,22 @@ "Decorators": [] }, { - "$id": "334", + "$id": "332", "Name": "addTimeHeader", "ResourceName": "FirstTestTypeSpec", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "335", + "$id": "333", "Name": "repeatabilityFirstSent", "NameInRequest": "Repeatability-First-Sent", "Type": { - "$id": "336", + "$id": "334", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "337", + "$id": "335", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3420,7 +3385,7 @@ ], "Responses": [ { - "$id": "338", + "$id": "336", "StatusCodes": [ 204 ], @@ -3440,26 +3405,23 @@ "Decorators": [] }, { - "$id": "339", + "$id": "337", "Name": "stringFormat", "ResourceName": "FirstTestTypeSpec", "Description": "paramete has string format.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "340", + "$id": "338", "Name": "subscriptionId", "NameInRequest": "subscriptionId", "Type": { - "$id": "341", + "$id": "339", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "342", + "$id": "340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3478,15 +3440,15 @@ "SkipUrlEncoding": false }, { - "$id": "343", + "$id": "341", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "344", + "$id": "342", "kind": "constant", "valueType": { - "$id": "345", + "$id": "343", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3506,7 +3468,7 @@ "SkipUrlEncoding": false }, { - "$id": "346", + "$id": "344", "Name": "body", "NameInRequest": "body", "Type": { @@ -3525,7 +3487,7 @@ ], "Responses": [ { - "$id": "347", + "$id": "345", "StatusCodes": [ 204 ], @@ -3548,25 +3510,22 @@ "Decorators": [] }, { - "$id": "348", + "$id": "346", "Name": "projectedNameModel", "ResourceName": "FirstTestTypeSpec", "Description": "Model can have its projected name", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "349", + "$id": "347", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "350", + "$id": "348", "kind": "constant", "valueType": { - "$id": "351", + "$id": "349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3586,14 +3545,14 @@ "SkipUrlEncoding": false }, { - "$id": "352", + "$id": "350", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "353", + "$id": "351", "kind": "constant", "valueType": { - "$id": "354", + "$id": "352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3613,7 +3572,7 @@ "SkipUrlEncoding": false }, { - "$id": "355", + "$id": "353", "Name": "projectedModel", "NameInRequest": "projectedModel", "Type": { @@ -3632,7 +3591,7 @@ ], "Responses": [ { - "$id": "356", + "$id": "354", "StatusCodes": [ 200 ], @@ -3661,24 +3620,21 @@ "Decorators": [] }, { - "$id": "357", + "$id": "355", "Name": "returnsAnonymousModel", "ResourceName": "FirstTestTypeSpec", "Description": "return anonymous model", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "358", + "$id": "356", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "359", + "$id": "357", "kind": "constant", "valueType": { - "$id": "360", + "$id": "358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3700,7 +3656,7 @@ ], "Responses": [ { - "$id": "361", + "$id": "359", "StatusCodes": [ 200 ], @@ -3726,21 +3682,18 @@ "Decorators": [] }, { - "$id": "362", + "$id": "360", "Name": "headAsBoolean", "ResourceName": "FirstTestTypeSpec", "Description": "head as boolean.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "363", + "$id": "361", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "364", + "$id": "362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3759,7 +3712,7 @@ ], "Responses": [ { - "$id": "365", + "$id": "363", "StatusCodes": [ 204 ], @@ -3779,25 +3732,22 @@ "Decorators": [] }, { - "$id": "366", + "$id": "364", "Name": "stringBody", "ResourceName": "FirstTestTypeSpec", "Description": "The body parameter type is string.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "367", + "$id": "365", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "368", + "$id": "366", "kind": "constant", "valueType": { - "$id": "369", + "$id": "367", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3817,11 +3767,11 @@ "SkipUrlEncoding": false }, { - "$id": "370", + "$id": "368", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "371", + "$id": "369", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3840,7 +3790,7 @@ ], "Responses": [ { - "$id": "372", + "$id": "370", "StatusCodes": [ 204 ], @@ -3863,25 +3813,22 @@ "Decorators": [] }, { - "$id": "373", + "$id": "371", "Name": "boolBody", "ResourceName": "FirstTestTypeSpec", "Description": "The body parameter type is bool.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "374", + "$id": "372", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "375", + "$id": "373", "kind": "constant", "valueType": { - "$id": "376", + "$id": "374", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3901,11 +3848,11 @@ "SkipUrlEncoding": false }, { - "$id": "377", + "$id": "375", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "378", + "$id": "376", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -3924,7 +3871,7 @@ ], "Responses": [ { - "$id": "379", + "$id": "377", "StatusCodes": [ 204 ], @@ -3947,25 +3894,22 @@ "Decorators": [] }, { - "$id": "380", + "$id": "378", "Name": "dateTimeBody", "ResourceName": "FirstTestTypeSpec", "Description": "The body parameter type is datetime.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "381", + "$id": "379", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "382", + "$id": "380", "kind": "constant", "valueType": { - "$id": "383", + "$id": "381", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3985,16 +3929,16 @@ "SkipUrlEncoding": false }, { - "$id": "384", + "$id": "382", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "385", + "$id": "383", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "386", + "$id": "384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4016,7 +3960,7 @@ ], "Responses": [ { - "$id": "387", + "$id": "385", "StatusCodes": [ 204 ], @@ -4039,24 +3983,21 @@ "Decorators": [] }, { - "$id": "388", + "$id": "386", "Name": "returnString", "ResourceName": "FirstTestTypeSpec", "Description": "The return type is datetime.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "389", + "$id": "387", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "390", + "$id": "388", "kind": "constant", "valueType": { - "$id": "391", + "$id": "389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4078,12 +4019,12 @@ ], "Responses": [ { - "$id": "392", + "$id": "390", "StatusCodes": [ 200 ], "BodyType": { - "$id": "393", + "$id": "391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4108,23 +4049,20 @@ "Decorators": [] }, { - "$id": "394", + "$id": "392", "Name": "returnUnknown", "ResourceName": "FirstTestTypeSpec", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "395", + "$id": "393", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "396", + "$id": "394", "kind": "constant", "valueType": { - "$id": "397", + "$id": "395", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4146,12 +4084,12 @@ ], "Responses": [ { - "$id": "398", + "$id": "396", "StatusCodes": [ 200 ], "BodyType": { - "$id": "399", + "$id": "397", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -4176,25 +4114,22 @@ "Decorators": [] }, { - "$id": "400", + "$id": "398", "Name": "recursiveExtension", "ResourceName": "FirstTestTypeSpec", "Description": "test parent reference child", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "401", + "$id": "399", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "402", + "$id": "400", "kind": "constant", "valueType": { - "$id": "403", + "$id": "401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4214,7 +4149,7 @@ "SkipUrlEncoding": false }, { - "$id": "404", + "$id": "402", "Name": "input", "NameInRequest": "input", "Type": { @@ -4233,7 +4168,7 @@ ], "Responses": [ { - "$id": "405", + "$id": "403", "StatusCodes": [ 204 ], @@ -4256,25 +4191,22 @@ "Decorators": [] }, { - "$id": "406", + "$id": "404", "Name": "threeLevelRecursive", "ResourceName": "FirstTestTypeSpec", "Description": "test three level recursive extension", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "407", + "$id": "405", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "408", + "$id": "406", "kind": "constant", "valueType": { - "$id": "409", + "$id": "407", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4294,7 +4226,7 @@ "SkipUrlEncoding": false }, { - "$id": "410", + "$id": "408", "Name": "input", "NameInRequest": "input", "Type": { @@ -4313,7 +4245,7 @@ ], "Responses": [ { - "$id": "411", + "$id": "409", "StatusCodes": [ 204 ], @@ -4336,25 +4268,22 @@ "Decorators": [] }, { - "$id": "412", + "$id": "410", "Name": "recursiveModels", "ResourceName": "FirstTestTypeSpec", "Description": "test child reference parent", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "413", + "$id": "411", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "414", + "$id": "412", "kind": "constant", "valueType": { - "$id": "415", + "$id": "413", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4374,7 +4303,7 @@ "SkipUrlEncoding": false }, { - "$id": "416", + "$id": "414", "Name": "input", "NameInRequest": "input", "Type": { @@ -4393,7 +4322,7 @@ ], "Responses": [ { - "$id": "417", + "$id": "415", "StatusCodes": [ 204 ], @@ -4416,25 +4345,22 @@ "Decorators": [] }, { - "$id": "418", + "$id": "416", "Name": "ContainSelfModels", "ResourceName": "FirstTestTypeSpec", "Description": "test contain self models", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "419", + "$id": "417", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "420", + "$id": "418", "kind": "constant", "valueType": { - "$id": "421", + "$id": "419", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4454,7 +4380,7 @@ "SkipUrlEncoding": false }, { - "$id": "422", + "$id": "420", "Name": "input", "NameInRequest": "input", "Type": { @@ -4473,7 +4399,7 @@ ], "Responses": [ { - "$id": "423", + "$id": "421", "StatusCodes": [ 204 ], @@ -4496,17 +4422,14 @@ "Decorators": [] }, { - "$id": "424", + "$id": "422", "Name": "enumParameter", "ResourceName": "FirstTestTypeSpec", "Description": "test enum parameter.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "425", + "$id": "423", "Name": "p1", "NameInRequest": "p1", "Type": { @@ -4525,7 +4448,7 @@ ], "Responses": [ { - "$id": "426", + "$id": "424", "StatusCodes": [ 204 ], @@ -4545,25 +4468,22 @@ "Decorators": [] }, { - "$id": "427", + "$id": "425", "Name": "bodyIsModelWithProjectedEnum", "ResourceName": "FirstTestTypeSpec", "Description": "test enum parameter.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "428", + "$id": "426", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "429", + "$id": "427", "kind": "constant", "valueType": { - "$id": "430", + "$id": "428", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4583,7 +4503,7 @@ "SkipUrlEncoding": false }, { - "$id": "431", + "$id": "429", "Name": "body", "NameInRequest": "body", "Type": { @@ -4602,7 +4522,7 @@ ], "Responses": [ { - "$id": "432", + "$id": "430", "StatusCodes": [ 204 ], @@ -4625,25 +4545,22 @@ "Decorators": [] }, { - "$id": "433", + "$id": "431", "Name": "optionalDictionary", "ResourceName": "FirstTestTypeSpec", "Description": "test optional dictionary.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "434", + "$id": "432", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "435", + "$id": "433", "kind": "constant", "valueType": { - "$id": "436", + "$id": "434", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4663,21 +4580,21 @@ "SkipUrlEncoding": false }, { - "$id": "437", + "$id": "435", "Name": "body", "NameInRequest": "body", "Type": { - "$id": "438", + "$id": "436", "kind": "dict", "keyType": { - "$id": "439", + "$id": "437", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "440", + "$id": "438", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4698,7 +4615,7 @@ ], "Responses": [ { - "$id": "441", + "$id": "439", "StatusCodes": [ 204 ], @@ -4721,26 +4638,23 @@ "Decorators": [] }, { - "$id": "442", + "$id": "440", "Name": "azureLocationOp", "ResourceName": "FirstTestTypeSpec", "Description": "test optional dictionary.", "Accessibility": "public", "Parameters": [ { - "$ref": "293" - }, - { - "$id": "443", + "$id": "441", "Name": "location", "NameInRequest": "location", "Type": { - "$id": "444", + "$id": "442", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "445", + "$id": "443", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4759,16 +4673,16 @@ "SkipUrlEncoding": false }, { - "$id": "446", + "$id": "444", "Name": "regenLocation", "NameInRequest": "regen-location", "Type": { - "$id": "447", + "$id": "445", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "448", + "$id": "446", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4787,15 +4701,15 @@ "SkipUrlEncoding": false }, { - "$id": "449", + "$id": "447", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "450", + "$id": "448", "kind": "constant", "valueType": { - "$id": "451", + "$id": "449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4815,7 +4729,7 @@ "SkipUrlEncoding": false }, { - "$id": "452", + "$id": "450", "Name": "body", "NameInRequest": "body", "Type": { @@ -4834,7 +4748,7 @@ ], "Responses": [ { - "$id": "453", + "$id": "451", "StatusCodes": [ 204 ], @@ -4858,11 +4772,28 @@ } ], "Protocol": { - "$id": "454" + "$id": "452" }, "Parameters": [ { - "$ref": "293" + "$id": "453", + "Name": "firstTestTypeSpecUrl", + "NameInRequest": "firstTestTypeSpecUrl", + "Type": { + "$id": "454", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -4913,30 +4844,10 @@ "Parameters": [ { "$id": "461", - "Name": "firstTestTypeSpecUrl", - "NameInRequest": "firstTestTypeSpecUrl", - "Type": { - "$id": "462", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "463", "Name": "headParameter", "NameInRequest": "head-parameter", "Type": { - "$id": "464", + "$id": "462", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4953,11 +4864,11 @@ "SkipUrlEncoding": false }, { - "$id": "465", + "$id": "463", "Name": "queryParameter", "NameInRequest": "queryParameter", "Type": { - "$id": "466", + "$id": "464", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4974,11 +4885,11 @@ "SkipUrlEncoding": false }, { - "$id": "467", + "$id": "465", "Name": "optionalQuery", "NameInRequest": "optionalQuery", "Type": { - "$id": "468", + "$id": "466", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4995,14 +4906,14 @@ "SkipUrlEncoding": false }, { - "$id": "469", + "$id": "467", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "470", + "$id": "468", "kind": "constant", "valueType": { - "$id": "471", + "$id": "469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5024,7 +4935,7 @@ ], "Responses": [ { - "$id": "472", + "$id": "470", "StatusCodes": [ 200 ], @@ -5051,12 +4962,29 @@ } ], "Protocol": { - "$id": "473" + "$id": "471" }, "Parent": "Hello", "Parameters": [ { - "$ref": "461" + "$id": "472", + "Name": "firstTestTypeSpecUrl", + "NameInRequest": "firstTestTypeSpecUrl", + "Type": { + "$id": "473", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -5074,30 +5002,10 @@ "Parameters": [ { "$id": "476", - "Name": "firstTestTypeSpecUrl", - "NameInRequest": "firstTestTypeSpecUrl", - "Type": { - "$id": "477", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "478", "Name": "p1", "NameInRequest": "p1", "Type": { - "$id": "479", + "$id": "477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5114,14 +5022,14 @@ "SkipUrlEncoding": false }, { - "$id": "480", + "$id": "478", "Name": "contentType", "NameInRequest": "Content-Type", "Type": { - "$id": "481", + "$id": "479", "kind": "constant", "valueType": { - "$id": "482", + "$id": "480", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5141,11 +5049,11 @@ "SkipUrlEncoding": false }, { - "$id": "483", + "$id": "481", "Name": "p2", "NameInRequest": "p2", "Type": { - "$id": "484", + "$id": "482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5162,14 +5070,14 @@ "SkipUrlEncoding": false }, { - "$id": "485", + "$id": "483", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "486", + "$id": "484", "kind": "constant", "valueType": { - "$id": "487", + "$id": "485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5189,7 +5097,7 @@ "SkipUrlEncoding": false }, { - "$id": "488", + "$id": "486", "Name": "action", "NameInRequest": "action", "Type": { @@ -5208,7 +5116,7 @@ ], "Responses": [ { - "$id": "489", + "$id": "487", "StatusCodes": [ 200 ], @@ -5237,21 +5145,18 @@ "Decorators": [] }, { - "$id": "490", + "$id": "488", "Name": "noContentType", "ResourceName": "Demo2", "Description": "Return hi again", "Accessibility": "public", "Parameters": [ { - "$ref": "476" - }, - { - "$id": "491", + "$id": "489", "Name": "p1", "NameInRequest": "p1", "Type": { - "$id": "492", + "$id": "490", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5268,11 +5173,11 @@ "SkipUrlEncoding": false }, { - "$id": "493", + "$id": "491", "Name": "p2", "NameInRequest": "p2", "Type": { - "$id": "494", + "$id": "492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5289,15 +5194,15 @@ "SkipUrlEncoding": false }, { - "$id": "495", + "$id": "493", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "496", + "$id": "494", "kind": "constant", "valueType": { - "$id": "497", + "$id": "495", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5317,14 +5222,14 @@ "SkipUrlEncoding": false }, { - "$id": "498", + "$id": "496", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "499", + "$id": "497", "kind": "constant", "valueType": { - "$id": "500", + "$id": "498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5344,7 +5249,7 @@ "SkipUrlEncoding": false }, { - "$id": "501", + "$id": "499", "Name": "action", "NameInRequest": "action", "Type": { @@ -5363,7 +5268,7 @@ ], "Responses": [ { - "$id": "502", + "$id": "500", "StatusCodes": [ 200 ], @@ -5392,24 +5297,21 @@ "Decorators": [] }, { - "$id": "503", + "$id": "501", "Name": "helloDemoAgain", "ResourceName": "Demo2", "Description": "Return hi in demo2", "Accessibility": "public", "Parameters": [ { - "$ref": "476" - }, - { - "$id": "504", + "$id": "502", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "505", + "$id": "503", "kind": "constant", "valueType": { - "$id": "506", + "$id": "504", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5431,7 +5333,7 @@ ], "Responses": [ { - "$id": "507", + "$id": "505", "StatusCodes": [ 200 ], @@ -5457,25 +5359,22 @@ "Decorators": [] }, { - "$id": "508", + "$id": "506", "Name": "createLiteral", "ResourceName": "Demo2", "Description": "Create with literal value", "Accessibility": "public", "Parameters": [ { - "$ref": "476" - }, - { - "$id": "509", + "$id": "507", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "510", + "$id": "508", "kind": "constant", "valueType": { - "$id": "511", + "$id": "509", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5495,14 +5394,14 @@ "SkipUrlEncoding": false }, { - "$id": "512", + "$id": "510", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "513", + "$id": "511", "kind": "constant", "valueType": { - "$id": "514", + "$id": "512", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5522,7 +5421,7 @@ "SkipUrlEncoding": false }, { - "$id": "515", + "$id": "513", "Name": "body", "NameInRequest": "body", "Type": { @@ -5541,7 +5440,7 @@ ], "Responses": [ { - "$id": "516", + "$id": "514", "StatusCodes": [ 200 ], @@ -5570,24 +5469,21 @@ "Decorators": [] }, { - "$id": "517", + "$id": "515", "Name": "helloLiteral", "ResourceName": "Demo2", "Description": "Send literal parameters", "Accessibility": "public", "Parameters": [ { - "$ref": "476" - }, - { - "$id": "518", + "$id": "516", "Name": "p1", "NameInRequest": "p1", "Type": { - "$id": "519", + "$id": "517", "kind": "constant", "valueType": { - "$id": "520", + "$id": "518", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5607,14 +5503,14 @@ "SkipUrlEncoding": false }, { - "$id": "521", + "$id": "519", "Name": "p2", "NameInRequest": "p2", "Type": { - "$id": "522", + "$id": "520", "kind": "constant", "valueType": { - "$id": "523", + "$id": "521", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5634,14 +5530,14 @@ "SkipUrlEncoding": false }, { - "$id": "524", + "$id": "522", "Name": "p3", "NameInRequest": "p3", "Type": { - "$id": "525", + "$id": "523", "kind": "constant", "valueType": { - "$id": "526", + "$id": "524", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -5661,14 +5557,14 @@ "SkipUrlEncoding": false }, { - "$id": "527", + "$id": "525", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "528", + "$id": "526", "kind": "constant", "valueType": { - "$id": "529", + "$id": "527", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5690,7 +5586,7 @@ ], "Responses": [ { - "$id": "530", + "$id": "528", "StatusCodes": [ 200 ], @@ -5717,12 +5613,29 @@ } ], "Protocol": { - "$id": "531" + "$id": "529" }, "Parent": "Hello", "Parameters": [ { - "$ref": "476" + "$id": "530", + "Name": "firstTestTypeSpecUrl", + "NameInRequest": "firstTestTypeSpecUrl", + "Type": { + "$id": "531", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -5740,34 +5653,14 @@ "Parameters": [ { "$id": "534", - "Name": "firstTestTypeSpecUrl", - "NameInRequest": "firstTestTypeSpecUrl", - "Type": { - "$id": "535", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "536", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "537", + "$id": "535", "kind": "constant", "valueType": { - "$id": "538", + "$id": "536", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5787,7 +5680,7 @@ "SkipUrlEncoding": false }, { - "$id": "539", + "$id": "537", "Name": "input", "NameInRequest": "input", "Type": { @@ -5806,7 +5699,7 @@ ], "Responses": [ { - "$id": "540", + "$id": "538", "StatusCodes": [ 204 ], @@ -5830,12 +5723,29 @@ } ], "Protocol": { - "$id": "541" + "$id": "539" }, "Parent": "FirstTestTypeSpecClient", "Parameters": [ { - "$ref": "534" + "$id": "540", + "Name": "firstTestTypeSpecUrl", + "NameInRequest": "firstTestTypeSpecUrl", + "Type": { + "$id": "541", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -5853,34 +5763,14 @@ "Parameters": [ { "$id": "544", - "Name": "firstTestTypeSpecUrl", - "NameInRequest": "firstTestTypeSpecUrl", - "Type": { - "$id": "545", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "546", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "547", + "$id": "545", "kind": "constant", "valueType": { - "$id": "548", + "$id": "546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5900,14 +5790,14 @@ "SkipUrlEncoding": false }, { - "$id": "549", + "$id": "547", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "550", + "$id": "548", "kind": "constant", "valueType": { - "$id": "551", + "$id": "549", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5927,7 +5817,7 @@ "SkipUrlEncoding": false }, { - "$id": "552", + "$id": "550", "Name": "body", "NameInRequest": "body", "Type": { @@ -5946,7 +5836,7 @@ ], "Responses": [ { - "$id": "553", + "$id": "551", "StatusCodes": [ 200 ], @@ -5975,19 +5865,15 @@ "Decorators": [] }, { - "$id": "554", + "$id": "552", "Name": "stillConvenient", "ResourceName": "ProtocolAndConvenient", "Description": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "Accessibility": "public", - "Parameters": [ - { - "$ref": "544" - } - ], + "Parameters": [], "Responses": [ { - "$id": "555", + "$id": "553", "StatusCodes": [ 204 ], @@ -6008,12 +5894,29 @@ } ], "Protocol": { - "$id": "556" + "$id": "554" }, "Parent": "FirstTestTypeSpecClient", "Parameters": [ { - "$ref": "544" + "$id": "555", + "Name": "firstTestTypeSpecUrl", + "NameInRequest": "firstTestTypeSpecUrl", + "Type": { + "$id": "556", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -6031,30 +5934,10 @@ "Parameters": [ { "$id": "559", - "Name": "firstTestTypeSpecUrl", - "NameInRequest": "firstTestTypeSpecUrl", - "Type": { - "$id": "560", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "561", "Name": "p2", "NameInRequest": "p2", "Type": { - "$id": "562", + "$id": "560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6071,14 +5954,14 @@ "SkipUrlEncoding": false }, { - "$id": "563", + "$id": "561", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "564", + "$id": "562", "kind": "constant", "valueType": { - "$id": "565", + "$id": "563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6100,7 +5983,7 @@ ], "Responses": [ { - "$id": "566", + "$id": "564", "StatusCodes": [ 200 ], @@ -6127,12 +6010,29 @@ } ], "Protocol": { - "$id": "567" + "$id": "565" }, "Parent": "FirstTestTypeSpecClient", "Parameters": [ { - "$ref": "559" + "$id": "566", + "Name": "firstTestTypeSpecUrl", + "NameInRequest": "firstTestTypeSpecUrl", + "Type": { + "$id": "567", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -6150,30 +6050,10 @@ "Parameters": [ { "$id": "570", - "Name": "firstTestTypeSpecUrl", - "NameInRequest": "firstTestTypeSpecUrl", - "Type": { - "$id": "571", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "572", "Name": "id", "NameInRequest": "id", "Type": { - "$id": "573", + "$id": "571", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6190,11 +6070,11 @@ "SkipUrlEncoding": false }, { - "$id": "574", + "$id": "572", "Name": "h1", "NameInRequest": "h1", "Type": { - "$id": "575", + "$id": "573", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6211,14 +6091,14 @@ "SkipUrlEncoding": false }, { - "$id": "576", + "$id": "574", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "577", + "$id": "575", "kind": "constant", "valueType": { - "$id": "578", + "$id": "576", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6240,7 +6120,7 @@ ], "Responses": [ { - "$id": "579", + "$id": "577", "StatusCodes": [ 200 ], @@ -6267,12 +6147,29 @@ } ], "Protocol": { - "$id": "580" + "$id": "578" }, "Parent": "FirstTestTypeSpecClient", "Parameters": [ { - "$ref": "570" + "$id": "579", + "Name": "firstTestTypeSpecUrl", + "NameInRequest": "firstTestTypeSpecUrl", + "Type": { + "$id": "580", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] @@ -6322,31 +6219,11 @@ "Parameters": [ { "$id": "587", - "Name": "firstTestTypeSpecUrl", - "NameInRequest": "firstTestTypeSpecUrl", - "Type": { - "$id": "588", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "589", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "590", + "$id": "588", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6360,9 +6237,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "591", + "$id": "589", "Type": { - "$id": "592", + "$id": "590", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6373,11 +6250,11 @@ "SkipUrlEncoding": false }, { - "$id": "593", + "$id": "591", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "594", + "$id": "592", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6394,11 +6271,11 @@ "SkipUrlEncoding": false }, { - "$id": "595", + "$id": "593", "Name": "projectFileVersion", "NameInRequest": "projectFileVersion", "Type": { - "$id": "596", + "$id": "594", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6415,14 +6292,14 @@ "SkipUrlEncoding": false }, { - "$id": "597", + "$id": "595", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "598", + "$id": "596", "kind": "constant", "valueType": { - "$id": "599", + "$id": "597", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6444,7 +6321,7 @@ ], "Responses": [ { - "$id": "600", + "$id": "598", "StatusCodes": [ 202 ], @@ -6454,17 +6331,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "601", + "$id": "599", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "602", + "$id": "600", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "603", + "$id": "601", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -6486,10 +6363,10 @@ "Path": "/lro/resources/{name}:export", "BufferResponse": true, "LongRunning": { - "$id": "604", + "$id": "602", "FinalStateVia": 3, "FinalResponse": { - "$id": "605", + "$id": "603", "StatusCodes": [ 200 ], @@ -6506,22 +6383,19 @@ "Decorators": [] }, { - "$id": "606", + "$id": "604", "Name": "exportW", "ResourceName": "VersioningOp", "Description": "Long-running resource action operation template.", "Accessibility": "public", "Parameters": [ { - "$ref": "587" - }, - { - "$id": "607", + "$id": "605", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "608", + "$id": "606", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6535,9 +6409,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "609", + "$id": "607", "Type": { - "$id": "610", + "$id": "608", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6548,11 +6422,11 @@ "SkipUrlEncoding": false }, { - "$id": "611", + "$id": "609", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "612", + "$id": "610", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6569,11 +6443,11 @@ "SkipUrlEncoding": false }, { - "$id": "613", + "$id": "611", "Name": "projectFileVersion", "NameInRequest": "projectFileVersion", "Type": { - "$id": "614", + "$id": "612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6590,14 +6464,14 @@ "SkipUrlEncoding": false }, { - "$id": "615", + "$id": "613", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "616", + "$id": "614", "kind": "constant", "valueType": { - "$id": "617", + "$id": "615", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6619,7 +6493,7 @@ ], "Responses": [ { - "$id": "618", + "$id": "616", "StatusCodes": [ 202 ], @@ -6629,17 +6503,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "619", + "$id": "617", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "620", + "$id": "618", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "621", + "$id": "619", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -6661,10 +6535,10 @@ "Path": "/lro/resources/{name}:exportW", "BufferResponse": true, "LongRunning": { - "$id": "622", + "$id": "620", "FinalStateVia": 3, "FinalResponse": { - "$id": "623", + "$id": "621", "StatusCodes": [ 200 ], @@ -6682,12 +6556,29 @@ } ], "Protocol": { - "$id": "624" + "$id": "622" }, "Parent": "FirstTestTypeSpecClient", "Parameters": [ { - "$ref": "587" + "$id": "623", + "Name": "firstTestTypeSpecUrl", + "NameInRequest": "firstTestTypeSpecUrl", + "Type": { + "$id": "624", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/TestProjects/LatestVersion-TypeSpec/src/Generated/Docs/VersioningOp.xml b/test/TestProjects/LatestVersion-TypeSpec/src/Generated/Docs/VersioningOp.xml index e3e553b7353..cd567961103 100644 --- a/test/TestProjects/LatestVersion-TypeSpec/src/Generated/Docs/VersioningOp.xml +++ b/test/TestProjects/LatestVersion-TypeSpec/src/Generated/Docs/VersioningOp.xml @@ -5,7 +5,7 @@ This sample shows how to call GetResourcesAsync. "); +Uri endpoint = new Uri(""); VersioningOp client = new LatestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-12-01-preview"); await foreach (Models.Resource item in client.GetResourcesAsync()) @@ -14,7 +14,7 @@ await foreach (Models.Resource item in client.GetResourcesAsync()) ]]> This sample shows how to call GetResourcesAsync with all parameters. "); +Uri endpoint = new Uri(""); VersioningOp client = new LatestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-12-01-preview"); await foreach (Models.Resource item in client.GetResourcesAsync(select: new string[] { "" }, filter: "")) @@ -47,7 +47,7 @@ foreach (Models.Resource item in client.GetResources(select: new string[] { " This sample shows how to call GetResourcesAsync and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new LatestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-12-01-preview"); await foreach (BinaryData item in client.GetResourcesAsync(null, null, null)) @@ -60,7 +60,7 @@ await foreach (BinaryData item in client.GetResourcesAsync(null, null, null)) ]]> This sample shows how to call GetResourcesAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new LatestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-12-01-preview"); await foreach (BinaryData item in client.GetResourcesAsync(new string[] { "" }, "", null)) @@ -105,7 +105,7 @@ foreach (BinaryData item in client.GetResources(new string[] { "" }, "", null)) @@ -95,7 +95,7 @@ public void Example_Resource_GetResources_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_GetResources_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new LatestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-12-01-preview"); await foreach (BinaryData item in client.GetResourcesAsync(new string[] { "" }, filter: "")) @@ -123,7 +123,7 @@ public void Example_Resource_GetResources_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_GetResources_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new LatestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-12-01-preview"); await foreach (Models.Resource item in client.GetResourcesAsync(select: new string[] { "" }, expand: "")) @@ -134,7 +134,7 @@ await foreach (Models.Resource item in client.GetResourcesAsync(select: new stri This sample shows how to call GetResources. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); foreach (Models.Resource item in client.GetResources()) @@ -143,7 +143,7 @@ foreach (Models.Resource item in client.GetResources()) ]]> This sample shows how to call GetResources with all parameters. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); foreach (Models.Resource item in client.GetResources(select: new string[] { "" }, "", null)) @@ -184,7 +184,7 @@ await foreach (BinaryData item in client.GetResourcesAsync(new string[] { " This sample shows how to call GetResources and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); foreach (BinaryData item in client.GetResources(null, null, null)) @@ -197,7 +197,7 @@ foreach (BinaryData item in client.GetResources(null, null, null)) ]]> This sample shows how to call GetResources with all parameters and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); foreach (BinaryData item in client.GetResources(new string[] { "" }, " This sample shows how to call ExportAsync. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, ""); @@ -221,7 +221,7 @@ ExportedResource responseData = operation.Value; ]]> This sample shows how to call ExportAsync with all parameters. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", projectFileVersion: "", removedQueryParam: "", maxLines: 1234); @@ -232,7 +232,7 @@ ExportedResource responseData = operation.Value; This sample shows how to call Export. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = client.Export(WaitUntil.Completed, ""); @@ -240,7 +240,7 @@ ExportedResource responseData = operation.Value; ]]> This sample shows how to call Export with all parameters. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = client.Export(WaitUntil.Completed, "", projectFileVersion: "", removedQueryParam: "", maxLines: 1234); @@ -251,7 +251,7 @@ ExportedResource responseData = operation.Value; This sample shows how to call ExportAsync and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", null, null, null, null); @@ -265,7 +265,7 @@ Console.WriteLine(result.GetProperty("type").ToString()); ]]> This sample shows how to call ExportAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", "", "", 1234, null); @@ -282,7 +282,7 @@ Console.WriteLine(result.GetProperty("type").ToString()); This sample shows how to call Export and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = client.Export(WaitUntil.Completed, "", null, null, null, null); @@ -296,7 +296,7 @@ Console.WriteLine(result.GetProperty("type").ToString()); ]]> This sample shows how to call Export with all parameters and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = client.Export(WaitUntil.Completed, "", "", "", 1234, null); diff --git a/test/TestProjects/OldestVersion-TypeSpec/tests/Generated/Samples/Samples_VersioningOp.cs b/test/TestProjects/OldestVersion-TypeSpec/tests/Generated/Samples/Samples_VersioningOp.cs index 9a3ca9ff409..c2769648887 100644 --- a/test/TestProjects/OldestVersion-TypeSpec/tests/Generated/Samples/Samples_VersioningOp.cs +++ b/test/TestProjects/OldestVersion-TypeSpec/tests/Generated/Samples/Samples_VersioningOp.cs @@ -23,7 +23,7 @@ public partial class Samples_VersioningOp [Ignore("Only validating compilation of examples")] public void Example_Resource_Create_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); using RequestContent content = RequestContent.Create(new @@ -42,7 +42,7 @@ public void Example_Resource_Create_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_Create_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); using RequestContent content = RequestContent.Create(new @@ -61,7 +61,7 @@ public async Task Example_Resource_Create_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Resource_Create_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Models.Resource resource = new Models.Resource(""); @@ -72,7 +72,7 @@ public void Example_Resource_Create_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_Create_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Models.Resource resource = new Models.Resource(""); @@ -83,7 +83,7 @@ public async Task Example_Resource_Create_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Resource_Create_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); using RequestContent content = RequestContent.Create(new @@ -102,7 +102,7 @@ public void Example_Resource_Create_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_Create_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); using RequestContent content = RequestContent.Create(new @@ -121,7 +121,7 @@ public async Task Example_Resource_Create_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Resource_Create_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Models.Resource resource = new Models.Resource(""); @@ -132,7 +132,7 @@ public void Example_Resource_Create_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_Create_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Models.Resource resource = new Models.Resource(""); @@ -143,7 +143,7 @@ public async Task Example_Resource_Create_AllParameters_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Resource_GetResources_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); foreach (BinaryData item in client.GetResources(null, null, null)) @@ -159,7 +159,7 @@ public void Example_Resource_GetResources_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_GetResources_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); await foreach (BinaryData item in client.GetResourcesAsync(null, null, null)) @@ -175,7 +175,7 @@ public async Task Example_Resource_GetResources_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_Resource_GetResources_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); foreach (Models.Resource item in client.GetResources()) @@ -187,7 +187,7 @@ public void Example_Resource_GetResources_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_GetResources_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); await foreach (Models.Resource item in client.GetResourcesAsync()) @@ -199,7 +199,7 @@ public async Task Example_Resource_GetResources_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_Resource_GetResources_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); foreach (BinaryData item in client.GetResources(new string[] { "" }, "", null)) @@ -231,7 +231,7 @@ public async Task Example_Resource_GetResources_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_Resource_GetResources_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); foreach (Models.Resource item in client.GetResources(select: new string[] { "" }, expand: "")) @@ -255,7 +255,7 @@ public async Task Example_Resource_GetResources_AllParameters_Convenience_Async( [Ignore("Only validating compilation of examples")] public void Example_VersioningOp_Export_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = client.Export(WaitUntil.Completed, "", null, null, null, null); @@ -272,7 +272,7 @@ public void Example_VersioningOp_Export_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_VersioningOp_Export_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", null, null, null, null); @@ -289,7 +289,7 @@ public async Task Example_VersioningOp_Export_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_VersioningOp_Export_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = client.Export(WaitUntil.Completed, ""); @@ -300,7 +300,7 @@ public void Example_VersioningOp_Export_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_VersioningOp_Export_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, ""); @@ -311,7 +311,7 @@ public async Task Example_VersioningOp_Export_ShortVersion_Convenience_Async() [Ignore("Only validating compilation of examples")] public void Example_VersioningOp_Export_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = client.Export(WaitUntil.Completed, "", "", "", 1234, null); @@ -328,7 +328,7 @@ public void Example_VersioningOp_Export_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_VersioningOp_Export_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", "", "", 1234, null); @@ -345,7 +345,7 @@ public async Task Example_VersioningOp_Export_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_VersioningOp_Export_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = client.Export(WaitUntil.Completed, "", projectFileVersion: "", removedQueryParam: "", maxLines: 1234); @@ -356,7 +356,7 @@ public void Example_VersioningOp_Export_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_VersioningOp_Export_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new OldestClient(endpoint).GetVersioningOpClient(apiVersion: "2022-06-01-preview"); Operation operation = await client.ExportAsync(WaitUntil.Completed, "", projectFileVersion: "", removedQueryParam: "", maxLines: 1234); diff --git a/test/TestProjects/OldestVersion-TypeSpec/tspCodeModel.json b/test/TestProjects/OldestVersion-TypeSpec/tspCodeModel.json index 3768e681cf3..ca68105465c 100644 --- a/test/TestProjects/OldestVersion-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/OldestVersion-TypeSpec/tspCodeModel.json @@ -683,32 +683,11 @@ "Parameters": [ { "$id": "70", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "71", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "72", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "73", + "$id": "71", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -722,9 +701,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "74", + "$id": "72", "Type": { - "$id": "75", + "$id": "73", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -735,11 +714,11 @@ "SkipUrlEncoding": false }, { - "$id": "76", + "$id": "74", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "77", + "$id": "75", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -756,11 +735,11 @@ "SkipUrlEncoding": false }, { - "$id": "78", + "$id": "76", "Name": "projectFileVersion", "NameInRequest": "projectFileVersion", "Type": { - "$id": "79", + "$id": "77", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -777,11 +756,11 @@ "SkipUrlEncoding": false }, { - "$id": "80", + "$id": "78", "Name": "removedQueryParam", "NameInRequest": "removedQueryParam", "Type": { - "$id": "81", + "$id": "79", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -798,11 +777,11 @@ "SkipUrlEncoding": false }, { - "$id": "82", + "$id": "80", "Name": "maxLines", "NameInRequest": "maxLines", "Type": { - "$id": "83", + "$id": "81", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -819,14 +798,14 @@ "SkipUrlEncoding": false }, { - "$id": "84", + "$id": "82", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "85", + "$id": "83", "kind": "constant", "valueType": { - "$id": "86", + "$id": "84", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -848,7 +827,7 @@ ], "Responses": [ { - "$id": "87", + "$id": "85", "StatusCodes": [ 202 ], @@ -858,17 +837,17 @@ "BodyMediaType": "Json", "Headers": [ { - "$id": "88", + "$id": "86", "Name": "operationLocation", "NameInResponse": "Operation-Location", "Description": "The location for monitoring the operation state.", "Type": { - "$id": "89", + "$id": "87", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "90", + "$id": "88", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -890,10 +869,10 @@ "Path": "/versioning/resources/{name}:export", "BufferResponse": true, "LongRunning": { - "$id": "91", + "$id": "89", "FinalStateVia": 3, "FinalResponse": { - "$id": "92", + "$id": "90", "StatusCodes": [ 200 ], @@ -910,22 +889,19 @@ "Decorators": [] }, { - "$id": "93", + "$id": "91", "Name": "list", "ResourceName": "Resource", "Description": "Resource list operation template.", "Accessibility": "public", "Parameters": [ { - "$ref": "70" - }, - { - "$id": "94", + "$id": "92", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "95", + "$id": "93", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -939,9 +915,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "96", + "$id": "94", "Type": { - "$id": "97", + "$id": "95", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -952,16 +928,16 @@ "SkipUrlEncoding": false }, { - "$id": "98", + "$id": "96", "Name": "select", "NameInRequest": "select", "Description": "Select the specified fields to be included in the response.", "Type": { - "$id": "99", + "$id": "97", "kind": "array", "name": "Array", "valueType": { - "$id": "100", + "$id": "98", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -981,11 +957,11 @@ "SkipUrlEncoding": false }, { - "$id": "101", + "$id": "99", "Name": "expand", "NameInRequest": "expand", "Type": { - "$id": "102", + "$id": "100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1002,14 +978,14 @@ "SkipUrlEncoding": false }, { - "$id": "103", + "$id": "101", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "104", + "$id": "102", "kind": "constant", "valueType": { - "$id": "105", + "$id": "103", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1031,7 +1007,7 @@ ], "Responses": [ { - "$id": "106", + "$id": "104", "StatusCodes": [ 200 ], @@ -1052,7 +1028,7 @@ "Path": "/versioning/resources", "BufferResponse": true, "Paging": { - "$id": "107", + "$id": "105", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -1062,22 +1038,19 @@ "Decorators": [] }, { - "$id": "108", + "$id": "106", "Name": "create", "ResourceName": "Resource", "Description": "Create or replace operation template.", "Accessibility": "public", "Parameters": [ { - "$ref": "70" - }, - { - "$id": "109", + "$id": "107", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "110", + "$id": "108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1091,9 +1064,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "111", + "$id": "109", "Type": { - "$id": "112", + "$id": "110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -1104,11 +1077,11 @@ "SkipUrlEncoding": false }, { - "$id": "113", + "$id": "111", "Name": "name", "NameInRequest": "name", "Type": { - "$id": "114", + "$id": "112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1125,15 +1098,15 @@ "SkipUrlEncoding": false }, { - "$id": "115", + "$id": "113", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "116", + "$id": "114", "kind": "constant", "valueType": { - "$id": "117", + "$id": "115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1153,14 +1126,14 @@ "SkipUrlEncoding": false }, { - "$id": "118", + "$id": "116", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "119", + "$id": "117", "kind": "constant", "valueType": { - "$id": "120", + "$id": "118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1180,7 +1153,7 @@ "SkipUrlEncoding": false }, { - "$id": "121", + "$id": "119", "Name": "resource", "NameInRequest": "resource", "Description": "The resource instance.", @@ -1200,7 +1173,7 @@ ], "Responses": [ { - "$id": "122", + "$id": "120", "StatusCodes": [ 201 ], @@ -1215,7 +1188,7 @@ ] }, { - "$id": "123", + "$id": "121", "StatusCodes": [ 200 ], @@ -1245,12 +1218,30 @@ } ], "Protocol": { - "$id": "124" + "$id": "122" }, "Parent": "OldestClient", "Parameters": [ { - "$ref": "70" + "$id": "123", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "124", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/TestProjects/Parameters-TypeSpec/src/Generated/Docs/ParameterOrders.xml b/test/TestProjects/Parameters-TypeSpec/src/Generated/Docs/ParameterOrders.xml index b948d777b61..d5e6c4facd6 100644 --- a/test/TestProjects/Parameters-TypeSpec/src/Generated/Docs/ParameterOrders.xml +++ b/test/TestProjects/Parameters-TypeSpec/src/Generated/Docs/ParameterOrders.xml @@ -5,14 +5,14 @@ This sample shows how to call OperationAsync. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = await client.OperationAsync(1234); ]]> This sample shows how to call OperationAsync with all parameters. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = await client.OperationAsync(1234, end: 1234); @@ -22,14 +22,14 @@ Response response = await client.OperationAsync(1234, end: 1234); This sample shows how to call Operation. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = client.Operation(1234); ]]> This sample shows how to call Operation with all parameters. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = client.Operation(1234, end: 1234); @@ -39,7 +39,7 @@ Response response = client.Operation(1234, end: 1234); This sample shows how to call OperationAsync and parse the result. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = await client.OperationAsync(1234, null, null); @@ -49,7 +49,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call OperationAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = await client.OperationAsync(1234, 1234, null); @@ -62,7 +62,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call Operation and parse the result. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = client.Operation(1234, null, null); @@ -72,7 +72,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call Operation with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = client.Operation(1234, 1234, null); @@ -85,14 +85,14 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call Operation2Async. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = await client.Operation2Async(1234); ]]> This sample shows how to call Operation2Async with all parameters. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = await client.Operation2Async(1234, start: 1234); @@ -102,14 +102,14 @@ Response response = await client.Operation2Async(1234, start: 1234); This sample shows how to call Operation2. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = client.Operation2(1234); ]]> This sample shows how to call Operation2 with all parameters. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = client.Operation2(1234, start: 1234); @@ -119,7 +119,7 @@ Response response = client.Operation2(1234, start: 1234); This sample shows how to call Operation2Async and parse the result. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = await client.Operation2Async(1234, null, null); @@ -129,7 +129,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call Operation2Async with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = await client.Operation2Async(1234, 1234, null); @@ -142,7 +142,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); This sample shows how to call Operation2 and parse the result. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = client.Operation2(1234, null, null); @@ -152,7 +152,7 @@ Console.WriteLine(result.GetProperty("id").ToString()); ]]> This sample shows how to call Operation2 with all parameters and parse the result. "); +Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = client.Operation2(1234, 1234, null); diff --git a/test/TestProjects/Parameters-TypeSpec/tests/Generated/Samples/Samples_ParameterOrders.cs b/test/TestProjects/Parameters-TypeSpec/tests/Generated/Samples/Samples_ParameterOrders.cs index 577ca548e9b..aa1ca35ee98 100644 --- a/test/TestProjects/Parameters-TypeSpec/tests/Generated/Samples/Samples_ParameterOrders.cs +++ b/test/TestProjects/Parameters-TypeSpec/tests/Generated/Samples/Samples_ParameterOrders.cs @@ -21,7 +21,7 @@ public partial class Samples_ParameterOrders [Ignore("Only validating compilation of examples")] public void Example_ParameterOrders_Operation_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = client.Operation(1234, null, null); @@ -34,7 +34,7 @@ public void Example_ParameterOrders_Operation_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ParameterOrders_Operation_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = await client.OperationAsync(1234, null, null); @@ -47,7 +47,7 @@ public async Task Example_ParameterOrders_Operation_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ParameterOrders_Operation_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = client.Operation(1234); @@ -57,7 +57,7 @@ public void Example_ParameterOrders_Operation_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_ParameterOrders_Operation_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = await client.OperationAsync(1234); @@ -67,7 +67,7 @@ public async Task Example_ParameterOrders_Operation_ShortVersion_Convenience_Asy [Ignore("Only validating compilation of examples")] public void Example_ParameterOrders_Operation_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = client.Operation(1234, 1234, null); @@ -80,7 +80,7 @@ public void Example_ParameterOrders_Operation_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ParameterOrders_Operation_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = await client.OperationAsync(1234, 1234, null); @@ -93,7 +93,7 @@ public async Task Example_ParameterOrders_Operation_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_ParameterOrders_Operation_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = client.Operation(1234, end: 1234); @@ -103,7 +103,7 @@ public void Example_ParameterOrders_Operation_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_ParameterOrders_Operation_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(apiVersion: "2022-05-15-preview"); Response response = await client.OperationAsync(1234, end: 1234); @@ -113,7 +113,7 @@ public async Task Example_ParameterOrders_Operation_AllParameters_Convenience_As [Ignore("Only validating compilation of examples")] public void Example_ParameterOrders_Operation2_ShortVersion() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = client.Operation2(1234, null, null); @@ -126,7 +126,7 @@ public void Example_ParameterOrders_Operation2_ShortVersion() [Ignore("Only validating compilation of examples")] public async Task Example_ParameterOrders_Operation2_ShortVersion_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = await client.Operation2Async(1234, null, null); @@ -139,7 +139,7 @@ public async Task Example_ParameterOrders_Operation2_ShortVersion_Async() [Ignore("Only validating compilation of examples")] public void Example_ParameterOrders_Operation2_ShortVersion_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = client.Operation2(1234); @@ -149,7 +149,7 @@ public void Example_ParameterOrders_Operation2_ShortVersion_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_ParameterOrders_Operation2_ShortVersion_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = await client.Operation2Async(1234); @@ -159,7 +159,7 @@ public async Task Example_ParameterOrders_Operation2_ShortVersion_Convenience_As [Ignore("Only validating compilation of examples")] public void Example_ParameterOrders_Operation2_AllParameters() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = client.Operation2(1234, 1234, null); @@ -172,7 +172,7 @@ public void Example_ParameterOrders_Operation2_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_ParameterOrders_Operation2_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = await client.Operation2Async(1234, 1234, null); @@ -185,7 +185,7 @@ public async Task Example_ParameterOrders_Operation2_AllParameters_Async() [Ignore("Only validating compilation of examples")] public void Example_ParameterOrders_Operation2_AllParameters_Convenience() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = client.Operation2(1234, start: 1234); @@ -195,7 +195,7 @@ public void Example_ParameterOrders_Operation2_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_ParameterOrders_Operation2_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); ParameterOrders client = new ParametersCadlClient(endpoint).GetParameterOrdersClient(); Response response = await client.Operation2Async(1234, start: 1234); diff --git a/test/TestProjects/Parameters-TypeSpec/tspCodeModel.json b/test/TestProjects/Parameters-TypeSpec/tspCodeModel.json index 5618c206e32..0105a5e7ee6 100644 --- a/test/TestProjects/Parameters-TypeSpec/tspCodeModel.json +++ b/test/TestProjects/Parameters-TypeSpec/tspCodeModel.json @@ -118,31 +118,10 @@ "Parameters": [ { "$id": "15", - "Name": "endpoint", - "NameInRequest": "endpoint", - "Description": "Service host", - "Type": { - "$id": "16", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "Location": "Uri", - "IsApiVersion": false, - "IsResourceParameter": false, - "IsContentType": false, - "IsRequired": true, - "IsEndpoint": true, - "SkipUrlEncoding": false, - "Explode": false, - "Kind": "Client" - }, - { - "$id": "17", "Name": "start", "NameInRequest": "start", "Type": { - "$id": "18", + "$id": "16", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -159,11 +138,11 @@ "SkipUrlEncoding": false }, { - "$id": "19", + "$id": "17", "Name": "end", "NameInRequest": "end", "Type": { - "$id": "20", + "$id": "18", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -180,11 +159,11 @@ "SkipUrlEncoding": false }, { - "$id": "21", + "$id": "19", "Name": "apiVersion", "NameInRequest": "api-version", "Type": { - "$id": "22", + "$id": "20", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -198,9 +177,9 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "23", + "$id": "21", "Type": { - "$id": "24", + "$id": "22", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -211,14 +190,14 @@ "SkipUrlEncoding": false }, { - "$id": "25", + "$id": "23", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "26", + "$id": "24", "kind": "constant", "valueType": { - "$id": "27", + "$id": "25", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -240,7 +219,7 @@ ], "Responses": [ { - "$id": "28", + "$id": "26", "StatusCodes": [ 200 ], @@ -266,20 +245,17 @@ "Decorators": [] }, { - "$id": "29", + "$id": "27", "Name": "Operation2", "ResourceName": "ParameterOrders", "Accessibility": "public", "Parameters": [ { - "$ref": "15" - }, - { - "$id": "30", + "$id": "28", "Name": "start", "NameInRequest": "start", "Type": { - "$id": "31", + "$id": "29", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -296,11 +272,11 @@ "SkipUrlEncoding": false }, { - "$id": "32", + "$id": "30", "Name": "end", "NameInRequest": "end", "Type": { - "$id": "33", + "$id": "31", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -317,14 +293,14 @@ "SkipUrlEncoding": false }, { - "$id": "34", + "$id": "32", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "35", + "$id": "33", "kind": "constant", "valueType": { - "$id": "36", + "$id": "34", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -346,7 +322,7 @@ ], "Responses": [ { - "$id": "37", + "$id": "35", "StatusCodes": [ 200 ], @@ -373,12 +349,30 @@ } ], "Protocol": { - "$id": "38" + "$id": "36" }, "Parent": "ParametersCadlClient", "Parameters": [ { - "$ref": "15" + "$id": "37", + "Name": "endpoint", + "NameInRequest": "endpoint", + "Description": "Service host", + "Type": { + "$id": "38", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "Location": "Uri", + "IsApiVersion": false, + "IsResourceParameter": false, + "IsContentType": false, + "IsRequired": true, + "IsEndpoint": true, + "SkipUrlEncoding": false, + "Explode": false, + "Kind": "Client" } ], "Decorators": [] diff --git a/test/TestProjects/SpecificVersion-TypeSpec/src/Generated/Docs/VersioningOp.xml b/test/TestProjects/SpecificVersion-TypeSpec/src/Generated/Docs/VersioningOp.xml index 6e78fb62d91..f869a5d0ca4 100644 --- a/test/TestProjects/SpecificVersion-TypeSpec/src/Generated/Docs/VersioningOp.xml +++ b/test/TestProjects/SpecificVersion-TypeSpec/src/Generated/Docs/VersioningOp.xml @@ -5,7 +5,7 @@ This sample shows how to call CreateAsync. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); Models.Resource resource = new Models.Resource(""); @@ -13,7 +13,7 @@ Response response = await client.CreateAsync("", resource ]]> This sample shows how to call CreateAsync with all parameters. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); Models.Resource resource = new Models.Resource(""); @@ -24,7 +24,7 @@ Response response = await client.CreateAsync("", resource This sample shows how to call Create. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); Models.Resource resource = new Models.Resource(""); @@ -32,7 +32,7 @@ Response response = client.Create("", resource); ]]> This sample shows how to call Create with all parameters. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); Models.Resource resource = new Models.Resource(""); @@ -43,7 +43,7 @@ Response response = client.Create("", resource); This sample shows how to call CreateAsync and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); using RequestContent content = RequestContent.Create(new @@ -59,7 +59,7 @@ Console.WriteLine(result.GetProperty("type").ToString()); ]]> This sample shows how to call CreateAsync with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); using RequestContent content = RequestContent.Create(new @@ -78,7 +78,7 @@ Console.WriteLine(result.GetProperty("type").ToString()); This sample shows how to call Create and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); using RequestContent content = RequestContent.Create(new @@ -94,7 +94,7 @@ Console.WriteLine(result.GetProperty("type").ToString()); ]]> This sample shows how to call Create with all parameters and request content and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); using RequestContent content = RequestContent.Create(new @@ -113,7 +113,7 @@ Console.WriteLine(result.GetProperty("type").ToString()); This sample shows how to call GetResourcesAsync. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); await foreach (Models.Resource item in client.GetResourcesAsync()) @@ -122,7 +122,7 @@ await foreach (Models.Resource item in client.GetResourcesAsync()) ]]> This sample shows how to call GetResourcesAsync with all parameters. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); await foreach (Models.Resource item in client.GetResourcesAsync(select: new string[] { "" }, expand: "")) @@ -155,7 +155,7 @@ foreach (Models.Resource item in client.GetResources(select: new string[] { " This sample shows how to call GetResourcesAsync and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); await foreach (BinaryData item in client.GetResourcesAsync(null, null, null)) @@ -168,7 +168,7 @@ await foreach (BinaryData item in client.GetResourcesAsync(null, null, null)) ]]> This sample shows how to call GetResourcesAsync with all parameters and parse the result. "); +Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); await foreach (BinaryData item in client.GetResourcesAsync(new string[] { "" }, "", null)) @@ -213,7 +213,7 @@ foreach (BinaryData item in client.GetResources(new string[] { "" }, "", null)) @@ -215,7 +215,7 @@ public void Example_Resource_GetResources_AllParameters() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_GetResources_AllParameters_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); await foreach (BinaryData item in client.GetResourcesAsync(new string[] { "" }, expand: "")) @@ -243,7 +243,7 @@ public void Example_Resource_GetResources_AllParameters_Convenience() [Ignore("Only validating compilation of examples")] public async Task Example_Resource_GetResources_AllParameters_Convenience_Async() { - Uri endpoint = new Uri(""); + Uri endpoint = new Uri(""); VersioningOp client = new SpecificClient(endpoint).GetVersioningOpClient(apiVersion: "2022-09-01"); await foreach (Models.Resource item in client.GetResourcesAsync(select: new string[] { "