@devries-cameron20 / composio-1 / commits / 2525b987f
Fork 0

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): revert to original typescript with @noErrors

Sushmithamallesh committed Jan 20, 2026 at 20:11 UTC 2525b987f7e16ea382d800239e050e9c80b69058
1 file changed +32 -36
docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
+32 -36
@@ -27,56 +27,52 @@ 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 -```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 - }
30 +```typescript
31 +// @noErrors
32 +// This schema's file_uploadable was NOT being processed
33 +inputParameters: {
34 + type: 'object',
35 + properties: {
36 + fileInput: {
37 + anyOf: [
38 + {
39 + type: 'string',
40 + file_uploadable: true // ❌ Not detected
41 + },
42 + {
43 + type: 'null'
44 + }
45 + ]
46 }
47 }
48 }
49 ```
50
51 -This schema's `file_uploadable` was **not** being processed.
52 -
51 ### After (Fixed)
52
53 File properties are now correctly detected and processed at any nesting level:
54
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 - }
55 +```typescript
56 +// @noErrors
57 +// Now properly detected and transformed
58 +inputParameters: {
59 + type: 'object',
60 + properties: {
61 + fileInput: {
62 + anyOf: [
63 + {
64 + type: 'string',
65 + file_uploadable: true // ✅ Detected and processed
66 + },
67 + {
68 + type: 'null'
69 + }
70 + ]
71 }
72 }
73 }
74 ```
75
78 -Now properly detected and processed.
79 -
76 ## Affected Scenarios
77
78 | Scenario | Before | After |