Interface APIOption<T>

interface APIOption<T> {
    _allParams: Map<string, ISchemaType>;
    beforeHooks: Set<T>;
    examples: IExample[];
    group: string;
    middlewares: Set<T>;
    mock?: Record<string, any>;
    realPath: string;
    required: Set<string>;
    requiredOneOf: string[][];
    response?: TYPE_RESPONSE;
    responseSchema?: SchemaType | ISchemaType;
    tested: boolean;
}

Type Parameters

  • T

Hierarchy

  • Record<string, any>
    • APIOption

Properties

_allParams: Map<string, ISchemaType>
beforeHooks: Set<T>
examples: IExample[]
group: string
middlewares: Set<T>
mock?: Record<string, any>
realPath: string
required: Set<string>
requiredOneOf: string[][]
response?: TYPE_RESPONSE
responseSchema?: SchemaType | ISchemaType
tested: boolean

Generated using TypeDoc