Skip to content

Commit 76c48cd

Browse files
committed
fix: switch t.exact and t.strict
1 parent fe2967e commit 76c48cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/openapi-generator/src/knownImports.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export const KNOWN_IMPORTS: KnownImports = {
5353
}, {});
5454
return E.right({ type: 'object', properties: props, required: [] });
5555
},
56-
strict: (_, schema) => E.right(schema),
57-
exact: (_, schema) => {
56+
exact: (_, schema) => E.right(schema),
57+
strict: (_, schema) => {
5858
if (schema.type !== 'object') {
5959
return E.left('exactC parameter must be object');
6060
}

0 commit comments

Comments
 (0)