@azure-tools/typespec-autorest 0.31.0-dev.11 → 0.31.0-dev.12

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.
@@ -10,7 +10,7 @@ namespace Autorest;
10
10
  * @param pathOrUri - path or Uri to the example file.
11
11
  * @param title - name or description of the example file.
12
12
  */
13
- extern dec example(target: Operation, pathOrUri: string, title: string);
13
+ extern dec example(target: Operation, pathOrUri: valueof string, title: valueof string);
14
14
 
15
15
  /**
16
16
  * `@useRef` - is used to replace the TypeSpec model type in emitter output with a pre-existing named OpenAPI schema such as ARM common types.
@@ -19,4 +19,4 @@ extern dec example(target: Operation, pathOrUri: string, title: string);
19
19
  *
20
20
  * @param jsonRef - path or Uri to an OpenAPI schema.
21
21
  */
22
- extern dec useRef(entity: Model | ModelProperty, jsonRef: string);
22
+ extern dec useRef(entity: Model | ModelProperty, jsonRef: valueof string);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-autorest",
3
- "version": "0.31.0-dev.11",
3
+ "version": "0.31.0-dev.12",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting openapi from the TypeSpec REST protocol binding",
6
6
  "homepage": "https://azure.github.io/typespec-azure",