Skip to content

transformInformation

@tsed/schema

Usage

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

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

Overview

ts
function transformInformation(server: any): {
    host: string | undefined;
    basePath: string;
    schemes: string[] | undefined;
};

host

ts
host: string | undefined;

basePath

ts
basePath: string;

schemes

ts
schemes: string[] | undefined;

Released under the MIT License.