@scalar/api-client
Version:
the open source API testing client
10 lines • 541 B
TypeScript
import type { XCodeSample } from '@scalar/workspace-store/schemas/extensions/operation';
import type { OperationObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
/**
* Grabs any custom code samples from the operation
*
* @param operation - The operation to get the custom code samples from
* @returns An array of custom code samples which exist in the operation
*/
export declare const getCustomCodeSamples: (operation: OperationObject) => XCodeSample[];
//# sourceMappingURL=get-custom-code-samples.d.ts.map