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 44f80b9 commit 192195dCopy full SHA for 192195d
src/index.ts
@@ -137,7 +137,7 @@ export const swagger = async <Path extends string = '/swagger'>(
137
schema,
138
hook: route.hooks,
139
method,
140
- path: route.path,
+ path: join(extPrefix, prefixedPath, route.path),
141
// @ts-ignore
142
models: app.definitions?.type,
143
contentType: route.hooks.type
@@ -150,7 +150,7 @@ export const swagger = async <Path extends string = '/swagger'>(
150
151
152
method: route.method,
153
154
155
156
0 commit comments