feat: add mock generation for DTOs, models, and repositories with corresponding templates

This commit is contained in:
didavila
2026-03-25 11:01:21 +01:00
parent a0a8ba28f5
commit 917cc3b9cf
12 changed files with 289 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ export interface GeneratedCount {
mappers: number;
useCases: number;
providers: number;
mocks: number;
}
/**
@@ -23,5 +24,6 @@ export interface GenerationReport {
mappers: number;
useCases: number;
providers: number;
mocks: number;
};
}

View File

@@ -30,9 +30,12 @@ export interface OpenApiSchema {
string,
{
type?: string;
format?: string;
description?: string;
example?: unknown;
enum?: unknown[];
$ref?: string;
items?: { $ref?: string };
items?: { $ref?: string; type?: string };
}
>;
required?: string[];