Skip to content

Commit 3b1a673

Browse files
committed
fix: codec definition
ticket: WP-6702 TICKET: WP-6702
1 parent e27bdac commit 3b1a673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/express/openapi-generator.rc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = (E) => {
1414
NonEmptyString: () => E.right({ type: 'string', minLength: 1 }),
1515
DateFromISOString: () => E.right({ type: 'string', format: 'date-time' }),
1616
BigIntFromString: () => E.right({ type: 'string' }),
17-
BooleanFromString: () => E.right({ type: 'string', enum: ['true', 'false'] }),
17+
BooleanFromString: () => E.right({ type: 'boolean' }),
1818
},
1919
'io-ts-bigint': {
2020
BigIntFromString: () => E.right({ type: 'string' }),

0 commit comments

Comments
 (0)