UNPKG

@scalar/api-client

Version:

the open source API testing client

7 lines 457 B
import type { ParameterObject, RequestBodyObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'; /** * Resolve an example value for a parameter or requestBody from either `examples` or `content.*.examples`. * Or the [deprecated] `example` field. */ export declare const getExampleValue: (param: ParameterObject | RequestBodyObject, example?: string, contentType?: string) => unknown; //# sourceMappingURL=get-example-value.d.ts.map