Skip to content

Commit ff25c63

Browse files
committed
chore: updates api surface file
Signed-off-by: Vincent Biret <[email protected]>
1 parent b002225 commit ff25c63

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ namespace Microsoft.OpenApi.Interfaces
224224
}
225225
public interface IOpenApiReferenceHolder : Microsoft.OpenApi.Interfaces.IOpenApiElement, Microsoft.OpenApi.Interfaces.IOpenApiSerializable
226226
{
227-
bool UnresolvedReference { get; }
228227
Microsoft.OpenApi.Models.OpenApiReference Reference { get; init; }
228+
bool UnresolvedReference { get; }
229229
}
230230
public interface IOpenApiReferenceHolder<out T, V> : Microsoft.OpenApi.Interfaces.IOpenApiElement, Microsoft.OpenApi.Interfaces.IOpenApiReferenceHolder, Microsoft.OpenApi.Interfaces.IOpenApiSerializable
231231
where out T : Microsoft.OpenApi.Interfaces.IOpenApiReferenceable, V
@@ -963,15 +963,15 @@ namespace Microsoft.OpenApi.Models
963963
public OpenApiReference() { }
964964
public OpenApiReference(Microsoft.OpenApi.Models.OpenApiReference reference) { }
965965
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; }
966969
public bool IsExternal { get; }
970+
public bool IsFragment { get; init; }
967971
public bool IsLocal { get; }
968972
public string ReferenceV2 { get; }
969973
public string ReferenceV3 { get; }
970974
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; }
975975
public Microsoft.OpenApi.Models.ReferenceType? Type { get; init; }
976976
public void SerializeAsV2(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
977977
public void SerializeAsV3(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
@@ -1243,9 +1243,9 @@ namespace Microsoft.OpenApi.Models.References
12431243
{
12441244
protected BaseOpenApiReferenceHolder(Microsoft.OpenApi.Models.References.BaseOpenApiReferenceHolder<T, V> source) { }
12451245
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; }
12461247
public virtual T Target { get; }
12471248
public bool UnresolvedReference { get; }
1248-
public Microsoft.OpenApi.Models.OpenApiReference Reference { get; init; }
12491249
public abstract V CopyReferenceAsTargetElementWithOverrides(V source);
12501250
public virtual void SerializeAsV2(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
12511251
public virtual void SerializeAsV3(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }

0 commit comments

Comments
 (0)