@har-sdk/openapi-sampler
Version:
[](https://codeclimate.com/github/NeuraLegion/har-sdk/maintainability) [ • 903 B
TypeScript
import { Schema } from './traverse';
import { OpenAPISchema } from './samplers';
import { OpenAPIV2, OpenAPIV3 } from '@har-sdk/core';
export declare type OpenAPIArraySchemaObject = OpenAPIV3.ArraySchemaObject | OpenAPIV2.SchemaObject;
export declare type OpenAPIReferenceObject = OpenAPIV3.ReferenceObject | OpenAPIV2.ReferenceObject;
export declare const mergeDeep: (...objects: Record<string, any>[]) => Record<string, any>;
export declare const firstArrayElement: <T>(x: T[]) => T;
export declare const getReplacementForCircular: (type: string) => {
value: {};
};
export declare const hasExample: (schema: Schema) => schema is OpenAPISchema;
export declare const hasDefault: (schema: Schema) => schema is OpenAPISchema;
export declare const hasItems: (schema: Schema) => schema is OpenAPIArraySchemaObject;
export declare const isReference: (schema: Schema) => schema is OpenAPIReferenceObject;