From ff30b3eee8f3659ac5a82ff446c3839e876eb08f Mon Sep 17 00:00:00 2001 From: mrdanish26 Date: Thu, 6 Nov 2025 15:03:35 -0800 Subject: [PATCH] fix: add BooleanFromString codec to openapi-generator config WP-6671 --- modules/express/openapi-generator.rc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/express/openapi-generator.rc.js b/modules/express/openapi-generator.rc.js index d8be232dac..03d1f8cfa3 100644 --- a/modules/express/openapi-generator.rc.js +++ b/modules/express/openapi-generator.rc.js @@ -14,6 +14,7 @@ module.exports = (E) => { NonEmptyString: () => E.right({ type: 'string', minLength: 1 }), DateFromISOString: () => E.right({ type: 'string', format: 'date-time' }), BigIntFromString: () => E.right({ type: 'string' }), + BooleanFromString: () => E.right({ type: 'string', enum: ['true', 'false'] }), }, 'io-ts-bigint': { BigIntFromString: () => E.right({ type: 'string' }),