@azure-tools/typespec-azure-resource-manager 0.46.0 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common-types/types.tsp +1 -2
- package/lib/parameters.tsp +1 -2
- package/package.json +2 -2
|
@@ -537,10 +537,9 @@ model ManagementGroupNameParameter {
|
|
|
537
537
|
@added(Versions.v4)
|
|
538
538
|
model ScopeParameter {
|
|
539
539
|
/** The scope at which the operation is performed. */
|
|
540
|
-
@path
|
|
540
|
+
@path(#{ allowReserved: true })
|
|
541
541
|
@segment("scope")
|
|
542
542
|
@minLength(1)
|
|
543
|
-
@extension("x-ms-skip-url-encoding", true)
|
|
544
543
|
scope: string;
|
|
545
544
|
}
|
|
546
545
|
|
package/lib/parameters.tsp
CHANGED
|
@@ -83,9 +83,8 @@ model ArmLocationResource<BaseType extends
|
|
|
83
83
|
*/
|
|
84
84
|
@doc("The default resourceUri parameter type.")
|
|
85
85
|
model ResourceUriParameter {
|
|
86
|
-
@path
|
|
86
|
+
@path(#{ allowReserved: true })
|
|
87
87
|
@doc("The fully qualified Azure Resource manager identifier of the resource.")
|
|
88
|
-
@extension("x-ms-skip-url-encoding", true)
|
|
89
88
|
@resourceParameterBaseFor([ResourceHome.Extension])
|
|
90
89
|
resourceUri: string;
|
|
91
90
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-resource-manager",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.1",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Resource Manager library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@typespec/compiler": "~0.60.0",
|
|
64
64
|
"@typespec/http": "~0.60.0",
|
|
65
65
|
"@typespec/library-linter": "~0.60.0",
|
|
66
|
-
"@typespec/openapi": "~0.60.0",
|
|
67
66
|
"@typespec/rest": "~0.60.0",
|
|
67
|
+
"@typespec/openapi": "~0.60.0",
|
|
68
68
|
"@typespec/tspd": "~0.46.0",
|
|
69
69
|
"@typespec/versioning": "~0.60.0"
|
|
70
70
|
},
|