@typespec/openapi3 0.62.0-dev.8 → 0.62.0-dev.9

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.
@@ -400,7 +400,7 @@ export class OpenAPI3SchemaEmitter extends TypeEmitter {
400
400
  });
401
401
  }
402
402
  else {
403
- return new ObjectBuilder({ oneOf: B.array([schema]), ...additionalProps });
403
+ return new ObjectBuilder({ allOf: B.array([schema]), ...additionalProps });
404
404
  }
405
405
  }
406
406
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/openapi3",
3
- "version": "0.62.0-dev.8",
3
+ "version": "0.62.0-dev.9",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting OpenAPI 3.0 from the TypeSpec REST protocol binding and converting OpenAPI3 to TypeSpec",
6
6
  "homepage": "https://typespec.io",