We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a3bb2 commit 43351caCopy full SHA for 43351ca
src/Microsoft.OpenApi/Models/OpenApiReference.cs
@@ -95,6 +95,10 @@ public string ReferenceV3
95
{
96
return Id;
97
}
98
+ if (Id.StartsWith("https"))
99
+ {
100
+ return Id;
101
+ }
102
103
return "#/components/" + Type.GetDisplayName() + "/" + Id;
104
@@ -236,6 +240,11 @@ private string GetExternalReferenceV3()
236
240
return ExternalResource + "#" + Id;
237
241
238
242
243
244
245
246
247
+
239
248
return ExternalResource + "#/components/" + Type.GetDisplayName() + "/" + Id;
249
250
0 commit comments