Frontmatter
| id | 8443 |
| title | Fix OpenAPI Validator to support `additionalProperties` |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Jan 8, 2026, 9:56 PM |
| updatedAt | Jan 8, 2026, 10:01 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8443 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 8, 2026, 10:01 PM |
Fix OpenAPI Validator to support additionalProperties

tobiu
Jan 8, 2026, 10:00 PM
Input from Gemini 3 Pro:
✦ I have verified the fix using the MCP CLI client. The
get_class_hierarchytool now correctly returns the class hierarchy map, as the validator properly handlesadditionalProperties.Verification Output:
✅ Tool call successful: { "Neo.draggable.DragZone": "Neo.core.Base", "Neo.calendar.view.week.EventDragZone": "Neo.draggable.DragZone", ... }The changes have been committed and pushed to
dev.

tobiu
Jan 8, 2026, 10:00 PM
tobiu assigned to @tobiu on Jan 8, 2026, 10:00 PM
tobiu closed this issue on Jan 8, 2026, 10:01 PM
The
get_class_hierarchytool fails becauseOpenApiValidator.mjsignores theadditionalPropertiesfield in OpenAPI schemas. This results in az.object({})schema that rejects the tool's Map-like output. Web search confirms MCP supports JSON SchemaadditionalProperties. I will updateai/mcp/validation/OpenApiValidator.mjsto mapadditionalPropertiestoz.catchall()orz.record().