@devries-cameron20 / composio Mirror · read-only / commits / ee6e5e4f2
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.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 12:00 UTC

style: Replace ? and * with (optional) and (required) in OpenAPI reference

Display field indicators after the type instead of after the property name. Changes `propertyName* string` to `propertyName string(required)`. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Sushmithamallesh committed Jan 30, 2026 at 11:39 UTC ee6e5e4f2a2b776119586a7c78f8aff62c6466a3
1 file changed +28
docs/app/global.css
+28
@@ -461,6 +461,34 @@ nav a[href*="app.composio"]:focus-visible {
461 outline-offset: 2px;
462 }
463
464 +/* ==========================================================================
465 + OpenAPI Reference - Field Indicators
466 + ========================================================================== */
467 +
468 +/* Hide original indicators (* and ?) after property name */
469 +span.font-mono.text-fd-primary > span.text-red-400:last-child,
470 +span.font-mono.text-fd-primary > span.text-fd-muted-foreground:last-child {
471 + display: none;
472 +}
473 +
474 +/* Add (required) after type for required fields */
475 +div.flex.items-center:has(> span.font-mono.text-fd-primary > span.text-red-400) > span.text-sm.font-mono::after {
476 + content: "(required)";
477 + font-size: 0.75rem;
478 + font-weight: 400;
479 + margin-left: 0.25rem;
480 + color: #f87171;
481 +}
482 +
483 +/* Add (optional) after type for optional fields */
484 +div.flex.items-center:has(> span.font-mono.text-fd-primary > span.text-fd-muted-foreground:last-child):not(:has(> span.font-mono.text-fd-primary > span.text-red-400)) > span.text-sm.font-mono::after {
485 + content: "(optional)";
486 + font-size: 0.75rem;
487 + font-weight: 400;
488 + margin-left: 0.25rem;
489 + color: var(--color-fd-muted-foreground);
490 +}
491 +
492 /* ==========================================================================
493 Table of Contents (Right Sidebar)
494 ========================================================================== */