UNPKG

@scalar/api-reference

Version:

Generate beautiful API references from OpenAPI documents

10 lines 400 B
/** * Utility function to extract all keys starting with 'x-' (OpenAPI extensions) from an object. * * @param object - The object from which to extract extension keys. * @returns An object containing only the entries whose keys start with 'x-'. */ export declare const getXKeysFromObject: (object?: Record<string, unknown>) => { [k: string]: unknown; }; //# sourceMappingURL=helpers.d.ts.map