Skip to content

Commit

Permalink
Support allowReserved (#5031)
Browse files Browse the repository at this point in the history
* Support allowReserved

* update

* update

* update

* update

* update

---------

Co-authored-by: Pan Shao <[email protected]>
  • Loading branch information
pshao25 and Pan Shao authored Sep 3, 2024
1 parent 6130979 commit bb1c49b
Show file tree
Hide file tree
Showing 104 changed files with 4,820 additions and 2,445 deletions.
210 changes: 117 additions & 93 deletions package-lock.json

Large diffs are not rendered by default.

87 changes: 58 additions & 29 deletions samples/AnomalyDetector/tspCodeModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2683,7 +2683,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "322",
Expand All @@ -2709,7 +2710,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "325",
Expand All @@ -2726,7 +2728,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down Expand Up @@ -4738,7 +4741,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "587",
Expand All @@ -4764,7 +4768,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "590",
Expand All @@ -4781,7 +4786,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down Expand Up @@ -6460,7 +6466,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "853",
Expand All @@ -6486,7 +6493,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "856",
Expand All @@ -6503,7 +6511,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down Expand Up @@ -15234,7 +15243,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2171",
Expand All @@ -15260,7 +15270,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down Expand Up @@ -15491,7 +15502,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2207",
Expand All @@ -15517,7 +15529,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2210",
Expand All @@ -15534,7 +15547,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down Expand Up @@ -15799,7 +15813,8 @@
"Explode": false,
"IsRequired": false,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2246",
Expand All @@ -15820,7 +15835,8 @@
"Explode": false,
"IsRequired": false,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2248",
Expand All @@ -15846,7 +15862,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down Expand Up @@ -16151,7 +16168,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2285",
Expand All @@ -16177,7 +16195,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down Expand Up @@ -16297,7 +16316,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2304",
Expand All @@ -16323,7 +16343,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down Expand Up @@ -16600,7 +16621,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2337",
Expand All @@ -16627,7 +16649,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2340",
Expand All @@ -16653,7 +16676,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2343",
Expand All @@ -16670,7 +16694,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down Expand Up @@ -16900,7 +16925,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2375",
Expand All @@ -16927,7 +16953,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2378",
Expand All @@ -16953,7 +16980,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
},
{
"$id": "2381",
Expand All @@ -16970,7 +16998,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Method",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down
2 changes: 1 addition & 1 deletion src/TypeSpec.Extension/Emitter.Csharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.20240826.1"
"@typespec/http-client-csharp": "0.1.9-alpha.20240902.1"
},
"peerDependencies": {
"@azure-tools/typespec-azure-core": ">=0.36.0 <1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
"Explode": false,
"IsRequired": true,
"Kind": "Constant",
"Decorators": []
"Decorators": [],
"SkipUrlEncoding": false
}
],
"Responses": [
Expand Down
Loading

0 comments on commit bb1c49b

Please sign in to comment.