@scalar/api-client
Version:
the open source API testing client
4 lines • 421 B
TypeScript
import type { ExampleObject, RequestBodyObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
/** Grab the resolved reference to the example from the request body, or build an example from the schema */
export declare const getExampleFromBody: (requestBody: RequestBodyObject, contentType: string, exampleKey: string) => ExampleObject | null;
//# sourceMappingURL=get-request-body-example.d.ts.map