Skip to content

Instantly share code, notes, and snippets.

@davetoland
davetoland / DriverEndpoints.cs
Last active May 5, 2025 17:00
Minimal .NET API Endpoints, perfect for vertical slice development (https://github.com/davetoland/F1Api)
using F1Api.Api;
using F1Api.Contracts.Ouput;
using F1Api.Mappers;
using F1Api.Models.Input;
using F1Api.Validation;
namespace F1Api.Endpoints;
public static class DriverEndpoints
{