Skip to main content

Wrapsfer API Documentation

Reference for the current behavior of the Wrapsfer API, written for API consumers, backend developers, and future maintainers.

What Wrapsfer API Is Today

Wrapsfer API is a minimal .NET 10 Web API boilerplate organized around a small Clean Architecture-style layout (Api, Application, Domain, Infrastructure). It ships with the production-oriented foundations a service typically needs — health checks, OpenAPI in development, configuration, dependency injection, CORS, global exception handling, data-annotation validation, unit and integration tests, and Docker support — without any authentication, persistence, or vendor-specific dependencies.

The functional surface today is a sample greeting endpoint that exists to demonstrate the layering. Real domain endpoints have not been added yet.

This documentation describes only what exists in the codebase. It does not describe planned future behavior.

Current Endpoints

MethodPathNotes
GET/healthService health check.
GET/api/greetings?name={name}Sample greeting from the application/domain layers. name is validated by [StringLength].
GET/openapi/v1.jsonOpenAPI document. Available in development only.

Quick check against a locally running instance:

curl http://localhost:8080/health
curl "http://localhost:8080/api/greetings?name=Vernon"

Where To Go Next

For API consumers:

For backend developers and maintainers: