File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
pkgs/dart_mcp_server/lib/src/mixins Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -766,19 +766,21 @@ base mixin DartToolingDaemonSupport
766
766
'Value should be a nested finder for the descendent or ancestor' ,
767
767
additionalProperties: true ,
768
768
),
769
- 'matchRoot' : Schema .object (
769
+ // This is a boolean but uses the `true` and `false` strings.
770
+ 'matchRoot' : Schema .enumeration (
770
771
description:
771
772
'Required by the Descendent and Ancestor finders. '
772
773
'Whether the widget matching `of` will be considered for a '
773
774
'match' ,
774
- additionalProperties : true ,
775
+ values : [ ' true' , 'false' ] ,
775
776
),
776
- 'firstMatchOnly' : Schema .object (
777
+ // This is a boolean but uses the `true` and `false` strings.
778
+ 'firstMatchOnly' : Schema .enumeration (
777
779
description:
778
780
'Required by the Descendent and Ancestor finders. '
779
781
'If true then only the first ancestor or descendent matching '
780
782
'`matching` will be returned.' ,
781
- additionalProperties : true ,
783
+ values : [ ' true' , 'false' ] ,
782
784
),
783
785
'action' : Schema .enumeration (
784
786
description:
You can’t perform that action at this time.
0 commit comments