ts-openapi-express - v1.0.4
    Preparing search index...

    Type Alias Routes<Paths>

    Routes: {
        [Path in keyof Paths]: {
            [Method in Extract<keyof Paths[Path], HttpMethod> as [undefined] extends [
                Paths[Path][Method],
            ]
                ? never
                : Method]: Route<Paths[Path][Method]>
        }
    }

    Type Parameters

    • Paths