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' }),