test(api): section-prefix tool URLs across integration, docker, and e2e api specs

This commit is contained in:
SnapOtter
2026-06-20 12:24:50 +08:00
parent fc205c7428
commit f80444791b
213 changed files with 2868 additions and 2846 deletions
+4 -4
View File
@@ -46,7 +46,7 @@ describe("ocr-pdf", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr-pdf",
url: "/api/v1/tools/pdf/ocr-pdf",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -77,7 +77,7 @@ describe("ocr-pdf", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr-pdf",
url: "/api/v1/tools/pdf/ocr-pdf",
headers: { "content-type": contentType },
body,
});
@@ -103,7 +103,7 @@ describe("ocr-pdf", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr-pdf",
url: "/api/v1/tools/pdf/ocr-pdf",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -139,7 +139,7 @@ describe("ocr-pdf", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr-pdf",
url: "/api/v1/tools/pdf/ocr-pdf",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,