Hello, I hope you're doing well. I’m reporting a blocking issue for developers using Deferred Modules and Lazy Loaded Modules.
There is an issue in the openAPISchema function where totalRoutes is always equal to 2. Because of this, the condition:
if (totalRoutes === app.routes.length && cachedSchema)
return cachedSchema
always evaluates to true (as long as cachedSchema is defined), which prevents the schema from being regenerated.
Hello, I hope you're doing well. I’m reporting a blocking issue for developers using Deferred Modules and Lazy Loaded Modules.
There is an issue in the
openAPISchemafunction wheretotalRoutesis always equal to 2. Because of this, the condition:always evaluates to true (as long as
cachedSchemais defined), which prevents the schema from being regenerated.