UNPKG

@scalar/api-client

Version:

the open source API testing client

11 lines 587 B
import type { RequestExample, RequestPayload } from '@scalar/oas-utils/entities/spec'; /** * Populate the query parameters from the example parameters. This is an incomplete implementation that currently * only supports the following styles and options: * * - `form` style with `explode` set to true or false * * @see https://spec.openapis.org/oas/v3.1.1.html#style-values */ export declare function createFetchQueryParams(example: Pick<RequestExample, 'parameters'>, env: object, request?: RequestPayload): URLSearchParams; //# sourceMappingURL=create-fetch-query-params.d.ts.map