# SwaggerService Service

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

# Overview

class SwaggerService {
    constructor(injectorService: InjectorService, routeService: RouteService, configuration: Configuration);
    getOpenAPISpec(conf: ISwaggerSettings): Spec;
    getDefaultSpec(conf: Partial<ISwaggerSettings>): Spec;
}

# Members

getOpenAPISpec(conf: ISwaggerSettings): Spec

getDefaultSpec(conf: Partial<ISwaggerSettings>): Spec

Return the global api information.