Skip to content

GetOperationsRoutesOptions

@tsed/schema

Usage ​

typescript
import { GetOperationsRoutesOptions } from "@tsed/schema";

See /packages/specs/schema/src/utils/getOperationsRoutes.ts.

Overview ​

ts
interface GetOperationsRoutesOptions {
    withChildren?: boolean;
    basePath?: string;
    allowedVerbs?: OperationVerbs[];
}

withChildren ​

ts
withChildren?: boolean;

basePath ​

ts
basePath?: string;

allowedVerbs ​

ts
allowedVerbs?: OperationVerbs[];

Released under the MIT License.