Skip to content

adeutscher/RedShirt.Example.Api

Repository files navigation

RedShirt.Example.Api

Example of an ASP.NET Core API.

Repo features:

  • Initialisation script for quick namespace adjustment.
  • Use of NSwag to automatically document endpoints and to generate client code for an interop package.
    • Recommended next step: Exporting the interop package as a NuGet for use in other projects.
  • Configuration is based on environment variables.

Initialisation

To change the namespace of the API en-masse for your purposes, use the init-repo.sh script:

bash init-repo.sh New.Namespace.Here

Testing

For local testing, see the test/local folder.

Citations

Rough citation of some sources beyond memory.

API

Dynamo

About

AspNetCore API Template with Swagger Support

Topics

Resources

Stars

Watchers

Forks