Skip to content

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

Sushmithamallesh80151cb2b5bb
diff --git a/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx b/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
index c3fcf296d..44dca28f9 100644
--- a/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
+++ b/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
@@ -27,50 +27,56 @@ We recommend updating to version `0.5.3` (TypeScript) or `0.10.8` (Python) or la
File properties inside `anyOf`, `oneOf`, or `allOf` were not detected:
-```typescript
-// This schema's file_uploadable was NOT being processed
-inputParameters: {
- type: 'object',
- properties: {
- fileInput: {
- anyOf: [
- {
- type: 'string',
- file_uploadable: true // ❌ Not detected
- },
- {
- type: 'null'
- }
- ]
+```json
+{
+ "inputParameters": {
+ "type": "object",
+ "properties": {
+ "fileInput": {
+ "anyOf": [
+ {
+ "type": "string",
+ "file_uploadable": true
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
}
}
}
```
+This schema's `file_uploadable` was **not** being processed.
+
### After (Fixed)
File properties are now correctly detected and processed at any nesting level:
-```typescript
-// Now properly detected and transformed
-inputParameters: {
- type: 'object',
- properties: {
- fileInput: {
- anyOf: [
- {
- type: 'string',
- file_uploadable: true // ✅ Detected and processed
- },
- {
- type: 'null'
- }
- ]
+```json
+{
+ "inputParameters": {
+ "type": "object",
+ "properties": {
+ "fileInput": {
+ "anyOf": [
+ {
+ "type": "string",
+ "file_uploadable": true
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
}
}
}
```
+Now properly detected and processed.
+
## Affected Scenarios
| Scenario | Before | After |