SwaggerDocumentOptions
interface SwaggerDocumentOptions {
include?: Function[]
extraModels?: Function[]
ignoreGlobalPrefix?: boolean
deepScanRoutes?: boolean
operationIdFactory?: OperationIdFactory
linkNameFactory?: (controllerKey: string, methodKey: string, fieldKey: string) => string
autoTagControllers?: boolean
}
Properties
Property | Description |
---|---|
include?: Function[]
|
List of modules to include in the specification |
extraModels?: Function[]
|
Additional, extra models that should be inspected and included in the specification |
ignoreGlobalPrefix?: boolean
|
If |
deepScanRoutes?: boolean
|
If |
operationIdFactory?: OperationIdFactory
|
Custom operationIdFactory that will be used to generate the |
linkNameFactory?: (controllerKey: string, methodKey: string, fieldKey: string) => string
|
Custom linkNameFactory that will be used to generate the name of links
in the |
autoTagControllers?: boolean
|