Table of Contents

Class ServiceExtensions

Namespace
Olve.MinimalApi
Assembly
Olve.MinimalApi.dll

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

public static class ServiceExtensions
Inheritance
ServiceExtensions
Inherited Members

Methods

WithPathJsonConversion(IServiceCollection)

Configures JSON options to use PathJsonConverter for IPath.

public static IServiceCollection WithPathJsonConversion(this IServiceCollection services)

Parameters

services IServiceCollection

The service collection to configure.

Returns

IServiceCollection

The configured IServiceCollection.