Skip to content

Commit

Permalink
Fix serialization for camelCase for UI Api Endpoint (#1973)
Browse files Browse the repository at this point in the history
  • Loading branch information
cieciurm authored Jul 31, 2023
1 parent db2318d commit 4259ef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<HealthChecksUIK8sOperator>7.0.0</HealthChecksUIK8sOperator>
<HealthChecksUIPostgreSQLStorage>7.0.0</HealthChecksUIPostgreSQLStorage>
<HealthCheckSystem>7.0.0</HealthCheckSystem>
<HealthCheckUI>7.0.0</HealthCheckUI>
<HealthCheckUI>7.0.1</HealthCheckUI>
<HealthCheckUIClient>7.0.0</HealthCheckUIClient>
<HealthCheckUICore>7.0.0</HealthCheckUICore>
<HealthCheckUIData>7.0.0</HealthCheckUIData>
Expand Down
1 change: 1 addition & 0 deletions src/HealthChecks.UI/Middleware/UIApiEndpointMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public UIApiEndpointMiddleware(RequestDelegate next, IServiceScopeFactory servic
_settings = Guard.ThrowIfNull(settings?.Value);
_jsonSerializerOptions = new JsonSerializerOptions
{
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
PropertyNameCaseInsensitive = true,
Converters =
{
Expand Down

0 comments on commit 4259ef3

Please sign in to comment.