refactor: replace MapStruct INSTANCE with Spring DI in SmsLegacyConverter and ToolScaffolder template

This commit is contained in:
jade
2026-07-13 22:41:12 +09:00
parent db180db710
commit 29f5822d5c
11 changed files with 411 additions and 11 deletions

13
patch_htmls_group.py Normal file
View File

@@ -0,0 +1,13 @@
import os
base_dir = r"C:\Users\Admin\.gemini\antigravity\scratch\axhub-backend-main\axhub-gateway\src\main\resources\static"
files_to_patch = ["index.html", "playground.html"]
for f in files_to_patch:
path = os.path.join(base_dir, f)
with open(path, "r", encoding="utf-8") as file:
content = file.read()
content = content.replace("tool.domainGroup", "tool.categoryKey")
with open(path, "w", encoding="utf-8") as file:
file.write(content)
print("Done")