Skip to content

Commit

Permalink
fixup! Fix OpenAPI3 union names when declared within a namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobroschen committed Aug 8, 2024
1 parent ad7b247 commit 9cf65ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/openapi3/test/union-schema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ describe("openapi3: union type", () => {
deepStrictEqual(res.components.schemas["Foo.A"], {
properties: {
foo: {
type: "string"
}
type: "string",
},
},
required: ["foo"],
type: "object",
Expand All @@ -434,8 +434,8 @@ describe("openapi3: union type", () => {
deepStrictEqual(res.components.schemas["Bar.A"], {
properties: {
bar: {
type: "string"
}
type: "string",
},
},
required: ["bar"],
type: "object",
Expand Down

0 comments on commit 9cf65ca

Please sign in to comment.