diff --git a/libs/odmOptions.js b/libs/odmOptions.js index 532352c..3319283 100644 --- a/libs/odmOptions.js +++ b/libs/odmOptions.js @@ -85,6 +85,10 @@ module.exports = { help = help.replace(/\%\(default\)s/g, value); + // In the end, all values must be converted back + // to strings (per OpenAPI spec which doesn't allow mixed types) + value = String(value); + odmOptions.push({ name, type, value, domain, help });