We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88799b6 commit a8fb07bCopy full SHA for a8fb07b
tests/unit/documentation.test.ts
@@ -5,7 +5,7 @@ const app = await init();
5
test("Test getting OpenAPI JSON", async () => {
6
const response = await app.inject({
7
method: "GET",
8
- url: "/api/documentation/json",
+ url: "/docs/openapi.json",
9
});
10
expect(response.statusCode).toBe(200);
11
const responseDataJson = await response.json();
@@ -19,7 +19,7 @@ afterAll(async () => {
19
test("Test getting OpenAPI UI", async () => {
20
21
22
- url: "/api/documentation",
+ url: "/docs",
23
24
25
const contentType = response.headers["content-type"];
0 commit comments