moleculer-web AliasRouteSchema is a type, so not extendable

Example

//you can use this in your aliases
{
aliases: {
'POST go': {} as AliasRouteSchemaOpenApi
}
}
interface AliasRouteSchemaOpenApi {
    action?: string;
    busboyConfig?: BusboyConfig<unknown>;
    except?: string[];
    handler?: unknown;
    method?: string;
    only?: string[];
    openapi?: false | AliasRouteOpenApi;
    path?: string;
    type?: string;
}

Hierarchy (view full)

Properties

action?: string
busboyConfig?: BusboyConfig<unknown>
except?: string[]
handler?: unknown
method?: string
only?: string[]
openapi?: false | AliasRouteOpenApi
path?: string
type?: string