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
+14 -14
View File
@@ -43,7 +43,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -62,7 +62,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -95,7 +95,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -121,7 +121,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -148,7 +148,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -170,7 +170,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -189,7 +189,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -211,7 +211,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -232,7 +232,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -252,7 +252,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -275,7 +275,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -298,7 +298,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: { "content-type": contentType },
body,
});
@@ -317,7 +317,7 @@ describe("Upscale", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -343,7 +343,7 @@ describe("Upscale", () => {
const start = Date.now();
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/upscale",
url: "/api/v1/tools/image/upscale",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,