tsoa-next
    Preparing search index...

    Interface Config

    interface Config {
        compilerOptions?: Record<string, unknown>;
        controllerPathGlobs?: string[];
        defaultNumberType?: "long" | "integer" | "double" | "float";
        entryFile: string;
        ignore?: string[];
        multerOpts?: Options;
        noImplicitAdditionalProperties?:
            | "ignore"
            | "throw-on-extras"
            | "silently-remove-extras";
        routes: RoutesConfig;
        spec: SpecConfig;
    }
    Index

    Properties

    compilerOptions?: Record<string, unknown>

    Typescript CompilerOptions to be used during generation

    RoutesConfig

    controllerPathGlobs?: string[]

    An array of path globs that point to your route controllers that you would like to have tsoa include.

    defaultNumberType?: "long" | "integer" | "double" | "float"
    entryFile: string

    The entry point to your API

    ignore?: string[]

    Directories to ignore during TypeScript metadata scan

    multerOpts?: Options

    Multer's options to generate multer's middleware. It doesn't support storage option

    {
    * "dest": "/tmp"
    * } Allow multer to write to file instead of using Memory's buffer

    since v6.4.0 instroduces RegisterRoutes can pass multerOptions, we will quickly remove this options soon at future version. (https://github.com/lukeautry/tsoa/issues/1587#issuecomment-2391291433) (https://github.com/lukeautry/tsoa/pull/1638)

    noImplicitAdditionalProperties?:
        | "ignore"
        | "throw-on-extras"
        | "silently-remove-extras"

    Modes that allow you to prevent input data from entering into your API. This will document your decision in the swagger.yaml and it will turn on excess-property validation (at runtime) in your routes.

    routes: RoutesConfig

    Route generation configuration object

    Swagger generation configuration object