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
+11 -11
View File
@@ -49,7 +49,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -81,7 +81,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -105,7 +105,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -127,7 +127,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -145,7 +145,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -165,7 +165,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -189,7 +189,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -210,7 +210,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -236,7 +236,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -254,7 +254,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -271,7 +271,7 @@ describe("Chart Maker", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/chart-maker",
url: "/api/v1/tools/files/chart-maker",
headers: { "content-type": contentType },
body,
});