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 1d78927 commit 4c9f204Copy full SHA for 4c9f204
src/index.ts
@@ -134,7 +134,7 @@ export const swagger = async <Path extends string = '/swagger'>(
134
schema,
135
hook: route.hooks,
136
method,
137
- path: route.path,
+ path: join(extPrefix, prefixedPath, route.path),
138
// @ts-ignore
139
models: app.definitions?.type,
140
contentType: route.hooks.type
@@ -147,7 +147,7 @@ export const swagger = async <Path extends string = '/swagger'>(
147
148
149
method: route.method,
150
151
152
153
0 commit comments