UNPKG

openapi-ts-mock-generator

Version:
34 lines (30 loc) 1.11 kB
import { Options, SchemaOutputType } from '../core/types.js'; import 'openapi-types'; /** * Faker 관련 파싱 및 특별한 데이터 생성 로직 */ /** * 특별한 Faker 규칙을 파싱하여 적용 * titles.json과 descriptions.json에서 사용자 정의 faker 규칙을 로드 */ declare const specialFakerParser: (options: Options) => { titleSpecial: Record<string, SchemaOutputType>; descriptionSpecial: Record<string, SchemaOutputType>; }; /** * Faker 모듈의 유효성을 검증 */ declare const validateFakerModule: (moduleName: string) => boolean; /** * Faker 함수의 유효성을 검증 */ declare const validateFakerFunction: (moduleName: string, functionName: string) => boolean; /** * 사용 가능한 Faker 모듈 목록 반환 */ declare const getAvailableFakerModules: () => string[]; /** * 특정 Faker 모듈의 사용 가능한 함수 목록 반환 */ declare const getAvailableFakerFunctions: (moduleName: string) => string[]; export { getAvailableFakerFunctions, getAvailableFakerModules, specialFakerParser, validateFakerFunction, validateFakerModule };