@typespec/openapi3 0.49.0-dev.4 → 0.49.0-dev.5
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/README.md +3 -3
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/lib/decorators.tsp +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,7 +88,7 @@ This extension is meant for debugging and should not be depended on.
|
|
|
88
88
|
|
|
89
89
|
## Decorators
|
|
90
90
|
|
|
91
|
-
### OpenAPI
|
|
91
|
+
### TypeSpec.OpenAPI
|
|
92
92
|
|
|
93
93
|
- [`@oneOf`](#@oneof)
|
|
94
94
|
- [`@useRef`](#@useref)
|
|
@@ -98,7 +98,7 @@ This extension is meant for debugging and should not be depended on.
|
|
|
98
98
|
Specify that `oneOf` should be used instead of `anyOf` for that union.
|
|
99
99
|
|
|
100
100
|
```typespec
|
|
101
|
-
@OpenAPI.oneOf
|
|
101
|
+
@TypeSpec.OpenAPI.oneOf
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
##### Target
|
|
@@ -114,7 +114,7 @@ None
|
|
|
114
114
|
Specify an external reference that should be used inside of emitting this type.
|
|
115
115
|
|
|
116
116
|
```typespec
|
|
117
|
-
@OpenAPI.useRef(ref: valueof string)
|
|
117
|
+
@TypeSpec.OpenAPI.useRef(ref: valueof string)
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
##### Target
|
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,qBAAqB,CAAC;AAE5C,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,cAAc,cAAc,CAAC"}
|
package/dist/src/index.js
CHANGED
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,kBAAkB,CAAC;AAE5C,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,cAAc,cAAc,CAAC"}
|
package/lib/decorators.tsp
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/openapi3",
|
|
3
|
-
"version": "0.49.0-dev.
|
|
3
|
+
"version": "0.49.0-dev.5",
|
|
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",
|