Commit Graph

15 Commits

Author SHA1 Message Date
e0446d4939 feat: add example validation and mismatch reporting for OpenAPI schemas 2026-03-27 15:27:03 +01:00
2db6e95b1c feat: enhance DTO generation and organization by tag 2026-03-27 14:34:30 +01:00
0f64b51b63 Merge remote-tracking branch 'origin/main'
All checks were successful
Lint / lint (pull_request) Successful in 20s
# Conflicts:
#	main.ts
2026-03-26 19:02:16 +01:00
9c385191e2 feat: add configuration file strategy 2026-03-26 18:52:34 +01:00
79ea7dfc7e feat: enhance logging and linting functionality with detailed reports
All checks were successful
Lint / lint (pull_request) Successful in 16s
2026-03-26 13:03:10 +01:00
didavila
9c14a070c6 feat: add linting option and implement linting for generated TypeScript files 2026-03-25 11:10:08 +01:00
didavila
917cc3b9cf feat: add mock generation for DTOs, models, and repositories with corresponding templates 2026-03-25 11:01:21 +01:00
didavila
c86c6bece6 feat: translate application messages and logs to English for improved accessibility 2026-03-25 10:09:30 +01:00
didavila
5f34aa2f89 feat: translate comments and logs to English for better accessibility 2026-03-25 08:44:39 +01:00
b8d2fd8582 feat: add tag/endpoint selection mechanism 2026-03-24 19:51:48 +01:00
4aeb108c55 feat: add base url mechanism 2026-03-24 19:15:47 +01:00
didavila
dc678a3545 feat: Update main entry point and improve build script for cleaner architecture 2026-03-24 13:00:32 +01:00
didavila
d1bcf06439 feat: Add DTO imports processing and update model template for cleaner architecture 2026-03-24 12:20:50 +01:00
didavila
bd67e6c6d1 feat: Implement Clean Architecture code generation with Mustache templates
- Added `clean-arch.generator.ts` for generating models, mappers, repositories, use cases, and providers based on OpenAPI specs.
- Introduced `dto.generator.ts` to invoke `openapi-generator-cli` for generating DTOs and organizing them.
- Created `report.generator.ts` to generate a JSON report of the generation process.
- Implemented `analyzer.ts` for parsing OpenAPI/Swagger files and extracting relevant data.
- Defined new types in `cli.types.ts`, `generation.types.ts`, `openapi.types.ts`, and `swagger.types.ts` for better type safety.
- Added utility functions in `filesystem.ts` for creating directory structures and cleaning up temporary files.
- Developed logging utilities in `logger.ts` for better console output.
- Included OpenAPI generator checks and installation in `openapi-generator.ts`.
- Added type mapping utility in `type-mapper.ts` for converting OpenAPI types to TypeScript types.
- Updated `package.json` scripts to lint all TypeScript files.
- Modified `tsconfig.json` to include all TypeScript files in the project.
2026-03-24 11:16:45 +01:00
didavila
72536d4a86 feat: change name 2026-03-23 17:26:04 +01:00