Retrieves template files and boilerplate code for NestJS API project structure.
Provides access to template files that establish the foundational structure for NestJS API applications, including module definitions, controller patterns, DTO structures, and infrastructure code that forms the skeleton of the API service. These templates ensure consistent API architecture and provide reusable patterns for common API implementation scenarios.
The template files complement the generated API code by providing standardized project structure, routing configurations, validation patterns, and utility functions that support efficient API development and maintenance. This includes NestJS main application setup, module organization patterns, exception filters, interceptors, and other foundational elements required for comprehensive API service infrastructure.
Promise resolving to key-value pairs mapping template file paths to their content, establishing the complete API project structure and supporting infrastructure for production-ready API service deployment
Inverts standard OpenAPI document back to AutoBE OpenAPI AST format.
Converts a standard OpenApi.IDocument back into the specialized AutoBeOpenApi.IDocument AST format used by the vibe coding pipeline. This inverse transformation enables integration with existing OpenAPI specifications or importing externally created API designs into the AutoBE development workflow.
The inversion process analyzes the OpenAPI structure and reconstructs the corresponding AST representation while maintaining compatibility with the AutoBE compilation and validation systems. This enables seamless bidirectional conversion between AutoBE's optimized format and industry-standard specifications.
Standard OpenAPI document to convert
Promise resolving to AutoBE OpenAPI AST document for vibe coding pipeline integration
Transforms AutoBE OpenAPI AST document to standard OpenAPI specification.
Converts the specialized AutoBeOpenApi.IDocument AST format into the standard OpenApi.IDocument format that conforms to the official OpenAPI specification. This transformation expands simplified type references into complete OpenAPI schema definitions while preserving all semantic meaning and business context.
The resulting OpenAPI document undergoes comprehensive validation against OpenAPI 3.1 specification standards, ensuring complete industry compliance and compatibility with the broader OpenAPI tooling ecosystem.
AutoBE OpenAPI AST document to transform
Promise resolving to standard OpenAPI document with full specification compliance
Writes complete NestJS application files from validated AutoBE OpenAPI AST document.
Performs the complete transformation pipeline from validated AutoBeOpenApi.IDocument AST structures to production-ready NestJS project files. This includes generating controllers, DTOs, client SDKs, test scaffolds, and all supporting infrastructure code with comprehensive documentation and type safety assurance.
The writing process includes revolutionary enhancements such as keyworded parameter optimization for AI consumption, comprehensive JSDoc documentation derived from AST descriptions, intelligent test scaffolds, and end-to-end type safety throughout the entire application stack.
Validated AutoBE OpenAPI AST document containing complete API specification
Promise resolving to key-value pairs mapping file paths to generated NestJS project contents ready for deployment
Custom Interface compiler that handles API specification and NestJS application generation.
This compiler transforms validated AutoBeOpenApi.IDocument AST structures into comprehensive NestJS projects through a sophisticated multi-stage transformation pipeline. The Interface compiler bridges the gap between database design and application implementation, ensuring perfect alignment with business requirements and database schemas.
The compiler leverages NestiaMigrateApplication for robust NestJS project generation and HttpMigration for bidirectional conversion between AutoBE AST and standard OpenAPI formats. All generated TypeScript code is automatically formatted with Prettier and organized with proper import sorting for production-ready quality.
Key capabilities include generating complete NestJS applications with controllers, DTOs, client SDKs, and E2E test scaffolds, all enhanced with keyworded parameter optimization for AI consumption and comprehensive documentation derived from AST descriptions.
Author
Samchon