Page Contents

Home > @loopback/rest > rebaseOpenApiSpec

rebaseOpenApiSpec() function

Signature:

export declare function rebaseOpenApiSpec<T extends Partial<OpenApiSpec>>(spec: T, basePath: string): T;

Parameters

Parameter Type Description
spec T  
basePath string  

Returns:

T