Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix(docs): use json for schema examples in changelog
Sushmithamallesh committed
Jan 20, 2026 at 20:06 UTC
80151cb2b5bbd0b79de5783b837eb17323490d00
1 file changed
+36
-30
docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
+36
-30
@@ -27,50 +27,56 @@ We recommend updating to version `0.5.3` (TypeScript) or `0.10.8` (Python) or la
27
28
File properties inside `anyOf`, `oneOf`, or `allOf` were not detected:
29
30
-```typescript
31
-// This schema's file_uploadable was NOT being processed
32
-inputParameters: {
33
- type: 'object',
34
- properties: {
35
- fileInput: {
36
- anyOf: [
37
- {
38
- type: 'string',
39
- file_uploadable: true // ❌ Not detected
40
- },
41
- {
42
- type: 'null'
43
- }
44
- ]
30
+```json
31
+{
32
+ "inputParameters": {
33
+ "type": "object",
34
+ "properties": {
35
+ "fileInput": {
36
+ "anyOf": [
37
+ {
38
+ "type": "string",
39
+ "file_uploadable": true
40
+ },
41
+ {
42
+ "type": "null"
43
+ }
44
+ ]
45
+ }
46
}
47
}
48
}
49
```
50
51
+This schema's `file_uploadable` was **not** being processed.
52
+
53
### After (Fixed)
54
55
File properties are now correctly detected and processed at any nesting level:
56
54
-```typescript
55
-// Now properly detected and transformed
56
-inputParameters: {
57
- type: 'object',
58
- properties: {
59
- fileInput: {
60
- anyOf: [
61
- {
62
- type: 'string',
63
- file_uploadable: true // ✅ Detected and processed
64
- },
65
- {
66
- type: 'null'
67
- }
68
- ]
57
+```json
58
+{
59
+ "inputParameters": {
60
+ "type": "object",
61
+ "properties": {
62
+ "fileInput": {
63
+ "anyOf": [
64
+ {
65
+ "type": "string",
66
+ "file_uploadable": true
67
+ },
68
+ {
69
+ "type": "null"
70
+ }
71
+ ]
72
+ }
73
}
74
}
75
}
76
```
77
78
+Now properly detected and processed.
79
+
80
## Affected Scenarios
81
82
| Scenario | Before | After |