@typespec/openapi3 0.47.0-dev.7 → 0.47.0-dev.8
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/decorators.tsp +1 -1
- package/package.json +1 -1
package/lib/decorators.tsp
CHANGED
|
@@ -12,4 +12,4 @@ extern dec oneOf(target: Union);
|
|
|
12
12
|
* Specify an external reference that should be used inside of emitting this type.
|
|
13
13
|
* @param ref External reference(e.g. "../../common.json#/components/schemas/Foo")
|
|
14
14
|
*/
|
|
15
|
-
extern dec useRef(target: Model | ModelProperty, ref: string);
|
|
15
|
+
extern dec useRef(target: Model | ModelProperty, ref: valueof string);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/openapi3",
|
|
3
|
-
"version": "0.47.0-dev.
|
|
3
|
+
"version": "0.47.0-dev.8",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting OpenAPI 3.0 from the TypeSpec REST protocol binding",
|
|
6
6
|
"homepage": "https://microsoft.github.io/typespec",
|