@azure-tools/typespec-azure-core 0.32.0-dev.3 → 0.32.0-dev.4

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.
@@ -248,6 +248,7 @@ model CustomPage<
248
248
  @doc("The link to the next page of items")
249
249
  @nextLink
250
250
  nextLink?: ResourceLocation<TResource>;
251
+
251
252
  // Include custom response fields
252
253
  ...TraitProperties<Traits, TraitLocation.Response, TraitContext.List>;
253
254
  }
@@ -283,7 +284,7 @@ op Operation<
283
284
  Traits & VersionParameterTrait<ApiVersionParameter>,
284
285
  TraitLocation.ApiVersionParameter
285
286
  >,
286
- ...TParams
287
+ ...TParams,
287
288
  ): TResponse | TErrorResponse;
288
289
 
289
290
  /**
@@ -426,6 +427,7 @@ op LongRunningResourceUpdate<
426
427
  @doc("This request has a JSON Merge Patch body.")
427
428
  @TypeSpec.Http.header("Content-Type")
428
429
  contentType: "application/merge-patch+json";
430
+
429
431
  ...Foundations.ResourceBody<TResource>;
430
432
  ...TraitProperties<Traits, TraitLocation.Parameters, TraitContext.Update>;
431
433
  },
@@ -159,6 +159,7 @@ interface ResourceOperations<
159
159
  @doc("This request has a JSON Merge Patch body.")
160
160
  @TypeSpec.Http.header("Content-Type")
161
161
  contentType: "application/merge-patch+json";
162
+
162
163
  ...Foundations.ResourceBody<TResource>;
163
164
  ...TraitProperties<
164
165
  Traits & InterfaceTraits,
@@ -191,6 +192,7 @@ interface ResourceOperations<
191
192
  @doc("This request has a JSON Merge Patch body.")
192
193
  @TypeSpec.Http.header("Content-Type")
193
194
  contentType: "application/merge-patch+json";
195
+
194
196
  ...Foundations.ResourceBody<TResource>;
195
197
  ...TraitProperties<
196
198
  Traits & InterfaceTraits,
@@ -224,6 +226,7 @@ interface ResourceOperations<
224
226
  @doc("This request has a JSON Merge Patch body.")
225
227
  @TypeSpec.Http.header("Content-Type")
226
228
  contentType: "application/merge-patch+json";
229
+
227
230
  ...Foundations.ResourceBody<TResource>;
228
231
  ...TraitProperties<Traits & InterfaceTraits, TraitLocation.Parameters, TraitContext.Update>;
229
232
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-azure-core",
3
- "version": "0.32.0-dev.3",
3
+ "version": "0.32.0-dev.4",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec Azure Core library",
6
6
  "homepage": "https://azure.github.io/typespec-azure",