@@ -10,7 +10,6 @@ use biome_js_syntax::{
1010use biome_rowan:: AstNode ;
1111use biome_service:: workspace_types:: { ModuleQueue , generate_type, methods} ;
1212use biome_string_case:: Case ;
13- use schemars:: { SchemaGenerator , generate:: SchemaSettings } ;
1413use xtask_codegen:: update;
1514use xtask_glue:: { Mode , Result , project_root} ;
1615
@@ -154,17 +153,6 @@ pub(crate) fn generate_workspace_bindings(mode: Mode) -> Result<()> {
154153 . build ( ) ,
155154 ) ) ;
156155 }
157- // HACK: these types doesn't get picked up in the loop above, so we add it manually
158- let support_kind_schema = SchemaGenerator :: from ( SchemaSettings :: openapi3 ( ) )
159- . root_schema_for :: < biome_service:: workspace:: SupportKind > ( ) ;
160- generate_type ( & mut declarations, & mut queue, & support_kind_schema) ;
161- let rule_domain_schema = SchemaGenerator :: from ( SchemaSettings :: openapi3 ( ) )
162- . root_schema_for :: < biome_analyze:: RuleDomain > ( ) ;
163- generate_type ( & mut declarations, & mut queue, & rule_domain_schema) ;
164- let rule_domain_value_schema = SchemaGenerator :: from ( SchemaSettings :: openapi3 ( ) )
165- . root_schema_for :: < biome_configuration:: analyzer:: RuleDomainValue > (
166- ) ;
167- generate_type ( & mut declarations, & mut queue, & rule_domain_value_schema) ;
168156
169157 let leading_comment = [
170158 (
0 commit comments