.Net Core 2.2 Web APIでCamel式&インデントなしでレスポンスを返したい場合、
Startupで設定を変更すればよい
public class Startup
{
// 省略
public void ConfigureServices(IServiceCollection services)
{
services
.AddMvc()
.AddJsonOptions(options=> {
options.SerializerSettings.Formatting = Newtonsoft.Json.Formatting.None; // インデントなし
options.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver(); // Camel形式
});