@@ -224,8 +224,8 @@ namespace Microsoft.OpenApi.Interfaces
224
224
}
225
225
public interface IOpenApiReferenceHolder : Microsoft.OpenApi.Interfaces.IOpenApiElement, Microsoft.OpenApi.Interfaces.IOpenApiSerializable
226
226
{
227
- bool UnresolvedReference { get; }
228
227
Microsoft.OpenApi.Models.OpenApiReference Reference { get; init; }
228
+ bool UnresolvedReference { get; }
229
229
}
230
230
public interface IOpenApiReferenceHolder<out T, V> : Microsoft.OpenApi.Interfaces.IOpenApiElement, Microsoft.OpenApi.Interfaces.IOpenApiReferenceHolder, Microsoft.OpenApi.Interfaces.IOpenApiSerializable
231
231
where out T : Microsoft.OpenApi.Interfaces.IOpenApiReferenceable, V
@@ -963,15 +963,15 @@ namespace Microsoft.OpenApi.Models
963
963
public OpenApiReference() { }
964
964
public OpenApiReference(Microsoft.OpenApi.Models.OpenApiReference reference) { }
965
965
public string Description { get; set; }
966
+ public string ExternalResource { get; init; }
967
+ public Microsoft.OpenApi.Models.OpenApiDocument HostDocument { get; init; }
968
+ public string Id { get; init; }
966
969
public bool IsExternal { get; }
970
+ public bool IsFragment { get; init; }
967
971
public bool IsLocal { get; }
968
972
public string ReferenceV2 { get; }
969
973
public string ReferenceV3 { get; }
970
974
public string Summary { get; set; }
971
- public string ExternalResource { get; init; }
972
- public Microsoft.OpenApi.Models.OpenApiDocument HostDocument { get; init; }
973
- public string Id { get; init; }
974
- public bool IsFragment { get; init; }
975
975
public Microsoft.OpenApi.Models.ReferenceType? Type { get; init; }
976
976
public void SerializeAsV2(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
977
977
public void SerializeAsV3(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
@@ -1243,9 +1243,9 @@ namespace Microsoft.OpenApi.Models.References
1243
1243
{
1244
1244
protected BaseOpenApiReferenceHolder(Microsoft.OpenApi.Models.References.BaseOpenApiReferenceHolder<T, V> source) { }
1245
1245
protected BaseOpenApiReferenceHolder(string referenceId, Microsoft.OpenApi.Models.OpenApiDocument hostDocument, Microsoft.OpenApi.Models.ReferenceType referenceType, string externalResource) { }
1246
+ public Microsoft.OpenApi.Models.OpenApiReference Reference { get; init; }
1246
1247
public virtual T Target { get; }
1247
1248
public bool UnresolvedReference { get; }
1248
- public Microsoft.OpenApi.Models.OpenApiReference Reference { get; init; }
1249
1249
public abstract V CopyReferenceAsTargetElementWithOverrides(V source);
1250
1250
public virtual void SerializeAsV2(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
1251
1251
public virtual void SerializeAsV3(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
0 commit comments