Generates Endpoints, Models and Services for C# Application using Liquid templates. This is assuming that ArdalisEndpoints, AutoMapper and Ardalis styled Results extensions are used. However you can modify to your custom needs (PRs are appreciated 🙂).
-
Endpoints (folder)
- List
- GetById
- Create
- UpdateById
-
Models (folder)
- List.Response
- GetById.Request
- GetById.Response
- Create.Request
- UpdateById.Request
- AutoMapper
-
Services (folder)
- IService
- Service
Below are some available variables you can use to customize the inputs further.
- {{ EntityName }} - Corresponds to the 'Entity Name' field
- {{ ModelPath }} - Corresponds to the 'Model Namespace' field