@typespec/rest 0.51.0-dev.0 → 0.51.0-dev.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.
Files changed (2) hide show
  1. package/lib/resource.tsp +2 -2
  2. package/package.json +1 -1
package/lib/resource.tsp CHANGED
@@ -132,8 +132,8 @@ interface ResourceCreateOrUpdate<TResource extends {}, TError> {
132
132
  * @template TResource The resource model to create.
133
133
  */
134
134
  @friendlyName("{name}Create", TResource)
135
- model ResourceCreateModel<TResource extends {}>
136
- is UpdateableProperties<DefaultKeyVisibility<TResource, "read">>;
135
+ @withVisibility("create")
136
+ model ResourceCreateModel<TResource extends {}> is DefaultKeyVisibility<TResource, "read">;
137
137
 
138
138
  /**
139
139
  * Resource create operation template.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/rest",
3
- "version": "0.51.0-dev.0",
3
+ "version": "0.51.0-dev.1",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec REST protocol binding",
6
6
  "homepage": "https://microsoft.github.io/typespec",