OpenApiReferenceResolver.Visit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Visit(IOpenApiReferenceable) |
Visits the referenceable element in the host document |
Visit(OpenApiComponents) |
Resolves references in components |
Visit(OpenApiDocument) |
Resolves tags in OpenApiDocument |
Visit(OpenApiMediaType) |
Resolve all references using in mediaType object |
Visit(OpenApiOperation) |
Resolve all references used in an operation |
Visit(OpenApiParameter) |
Resolve all references used in a parameter |
Visit(OpenApiResponses) |
Resolve all references to responses |
Visit(OpenApiSchema) |
Resolve all references used in a schema |
Visit(OpenApiSecurityRequirement) |
Resolve all references to SecuritySchemes |
Visit(IDictionary<String,OpenApiCallback>) |
Resolves all references used in callbacks |
Visit(IDictionary<String,OpenApiExample>) |
Resolve all references to examples |
Visit(IDictionary<String,OpenApiHeader>) |
Resolve all references to headers |
Visit(IDictionary<String,OpenApiLink>) |
Resolve all references to links |
Visit(IList<OpenApiParameter>) |
Resolve all references to parameters |
Visit(IOpenApiReferenceable)
Visits the referenceable element in the host document
public override void Visit (Microsoft.OpenApi.Interfaces.IOpenApiReferenceable referenceable);
override this.Visit : Microsoft.OpenApi.Interfaces.IOpenApiReferenceable -> unit
Public Overrides Sub Visit (referenceable As IOpenApiReferenceable)
Parameters
- referenceable
- IOpenApiReferenceable
The referenceable element in the doc.
Applies to
Visit(OpenApiComponents)
Resolves references in components
public override void Visit (Microsoft.OpenApi.Models.OpenApiComponents components);
override this.Visit : Microsoft.OpenApi.Models.OpenApiComponents -> unit
Public Overrides Sub Visit (components As OpenApiComponents)
Parameters
- components
- OpenApiComponents
Applies to
Visit(OpenApiDocument)
Resolves tags in OpenApiDocument
public override void Visit (Microsoft.OpenApi.Models.OpenApiDocument doc);
override this.Visit : Microsoft.OpenApi.Models.OpenApiDocument -> unit
Public Overrides Sub Visit (doc As OpenApiDocument)
Parameters
- doc
- OpenApiDocument
Applies to
Visit(OpenApiMediaType)
Resolve all references using in mediaType object
public override void Visit (Microsoft.OpenApi.Models.OpenApiMediaType mediaType);
override this.Visit : Microsoft.OpenApi.Models.OpenApiMediaType -> unit
Public Overrides Sub Visit (mediaType As OpenApiMediaType)
Parameters
- mediaType
- OpenApiMediaType
Applies to
Visit(OpenApiOperation)
Resolve all references used in an operation
public override void Visit (Microsoft.OpenApi.Models.OpenApiOperation operation);
override this.Visit : Microsoft.OpenApi.Models.OpenApiOperation -> unit
Public Overrides Sub Visit (operation As OpenApiOperation)
Parameters
- operation
- OpenApiOperation
Applies to
Visit(OpenApiParameter)
Resolve all references used in a parameter
public override void Visit (Microsoft.OpenApi.Models.OpenApiParameter parameter);
override this.Visit : Microsoft.OpenApi.Models.OpenApiParameter -> unit
Public Overrides Sub Visit (parameter As OpenApiParameter)
Parameters
- parameter
- OpenApiParameter
Applies to
Visit(OpenApiResponses)
Resolve all references to responses
public override void Visit (Microsoft.OpenApi.Models.OpenApiResponses responses);
override this.Visit : Microsoft.OpenApi.Models.OpenApiResponses -> unit
Public Overrides Sub Visit (responses As OpenApiResponses)
Parameters
- responses
- OpenApiResponses
Applies to
Visit(OpenApiSchema)
Resolve all references used in a schema
public override void Visit (Microsoft.OpenApi.Models.OpenApiSchema schema);
override this.Visit : Microsoft.OpenApi.Models.OpenApiSchema -> unit
Public Overrides Sub Visit (schema As OpenApiSchema)
Parameters
- schema
- OpenApiSchema
Applies to
Visit(OpenApiSecurityRequirement)
Resolve all references to SecuritySchemes
public override void Visit (Microsoft.OpenApi.Models.OpenApiSecurityRequirement securityRequirement);
override this.Visit : Microsoft.OpenApi.Models.OpenApiSecurityRequirement -> unit
Public Overrides Sub Visit (securityRequirement As OpenApiSecurityRequirement)
Parameters
- securityRequirement
- OpenApiSecurityRequirement
Applies to
Visit(IDictionary<String,OpenApiCallback>)
Resolves all references used in callbacks
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiCallback> callbacks);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiCallback> -> unit
Public Overrides Sub Visit (callbacks As IDictionary(Of String, OpenApiCallback))
Parameters
- callbacks
- IDictionary<String,OpenApiCallback>
Applies to
Visit(IDictionary<String,OpenApiExample>)
Resolve all references to examples
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiExample> examples);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiExample> -> unit
Public Overrides Sub Visit (examples As IDictionary(Of String, OpenApiExample))
Parameters
- examples
- IDictionary<String,OpenApiExample>
Applies to
Visit(IDictionary<String,OpenApiHeader>)
Resolve all references to headers
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiHeader> headers);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiHeader> -> unit
Public Overrides Sub Visit (headers As IDictionary(Of String, OpenApiHeader))
Parameters
- headers
- IDictionary<String,OpenApiHeader>
Applies to
Visit(IDictionary<String,OpenApiLink>)
Resolve all references to links
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiLink> links);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiLink> -> unit
Public Overrides Sub Visit (links As IDictionary(Of String, OpenApiLink))
Parameters
- links
- IDictionary<String,OpenApiLink>
Applies to
Visit(IList<OpenApiParameter>)
Resolve all references to parameters
public override void Visit (System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiParameter> parameters);
override this.Visit : System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiParameter> -> unit
Public Overrides Sub Visit (parameters As IList(Of OpenApiParameter))
Parameters
- parameters
- IList<OpenApiParameter>