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, 10:45 UTC
docs: show only Required label, remove optional indicator
- Change "(required)" to "Required" for cleaner appearance - Remove "(optional)" label entirely - optional is the default assumption - Follows common API docs convention (Stripe, GitHub, etc.) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sushmithamallesh committed
Feb 2, 2026 at 19:34 UTC
f12346a3cdbefe24facf6873d6e37de000f6224e
1 file changed
+3
-12
docs/app/global.css
+3
-12
@@ -465,7 +465,7 @@ nav a[href*="app.composio"]:focus-visible {
465
OpenAPI Reference - Field Indicators
466
467
Replaces fumadocs-openapi's default ? and * indicators with explicit
468
- (optional) and (required) labels after the type.
468
+ "Required" label after the type for required fields.
469
470
Targets: span (simple types), button (expandable objects/arrays), a (links)
471
@@ -479,24 +479,15 @@ span.font-mono.text-fd-primary > span.text-fd-muted-foreground:last-child {
479
display: none;
480
}
481
482
-/* Add (required) after type for required fields */
482
+/* Add "Required" after type for required fields */
483
div.flex.items-center:has(> span.font-mono.text-fd-primary > span.text-red-400) > :is(span, button, a).text-sm.font-mono::after {
484
- content: "(required)";
484
+ content: "Required";
485
font-size: 0.75rem;
486
font-weight: 400;
487
margin-left: 0.25rem;
488
color: #f87171;
489
}
490
491
-/* Add (optional) after type for optional fields */
492
-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)) > :is(span, button, a).text-sm.font-mono::after {
493
- content: "(optional)";
494
- font-size: 0.75rem;
495
- font-weight: 400;
496
- margin-left: 0.25rem;
497
- color: var(--color-fd-muted-foreground);
498
-}
499
-
491
/* ==========================================================================
492
Table of Contents (Right Sidebar)
493
========================================================================== */