CA.ApiGenerator

1.0.3

Transform your existing database into a production-ready Clean Architecture API in minutes. Generates complete CQRS implementation, REST controllers, validation, error handling, and integration tests from your database schema. One command. Production-ready code. Supports SQL Server, PostgreSQL, and SQLite.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name CA.ApiGenerator

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name CA.ApiGenerator

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2024 Ruslan Dubas. All rights reserved.

Package Details

Author(s)

  • Ruslan Dubas

Tags

API-Generation Code-Generation Database-First Scaffold Clean-Architecture CQRS Entity-Framework REST-API SQL-Server PostgreSQL DotNet PowerShell

Functions

New-CAApiSolution

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

## Version 1.0.3 - Marketing & Messaging Update

### Improvements
- Enhanced module description with clearer value proposition
- Focused tag selection for better discoverability
- Improved documentation with outcome-focused examples
- Updated README with before/after code examples

### Features (Unchanged)
- Complete Clean Architecture solution generation from existing databases
- CQRS commands/queries with MediatR for all entities
- REST API controllers with full CRUD operations
- FluentValidation for input validation
- Automatic error handling and Swagger documentation
- Integration tests generated automatically
- Multi-database support: SQL Server, PostgreSQL, SQLite

### Requirements
- PowerShell 5.1 or higher
- .NET SDK 9.0 or higher (manual install required)
- All other dependencies auto-installed by the module

### Credits
Built on Jason Taylor's Clean Architecture Template (ca-sln)
Database automation powered by dbatools and SimplySql

See full documentation at: https://github.com/RusUsf/CA.ApiGenerator

FileList

Version History

Version Downloads Last updated
1.0.3 (current version) 4 11/4/2025