inspector/client/src/utils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jean-Marc Le Roux 409ac3945d fix: return undefined for optional objects instead of empty objects
- Update generateDefaultValue to return undefined for optional object parameters
- Add comprehensive tests for required vs non-required objects
- Fixes issue where MCP Inspector sends empty objects {} for optional parameters
- Objects with required properties still return populated objects
- Empty optional objects now return undefined to be omitted from requests

Refs #771
2025-08-30 14:46:34 +02:00
..
__tests__ fix: return undefined for optional objects instead of empty objects 2025-08-30 14:46:34 +02:00
configUtils.ts Merge branch 'main' into sebastian/patch-remove-addition-slash 2025-07-02 03:17:50 -04:00
escapeUnicode.ts chore: extract utils escapeUnicode 2025-03-22 16:25:33 +00:00
jsonUtils.ts chore: add jsdoc comments to utils 2025-08-13 14:14:32 -05:00
oauthUtils.ts chore: add jsdoc comments to utils 2025-08-13 14:14:32 -05:00
schemaUtils.ts fix: return undefined for optional objects instead of empty objects 2025-08-30 14:46:34 +02:00
urlValidation.ts Apply Prettier formatting 2025-08-21 15:41:33 +00:00