revert to draft07 schema

This commit is contained in:
FabianLars
2026-03-09 12:32:45 +01:00
parent 8d6a6d6d31
commit c6561ab6b4
31 changed files with 745 additions and 3982 deletions
+4 -1
View File
@@ -68,6 +68,9 @@ fn _f() {
fn main() {
tauri_plugin::Builder::new(COMMANDS)
.global_api_script_path("./api-iife.js")
.global_scope_schema(schemars::schema_for!(HttpScopeEntry))
.global_scope_schema(
schemars::SchemaGenerator::new(schemars::generate::SchemaSettings::draft07())
.into_root_schema_for::<HttpScopeEntry>(),
)
.build();
}