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("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -56,7 +56,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -80,7 +80,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -99,7 +99,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -118,7 +118,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -144,7 +144,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -163,7 +163,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -181,7 +181,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -198,7 +198,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -219,7 +219,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -238,7 +238,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -257,7 +257,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -273,7 +273,7 @@ describe("noise-removal", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/noise-removal",
url: "/api/v1/tools/image/noise-removal",
headers: { "content-type": contentType },
body,
});