Skip to content

Commit a4ae54b

Browse files
authored
Update host.json schema for functions extension bundle default (SchemaStore#4895)
* Update host.json schema for extension bundle default * update version in test file as well * remove v3 bundle example
1 parent 03b4f37 commit a4ae54b

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

src/schemas/json/host.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@
616616
"type": "object",
617617
"properties": {
618618
"extensionBundle": {
619-
"description": "Configuration settings for extension bundle",
619+
"description": "Configuration settings for extension bundle - a predefined set of compatible binding extensions to a function app",
620620
"type": "object",
621621
"properties": {
622622
"id": {
@@ -627,14 +627,18 @@
627627
"version": {
628628
"description": "The version of the extension bundle.",
629629
"type": "string",
630-
"examples": ["[1.*, 2.0.0)", "[2.*, 3.0.0)"],
631-
"default": "[2.*, 3.0.0)"
630+
"examples": ["[4.*, 5.0.0)"],
631+
"default": "[4.*, 5.0.0)"
632632
}
633633
},
634634
"examples": [
635635
{
636636
"id": "Microsoft.Azure.Functions.ExtensionBundle",
637-
"version": "[2.*, 3.0.0)"
637+
"version": "[4.*, 5.0.0)"
638+
},
639+
{
640+
"id": "Microsoft.Azure.Functions.ExtensionBundle.Preview",
641+
"version": "[4.*, 5.0.0)"
638642
}
639643
],
640644
"additionalProperties": false
@@ -1521,7 +1525,7 @@
15211525
},
15221526
"extensionBundle": {
15231527
"id": "Microsoft.Azure.Functions.ExtensionBundle",
1524-
"version": "[2.*, 3.0.0)"
1528+
"version": "[4.*, 5.0.0)"
15251529
}
15261530
}
15271531
],

src/test/host/host.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"extensionBundle": {
1111
"id": "Microsoft.Azure.Functions.ExtensionBundle",
12-
"version": "[1.*, 2.0.0)"
12+
"version": "[4.*, 5.0.0)"
1313
},
1414
"extensions": {
1515
"blobs": {

0 commit comments

Comments
 (0)