OpenApiValidator.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(OpenApiResponse)
Execute validation rules against an OpenApiResponse
public override void Visit (Microsoft.OpenApi.Models.OpenApiResponse item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiResponse -> unit
Public Overrides Sub Visit (item As OpenApiResponse)
Parameters
- item
- OpenApiResponse
The object to be validated
Applies to
Visit(OpenApiResponses)
Execute validation rules against an OpenApiResponses
public override void Visit (Microsoft.OpenApi.Models.OpenApiResponses item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiResponses -> unit
Public Overrides Sub Visit (item As OpenApiResponses)
Parameters
- item
- OpenApiResponses
The object to be validated
Applies to
Visit(OpenApiSchema)
Execute validation rules against an OpenApiSchema
public override void Visit (Microsoft.OpenApi.Models.OpenApiSchema item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiSchema -> unit
Public Overrides Sub Visit (item As OpenApiSchema)
Parameters
- item
- OpenApiSchema
The object to be validated
Applies to
Visit(OpenApiSecurityRequirement)
Execute validation rules against a OpenApiSecurityRequirement
public override void Visit (Microsoft.OpenApi.Models.OpenApiSecurityRequirement item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiSecurityRequirement -> unit
Public Overrides Sub Visit (item As OpenApiSecurityRequirement)
Parameters
The object to be validated
Applies to
Visit(OpenApiSecurityScheme)
Execute validation rules against a OpenApiSecurityScheme
public override void Visit (Microsoft.OpenApi.Models.OpenApiSecurityScheme item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiSecurityScheme -> unit
Public Overrides Sub Visit (item As OpenApiSecurityScheme)
Parameters
The object to be validated
Applies to
Visit(OpenApiServer)
Execute validation rules against an OpenApiServer
public override void Visit (Microsoft.OpenApi.Models.OpenApiServer item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiServer -> unit
Public Overrides Sub Visit (item As OpenApiServer)
Parameters
- item
- OpenApiServer
The object to be validated
Applies to
Visit(OpenApiServerVariable)
Execute validation rules against a OpenApiServerVariable
public override void Visit (Microsoft.OpenApi.Models.OpenApiServerVariable item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiServerVariable -> unit
Public Overrides Sub Visit (item As OpenApiServerVariable)
Parameters
The object to be validated
Applies to
Visit(OpenApiTag)
Execute validation rules against an OpenApiTag
public override void Visit (Microsoft.OpenApi.Models.OpenApiTag item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiTag -> unit
Public Overrides Sub Visit (item As OpenApiTag)
Parameters
- item
- OpenApiTag
The object to be validated
Applies to
Visit(IDictionary<String,OpenApiCallback>)
Execute validation rules against a IDictionary<TKey,TValue>
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiCallback> item);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiCallback> -> unit
Public Overrides Sub Visit (item As IDictionary(Of String, OpenApiCallback))
Parameters
- item
- IDictionary<String,OpenApiCallback>
The object to be validated
Applies to
Visit(OpenApiRequestBody)
Execute validation rules against a OpenApiRequestBody
public override void Visit (Microsoft.OpenApi.Models.OpenApiRequestBody item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiRequestBody -> unit
Public Overrides Sub Visit (item As OpenApiRequestBody)
Parameters
- item
- OpenApiRequestBody
The object to be validated
Applies to
Visit(IDictionary<String,OpenApiEncoding>)
Execute validation rules against a IDictionary<TKey,TValue>
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiEncoding> item);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiEncoding> -> unit
Public Overrides Sub Visit (item As IDictionary(Of String, OpenApiEncoding))
Parameters
- item
- IDictionary<String,OpenApiEncoding>
The object to be validated
Applies to
Visit(IDictionary<String,OpenApiExample>)
Execute validation rules against a IDictionary<TKey,TValue>
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiExample> item);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiExample> -> unit
Public Overrides Sub Visit (item As IDictionary(Of String, OpenApiExample))
Parameters
- item
- IDictionary<String,OpenApiExample>
The object to be validated
Applies to
Visit(IDictionary<String,OpenApiHeader>)
Execute validation rules against a IDictionary<TKey,TValue>
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiHeader> item);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiHeader> -> unit
Public Overrides Sub Visit (item As IDictionary(Of String, OpenApiHeader))
Parameters
- item
- IDictionary<String,OpenApiHeader>
The object to be validated
Applies to
Visit(IDictionary<String,OpenApiLink>)
Execute validation rules against a IDictionary<TKey,TValue>
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiLink> item);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiLink> -> unit
Public Overrides Sub Visit (item As IDictionary(Of String, OpenApiLink))
Parameters
- item
- IDictionary<String,OpenApiLink>
The object to be validated
Applies to
Visit(IDictionary<String,OpenApiMediaType>)
Execute validation rules against a IDictionary<TKey,TValue>
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiMediaType> item);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiMediaType> -> unit
Public Overrides Sub Visit (item As IDictionary(Of String, OpenApiMediaType))
Parameters
The object to be validated
Applies to
Visit(IDictionary<String,OpenApiServerVariable>)
Execute validation rules against a IDictionary<TKey,TValue>
public override void Visit (System.Collections.Generic.IDictionary<string,Microsoft.OpenApi.Models.OpenApiServerVariable> item);
override this.Visit : System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.Models.OpenApiServerVariable> -> unit
Public Overrides Sub Visit (item As IDictionary(Of String, OpenApiServerVariable))
Parameters
The object to be validated
Applies to
Visit(IDictionary<OperationType,OpenApiOperation>)
Execute validation rules against a IDictionary<TKey,TValue>
public override void Visit (System.Collections.Generic.IDictionary<Microsoft.OpenApi.Models.OperationType,Microsoft.OpenApi.Models.OpenApiOperation> item);
override this.Visit : System.Collections.Generic.IDictionary<Microsoft.OpenApi.Models.OperationType, Microsoft.OpenApi.Models.OpenApiOperation> -> unit
Public Overrides Sub Visit (item As IDictionary(Of OperationType, OpenApiOperation))
Parameters
The object to be validated
Applies to
Visit(OpenApiPaths)
Execute validation rules against a OpenApiPaths
public override void Visit (Microsoft.OpenApi.Models.OpenApiPaths item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiPaths -> unit
Public Overrides Sub Visit (item As OpenApiPaths)
Parameters
- item
- OpenApiPaths
The object to be validated
Applies to
Visit(OpenApiParameter)
Execute validation rules against an OpenApiParameter
public override void Visit (Microsoft.OpenApi.Models.OpenApiParameter item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiParameter -> unit
Public Overrides Sub Visit (item As OpenApiParameter)
Parameters
- item
- OpenApiParameter
The object to be validated
Applies to
Visit(IList<OpenApiExample>)
Execute validation rules against a list of OpenApiExample
public override void Visit (System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiExample> items);
override this.Visit : System.Collections.Generic.IList<Microsoft.OpenApi.Models.OpenApiExample> -> unit
Public Overrides Sub Visit (items As IList(Of OpenApiExample))
Parameters
- items
- IList<OpenApiExample>
The object to be validated
Applies to
Visit(IOpenApiExtensible)
Execute validation rules against an IOpenApiExtensible
public override void Visit (Microsoft.OpenApi.Interfaces.IOpenApiExtensible item);
override this.Visit : Microsoft.OpenApi.Interfaces.IOpenApiExtensible -> unit
Public Overrides Sub Visit (item As IOpenApiExtensible)
Parameters
- item
- IOpenApiExtensible
The object to be validated
Applies to
Visit(IOpenApiExtension)
Execute validation rules against an IOpenApiExtension
public override void Visit (Microsoft.OpenApi.Interfaces.IOpenApiExtension item);
override this.Visit : Microsoft.OpenApi.Interfaces.IOpenApiExtension -> unit
Public Overrides Sub Visit (item As IOpenApiExtension)
Parameters
- item
- IOpenApiExtension
The object to be validated
Applies to
Visit(OpenApiCallback)
Execute validation rules against an OpenApiCallback
public override void Visit (Microsoft.OpenApi.Models.OpenApiCallback item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiCallback -> unit
Public Overrides Sub Visit (item As OpenApiCallback)
Parameters
- item
- OpenApiCallback
The object to be validated
Applies to
Visit(OpenApiComponents)
Execute validation rules against an OpenApiComponents
public override void Visit (Microsoft.OpenApi.Models.OpenApiComponents item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiComponents -> unit
Public Overrides Sub Visit (item As OpenApiComponents)
Parameters
- item
- OpenApiComponents
The object to be validated
Applies to
Visit(OpenApiContact)
Execute validation rules against an OpenApiContact
public override void Visit (Microsoft.OpenApi.Models.OpenApiContact item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiContact -> unit
Public Overrides Sub Visit (item As OpenApiContact)
Parameters
- item
- OpenApiContact
The object to be validated
Applies to
Visit(OpenApiDocument)
Execute validation rules against an OpenApiDocument
public override void Visit (Microsoft.OpenApi.Models.OpenApiDocument item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiDocument -> unit
Public Overrides Sub Visit (item As OpenApiDocument)
Parameters
- item
- OpenApiDocument
The object to be validated
Applies to
Visit(OpenApiEncoding)
Execute validation rules against an OpenApiEncoding
public override void Visit (Microsoft.OpenApi.Models.OpenApiEncoding item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiEncoding -> unit
Public Overrides Sub Visit (item As OpenApiEncoding)
Parameters
- item
- OpenApiEncoding
The object to be validated
Applies to
Visit(OpenApiPathItem)
Execute validation rules against a OpenApiPathItem
public override void Visit (Microsoft.OpenApi.Models.OpenApiPathItem item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiPathItem -> unit
Public Overrides Sub Visit (item As OpenApiPathItem)
Parameters
- item
- OpenApiPathItem
The object to be validated
Applies to
Visit(OpenApiExample)
Execute validation rules against a OpenApiExample
public override void Visit (Microsoft.OpenApi.Models.OpenApiExample item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiExample -> unit
Public Overrides Sub Visit (item As OpenApiExample)
Parameters
- item
- OpenApiExample
The object to be validated
Applies to
Visit(OpenApiHeader)
Execute validation rules against an OpenApiHeader
public override void Visit (Microsoft.OpenApi.Models.OpenApiHeader item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiHeader -> unit
Public Overrides Sub Visit (item As OpenApiHeader)
Parameters
- item
- OpenApiHeader
The object to be validated
Applies to
Visit(OpenApiInfo)
Execute validation rules against an OpenApiInfo
public override void Visit (Microsoft.OpenApi.Models.OpenApiInfo item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiInfo -> unit
Public Overrides Sub Visit (item As OpenApiInfo)
Parameters
- item
- OpenApiInfo
The object to be validated
Applies to
Visit(OpenApiLicense)
Execute validation rules against an OpenApiLicense
public override void Visit (Microsoft.OpenApi.Models.OpenApiLicense item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiLicense -> unit
Public Overrides Sub Visit (item As OpenApiLicense)
Parameters
- item
- OpenApiLicense
The object to be validated
Applies to
Visit(OpenApiLink)
Execute validation rules against a OpenApiLink
public override void Visit (Microsoft.OpenApi.Models.OpenApiLink item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiLink -> unit
Public Overrides Sub Visit (item As OpenApiLink)
Parameters
- item
- OpenApiLink
The object to be validated
Applies to
Visit(OpenApiMediaType)
Execute validation rules against an OpenApiMediaType
public override void Visit (Microsoft.OpenApi.Models.OpenApiMediaType item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiMediaType -> unit
Public Overrides Sub Visit (item As OpenApiMediaType)
Parameters
- item
- OpenApiMediaType
The object to be validated
Applies to
Visit(OpenApiOAuthFlow)
Execute validation rules against an OpenApiOAuthFlow
public override void Visit (Microsoft.OpenApi.Models.OpenApiOAuthFlow item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiOAuthFlow -> unit
Public Overrides Sub Visit (item As OpenApiOAuthFlow)
Parameters
- item
- OpenApiOAuthFlow
The object to be validated
Applies to
Visit(OpenApiOperation)
Execute validation rules against a OpenApiOperation
public override void Visit (Microsoft.OpenApi.Models.OpenApiOperation item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiOperation -> unit
Public Overrides Sub Visit (item As OpenApiOperation)
Parameters
- item
- OpenApiOperation
The object to be validated
Applies to
Visit(OpenApiExternalDocs)
Execute validation rules against an OpenApiExternalDocs
public override void Visit (Microsoft.OpenApi.Models.OpenApiExternalDocs item);
override this.Visit : Microsoft.OpenApi.Models.OpenApiExternalDocs -> unit
Public Overrides Sub Visit (item As OpenApiExternalDocs)
Parameters
- item
- OpenApiExternalDocs
The object to be validated