Skip to content

Commit 2340890

Browse files
Adds port to the generated file name in OpenApiSpecGeneratorPlugin. Closes #1411 (#1415)
1 parent baec615 commit 2340890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DevProxy.Plugins/Generation/OpenApiSpecGeneratorPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ private static string GetFileNameFromServerUrl(string serverUrl, SpecFormat form
742742
SpecFormat.Yaml => "yaml",
743743
_ => "json"
744744
};
745-
var fileName = $"{uri.Host}-{DateTime.Now:yyyyMMddHHmmss}.{ext}";
745+
var fileName = $"{uri.Host}-{uri.Port}-{DateTime.Now:yyyyMMddHHmmss}.{ext}";
746746
return fileName;
747747
}
748748

0 commit comments

Comments
 (0)