# SwaggerModule Class

Module
import { SwaggerModule } from "@tsed/swagger/src/SwaggerModule"
Source/packages/swagger/src/SwaggerModule.ts

# Overview

class SwaggerModule implements BeforeRoutesInit, OnReady {
<span class="token keyword">constructor</span><span class="token punctuation">(</span>injector<span class="token punctuation">:</span> <a href="/api/di/services/InjectorService.html"><span class="token">InjectorService</span></a><span class="token punctuation">,</span> swaggerService<span class="token punctuation">:</span> <a href="/api/swagger/services/SwaggerService.html"><span class="token">SwaggerService</span></a><span class="token punctuation">,</span> configuration<span class="token punctuation">:</span> <a href="/api/di/decorators/Configuration.html"><span class="token">Configuration</span></a><span class="token punctuation">,</span> platformApplication<span class="token punctuation">:</span> <a href="/api/common/platform/services/PlatformApplication.html"><span class="token">PlatformApplication</span></a><span class="token punctuation">)</span><span class="token punctuation">;</span>
/**
 *
 */
$<span class="token function">beforeRoutesInit</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">:</span> <span class="token keyword">void</span><span class="token punctuation">;</span>
$<span class="token function">onRoutesInit</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">:</span> <span class="token keyword">void</span><span class="token punctuation">;</span>
$<span class="token function">onReady</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">:</span> <span class="token keyword">void</span><span class="token punctuation">;</span>
/**
 *
 * @param <span class="token punctuation">{</span><a href="/api/swagger/interfaces/ISwaggerSettings.html"><span class="token">ISwaggerSettings</span></a><span class="token punctuation">}</span> conf
 * @param urls
 */




/**
 *
 * @returns <span class="token punctuation">{</span><span class="token punctuation">(</span>req<span class="token punctuation">:</span> <span class="token keyword">any</span><span class="token punctuation">,</span> res<span class="token punctuation">:</span> <span class="token keyword">any</span><span class="token punctuation">)</span> =&gt; <span class="token keyword">any</span><span class="token punctuation">}</span>
 * @param conf
 * @param urls
 */

/**
 *
 * @param <span class="token punctuation">{</span><span class="token keyword">string</span><span class="token punctuation">}</span> path
 */

/**
 *
 * @param <span class="token punctuation">{</span><span class="token keyword">string</span><span class="token punctuation">}</span> path
 */

}