feat(import): bind OpenAPI security schemes safely

This commit is contained in:
bsodfather committed 2026-09-27 23:42:11 +03:00
1 parent c562d5368d
commit 41a0e46110
38 files changed
+4651 -590

No files matched your search

@@ -108,6 +108,7 @@ async fn http_contract_preview_apply_and_replay_preserve_json_multipart_schemas_
let payload = OpenApiImportCreatePayload {
selected_operation_keys: vec![candidate.key.clone()],
auth_mappings: vec![],
server_url: None,
conflict_mode: "skip".to_owned(),
};
@@ -199,6 +200,7 @@ async fn xml_and_unsupported_media_block_apply_without_registry_mutation() {
&preview.job_id.as_str().into(),
OpenApiImportCreatePayload {
selected_operation_keys: vec![candidate.key.clone()],
auth_mappings: vec![],
server_url: None,
conflict_mode: "skip".to_owned(),
},