We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e7ee8c commit e84fdf4Copy full SHA for e84fdf4
1 file changed
ASCOM.Alpaca.Simulators/Startup.cs
@@ -63,6 +63,9 @@ public void ConfigureServices(IServiceCollection services)
63
services.AddScoped<IUserService, UserService>();
64
services.AddScoped<AuthorizationFilter>();
65
services.AddBlazoredToast();
66
+
67
+ //Do not automatically change JSON to Camel Case
68
+ services.AddControllers().AddJsonOptions(options => options.JsonSerializerOptions.PropertyNamingPolicy = null);
69
}
70
71
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
0 commit comments