diff --git a/openbb_platform/core/openbb_core/api/router/commands.py b/openbb_platform/core/openbb_core/api/router/commands.py index bd627630542..50e74a65a51 100644 --- a/openbb_platform/core/openbb_core/api/router/commands.py +++ b/openbb_platform/core/openbb_core/api/router/commands.py @@ -77,7 +77,9 @@ def build_new_signature(path: str, func: Callable) -> Signature: name.replace("-", "_"), kind=Parameter.POSITIONAL_OR_KEYWORD, default=default, - annotation=Annotated[Optional[str], Header()], + annotation=Annotated[ + Optional[str], Header(include_in_schema=False) + ], ) )