Hi there!
As per the Swagger docs, setting tryItOutEnabled should "Controls whether the "Try it out" section should be enabled by default.".
Trying to do that in the bootstrap file, seem to have no effect:
const document = SwaggerModule.createDocument(app, config);
SwaggerModule.setup('api', app, document, {
swaggerOptions: {
tryItOutEnabled: false,
persistAuthorization: true,
},
});
persistAuthorization works, but tryItOutEnabled does not.
What am I missing?