Skip to content

Commit 26ae208

Browse files
committed
Use constant
1 parent 69e6d81 commit 26ae208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.Readers/V3/OpenApiComponentsDeserializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static OpenApiComponents LoadComponents(ParseNode node)
4747

4848
foreach (var schema in components.Schemas)
4949
{
50-
var refUri = new Uri($"http://everything.json/components/schemas/{schema.Key}");
50+
var refUri = new Uri(OpenApiConstants.v3ReferenceUri + schema.Key);
5151
SchemaRegistry.Global.Register(refUri, schema.Value);
5252
}
5353

0 commit comments

Comments
 (0)