Skip to content

Commit 863bf99

Browse files
author
Cowork 3P
committed
fix: repair broken JSON in English input-schema docs
1 parent 51ccdb3 commit 863bf99

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

src/content/docs/developer-guide/worker-definition/input-schema.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
title: Worker Input Configuration (Input Schema)
33
description: A manual for Worker input configuration (Input Schema)
44
sidebar:
@@ -247,12 +247,12 @@ Object array with custom key names:
247247
"type": "array",
248248
"title": "Start URLs",
249249
"editor": "requestList",
250+
"default": [
251+
{
250252
"key": "value1"
253+
},
251254
{
252-
"url_path": "https://example.com/page1"
253255
"key": "value2"
254-
{
255-
"url_path": "https://example.com/page2"
256256
}
257257
],
258258
"required": true,
@@ -266,11 +266,11 @@ OR plain string array:
266266
{
267267
"name": "startURLs",
268268
"type": "array",
269+
"title": "Start URLs",
270+
"editor": "requestList",
271+
"default": [
269272
"value1",
270273
"value2"
271-
"default": [
272-
"https://example.com/page1",
273-
"https://example.com/page2"
274274
],
275275
"required": true,
276276
"description": "The URLs of the website to scrape"
@@ -372,7 +372,6 @@ Developers can logically group multiple configuration items by using specific fi
372372
"type": "array",
373373
"editor": "stringList",
374374
"description": "Username(s) to search. One per line.",
375-
"default": [
376375
"default": [
377376
"john_doe"
378377
],

0 commit comments

Comments
 (0)