Skip to content

Generates Endpoints, Models and Services for C# Application using Liquid templates.

License

Notifications You must be signed in to change notification settings

Dharmang92/code-generator

Repository files navigation

code-generator

CodeGenerator

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

Variables

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

image

About

Generates Endpoints, Models and Services for C# Application using Liquid templates.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages