@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 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
@@ -1,4 +1,4 @@
1
- export declare const namespace = "OpenAPI";
1
+ export declare const namespace = "TypeSpec.OpenAPI";
2
2
  export * from "./decorators.js";
3
3
  export { $lib } from "./lib.js";
4
4
  export * from "./openapi.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,YAAY,CAAC;AAEnC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,cAAc,cAAc,CAAC"}
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
@@ -1,4 +1,4 @@
1
- export const namespace = "OpenAPI";
1
+ export const namespace = "TypeSpec.OpenAPI";
2
2
  export * from "./decorators.js";
3
3
  export { $lib } from "./lib.js";
4
4
  export * from "./openapi.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAAC;AAEnC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,cAAc,cAAc,CAAC"}
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"}
@@ -1,6 +1,6 @@
1
1
  import "../dist/src/index.js";
2
2
 
3
- namespace OpenAPI;
3
+ namespace TypeSpec.OpenAPI;
4
4
 
5
5
  using TypeSpec.Reflection;
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/openapi3",
3
- "version": "0.49.0-dev.4",
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",