Skip to content

Commit 0a2d0c1

Browse files
committed
Use correct response type for downward trend
1 parent dffb5b6 commit 0a2d0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

App/Api/Setup/ApiEndpoints.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static void ConfigureEndpoints(this WebApplication app)
3535
}
3636
})
3737
.WithDescription("Get longest downward trend in days between given dates")
38-
.Produces<HighestTradingVolumeResponse>((int)HttpStatusCode.OK)
38+
.Produces<LongestDownwardTrendResponse>((int)HttpStatusCode.OK)
3939
.Produces((int)HttpStatusCode.NotFound)
4040
.Produces((int)HttpStatusCode.BadRequest)
4141
.ProducesProblem((int)HttpStatusCode.TooManyRequests)

0 commit comments

Comments
 (0)