mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
docs(api): section-prefix OpenAPI tool paths
This commit is contained in:
+175
-169
File diff suppressed because it is too large
Load Diff
@@ -45,9 +45,9 @@ describe("API docs", () => {
|
||||
url: "/api/v1/openapi.yaml",
|
||||
});
|
||||
const body = res.body;
|
||||
expect(body).toContain("/api/v1/tools/resize");
|
||||
expect(body).toContain("/api/v1/tools/compress");
|
||||
expect(body).toContain("/api/v1/tools/remove-background");
|
||||
expect(body).toContain("/api/v1/tools/ocr");
|
||||
expect(body).toContain("/api/v1/tools/image/resize");
|
||||
expect(body).toContain("/api/v1/tools/image/compress");
|
||||
expect(body).toContain("/api/v1/tools/image/remove-background");
|
||||
expect(body).toContain("/api/v1/tools/image/ocr");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user