Skip to content

Commit

Permalink
Fixes issue with parametrizing URLs in OpenApiDocGeneratorPlugin (#433)
Browse files Browse the repository at this point in the history
Co-authored-by: Garry Trinder <[email protected]>
  • Loading branch information
waldekmastykarz and garrytrinder authored Dec 18, 2023
1 parent e141d5c commit e20f9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-proxy-plugins/RequestLogs/OpenApiDocGeneratorPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ private string ParametrizePath(OpenApiPathItem pathItem, Uri requestUri)
if (IsParametrizable(segment))
{
var parameterName = $"{previousSegment}-id";
segments[i] = "{" + parameterName + "}";
segments[i] = "{" + parameterName + "}/";

pathItem.Parameters.Add(new OpenApiParameter
{
Expand Down

0 comments on commit e20f9d8

Please sign in to comment.