Skip to content

Commit 587ac53

Browse files
committed
Adds request timing to response wrapper
Adds the ability to show request timings in the response wrapper. This includes the request start, end, and duration. Exposes `RequestStart`, `RequestEnd` and `RequestDuration` on the `Response` class.
1 parent 9f61808 commit 587ac53

File tree

4 files changed

+572
-89
lines changed

4 files changed

+572
-89
lines changed

GoLive.Generator.ApiClientGenerator.Tests.WebApi/ApiClientGenerator.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"RouteTemplate":"/api/{area:exists}/{controller=Home}/{action=Index}/{id?}",
2525
"ResponseWrapper" :{
2626
"Enabled": true,
27+
"ShowTimings": true,
2728
"ExtractHeaders":{
2829
"CorrelationId": "X-Correlation-Id"
2930
}

0 commit comments

Comments
 (0)