UNPKG

@redocly/respect-core

Version:
21 lines 732 B
import type { ExtendedOperation, TestContext } from '../../types.js'; import type { OperationDetails } from '../description-parser/index.js'; export type GetServerUrlInput = { ctx: TestContext; descriptionName?: string; openapiOperation?: (OperationDetails & Record<string, any>) | undefined; xOperation?: ExtendedOperation; }; export type ServerObject = { url: string; description?: string; variables?: Record<string, { default: string; enum?: string[]; description?: string; }>; }; export declare function getServerUrl({ ctx, descriptionName, openapiOperation, xOperation, }: GetServerUrlInput): { url: string; } | undefined; //# sourceMappingURL=get-server-url.d.ts.map