We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e115b4e commit 242b289Copy full SHA for 242b289
src/fastapi_cli/cli.py
@@ -298,12 +298,10 @@ def schema(
298
] = None,
299
indent: Annotated[
300
int,
301
- typer.Option(
302
- help="JSON format indent. If 0, disable pretty printing"
303
- ),
304
- ] = 2,
305
- ) -> Any:
306
- """ Generate schema """
+ typer.Option(help="JSON format indent. If 0, disable pretty printing"),
+ ] = 2,
+) -> Any:
+ """Generate schema"""
307
fastapi_app = get_app(path=path, app_name=app)
308
schema = fastapi_app.openapi()
309
0 commit comments