Table of Contents

Namespace Olve.MinimalApi

Classes

PathJsonConverter

Converts IPath instances to and from JSON string representations.

ResultMappingExtensions

Provides extension methods to map Result and Result<T> to minimal API HTTP responses. A failure answers 404 Not Found when any of its problems is a NotFoundProblem, and 400 Bad Request otherwise; either way the body is the ResultProblem array.

ServiceExtensions

Extension methods to configure minimal API services including JSON conversion for IPath.

ValidationApiExtensions

Extension methods to add validation filters for minimal API endpoints.

Interfaces

IHandler<TRequest>

Defines a handler for processing requests of type TRequest.

IHandler<TRequest, TResponse>

Defines a handler for processing requests of type TRequest returning response of type TResponse.