@redocly/respect-core
Version:
API testing framework core
21 lines • 732 B
TypeScript
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