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 6396e6c commit 455900eCopy full SHA for 455900e
src/server/ServerImpl.ts
@@ -403,9 +403,10 @@ export class ServerImpl extends Macroable {
403
404
const normalizedSchema = normalizeRouteSchema(automaticSchema)
405
const currentConfig = { ...(fastifyOptions.config || {}) }
406
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
407
- // @ts-ignore
+
408
const currentSwaggerSchema =
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
409
+ // @ts-ignore
410
currentConfig.swaggerSchema || fastifyOptions.schema
411
412
fastifyOptions.schema = this.mergeFastifySchemas(
0 commit comments