Skip to content

Commit 45d49f1

Browse files
committedJan 6, 2025··
chore: updates public api test
Signed-off-by: Vincent Biret <[email protected]>
1 parent 8a73b54 commit 45d49f1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ namespace Microsoft.OpenApi.Models
571571
public System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiTag>? Tags { get; set; }
572572
public System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiPathItem>? Webhooks { get; set; }
573573
public Microsoft.OpenApi.Services.OpenApiWorkspace? Workspace { get; set; }
574-
public bool AddComponentSchema(string id, Microsoft.OpenApi.Models.OpenApiSchema openApiSchema) { }
574+
public bool AddComponent<T>(string id, T componentToRegister) { }
575575
public void SerializeAsV2(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
576576
public void SerializeAsV3(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
577577
public void SerializeAsV31(Microsoft.OpenApi.Writers.IOpenApiWriter writer) { }
@@ -1533,9 +1533,8 @@ namespace Microsoft.OpenApi.Services
15331533
public int ComponentsCount() { }
15341534
public bool Contains(string location) { }
15351535
public System.Uri GetDocumentId(string key) { }
1536-
public bool RegisterComponent<T>(string location, T component) { }
1536+
public bool RegisterComponentForDocument<T>(Microsoft.OpenApi.Models.OpenApiDocument openApiDocument, T componentToRegister, string id) { }
15371537
public void RegisterComponents(Microsoft.OpenApi.Models.OpenApiDocument document) { }
1538-
public bool RegisterSchemaForDocument(Microsoft.OpenApi.Models.OpenApiDocument openApiDocument, Microsoft.OpenApi.Models.OpenApiSchema openApiSchema, string id) { }
15391538
public T? ResolveReference<T>(string location) { }
15401539
}
15411540
public class OperationSearch : Microsoft.OpenApi.Services.OpenApiVisitorBase

0 commit comments

Comments
 (0)