Instead, use e.g. `services.Configure<ApiVersioningOptions>(options => options.UseApiBehavior = false);`
10 lines
206 B
C#
10 lines
206 B
C#
using System;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Elsa.Server.Api
|
|
{
|
|
public class ElsaApiOptions
|
|
{
|
|
public Action<MvcNewtonsoftJsonOptions>? SetupNewtonsoftJson { get; set; }
|
|
}
|
|
} |