UNPKG

@har-sdk/openapi-sampler

Version:

[![Maintainability](https://api.codeclimate.com/v1/badges/4acaec95c82465cb2c3d/maintainability)](https://codeclimate.com/github/NeuraLegion/har-sdk/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/4acaec95c82465cb2c3d/test_coverage

16 lines (15 loc) 495 B
import { Sampler, OpenAPISchema } from './Sampler'; export declare class StringSampler implements Sampler { private readonly MAX_PATTERN_SAMPLE_LENGTH; private readonly stringFormats; sample(schema: OpenAPISchema): any; private patternSample; private hasInfiniteQuantifier; private sampleWithMaxLength; private sampleWithMinLength; private checkLength; private assertLength; private checkBoundary; private adjustLength; private adjustMaxLength; }