+
{node.subpath[node.subpath.length - 1]}
+ {node.parent.fragment?.required?.includes(
+ node.subpath[node.subpath.length - 1],
+ ) ? (
+ *
+ ) : (
+ ""
+ )}
)
}
@@ -46,7 +53,7 @@ const { node, root } = Astro.props;
{
node.children && (
-
+
{node.children.map((node: SchemaNode) => (
))}
diff --git a/src/pages/workers-ai/models/[name].astro b/src/pages/workers-ai/models/[name].astro
index 0938fe60b1763d3..df94990e5b4ef99 100644
--- a/src/pages/workers-ai/models/[name].astro
+++ b/src/pages/workers-ai/models/[name].astro
@@ -208,6 +208,7 @@ const starlightPageProps = {
}
Parameters
+ * indicates a required field
Input