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
+13 -13
View File
@@ -41,7 +41,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -56,7 +56,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -81,7 +81,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -100,7 +100,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -119,7 +119,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -138,7 +138,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -157,7 +157,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -175,7 +175,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -192,7 +192,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -213,7 +213,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -232,7 +232,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -251,7 +251,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -267,7 +267,7 @@ describe("ocr", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/ocr",
url: "/api/v1/tools/image/ocr",
headers: { "content-type": contentType },
body,
});