@scalar/api-client
Version:
the open source API testing client
6 lines • 408 B
TypeScript
import type { ExampleObject, RequestBodyObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
/**
* Basically getExample + we generate an example from the schema if no example is found
*/
export declare const getExampleFromBody: (requestBody: RequestBodyObject, contentType: string, exampleKey: string) => ExampleObject | null;
//# sourceMappingURL=get-request-body-example.d.ts.map