Compartilhar via


OperationSearch Class

Definition

Visits OpenApi operations and parameters.

public class OperationSearch : Microsoft.OpenApi.Services.OpenApiVisitorBase
type OperationSearch = class
    inherit OpenApiVisitorBase
Public Class OperationSearch
Inherits OpenApiVisitorBase
Inheritance
OperationSearch

Constructors

OperationSearch(Func<String,Nullable<OperationType>,OpenApiOperation,Boolean>)

The OperationSearch constructor.

Properties

CurrentKeys

Properties available to identify context of where an object is within OpenAPI Document

(Inherited from OpenApiVisitorBase)
PathString

Pointer to source of validation error in document

(Inherited from OpenApiVisitorBase)
SearchResults

A list of operations from the operation search.

Methods

Enter(String)

Allow Rule to indicate validation error occured at a deeper context level.

(Inherited from OpenApiVisitorBase)
Exit()

Exit from path context elevel. Enter and Exit calls should be matched.

(Inherited from OpenApiVisitorBase)
Visit(IDictionary<OperationType,OpenApiOperation>)

Visits the operations.

(Inherited from OpenApiVisitorBase)
Visit(IDictionary<String,OpenApiCallback>)

Visits callbacks.

(Inherited from OpenApiVisitorBase)
Visit(IDictionary<String,OpenApiEncoding>)

Visits a dictionary of encodings

(Inherited from OpenApiVisitorBase)
Visit(IDictionary<String,OpenApiExample>)

Visits the examples.

(Inherited from OpenApiVisitorBase)
Visit(IDictionary<String,OpenApiHeader>)

Visits headers.

(Inherited from OpenApiVisitorBase)
Visit(IDictionary<String,OpenApiLink>)

Visits the links.

(Inherited from OpenApiVisitorBase)
Visit(IDictionary<String,OpenApiMediaType>)

Visits media type content.

(Inherited from OpenApiVisitorBase)
Visit(IDictionary<String,OpenApiServerVariable>)

Visits a dictionary of server variables

(Inherited from OpenApiVisitorBase)
Visit(IList<OpenApiExample>)

Visits list of OpenApiExample

(Inherited from OpenApiVisitorBase)
Visit(IList<OpenApiParameter>)

Visits list of OpenApiParameter.

Visit(IList<OpenApiSecurityRequirement>)

Visits list of OpenApiSecurityRequirement

(Inherited from OpenApiVisitorBase)
Visit(IList<OpenApiServer>)

Visits list of OpenApiServer

(Inherited from OpenApiVisitorBase)
Visit(IList<OpenApiTag>)

Visits list of OpenApiTag

(Inherited from OpenApiVisitorBase)
Visit(IOpenApiExtensible)

Visits IOpenApiExtensible

(Inherited from OpenApiVisitorBase)
Visit(IOpenApiExtension)

Visits IOpenApiExtension

(Inherited from OpenApiVisitorBase)
Visit(IOpenApiReferenceable)

Visits IOpenApiReferenceable instances that are references and not in components

(Inherited from OpenApiVisitorBase)
Visit(OpenApiCallback)

Visits OpenApiCallback

(Inherited from OpenApiVisitorBase)
Visit(OpenApiComponents)

Visits OpenApiComponents

(Inherited from OpenApiVisitorBase)
Visit(OpenApiContact)

Visits OpenApiContact

(Inherited from OpenApiVisitorBase)
Visit(OpenApiDocument)

Visits OpenApiDocument

(Inherited from OpenApiVisitorBase)
Visit(OpenApiEncoding)

Visits OpenApiEncoding

(Inherited from OpenApiVisitorBase)
Visit(OpenApiExample)

Visits OpenApiExample

(Inherited from OpenApiVisitorBase)
Visit(OpenApiExternalDocs)

Visits OpenApiComponents

(Inherited from OpenApiVisitorBase)
Visit(OpenApiHeader)

Visits OpenApiHeader

(Inherited from OpenApiVisitorBase)
Visit(OpenApiInfo)

Visits OpenApiInfo

(Inherited from OpenApiVisitorBase)
Visit(OpenApiLicense)

Visits OpenApiLicense

(Inherited from OpenApiVisitorBase)
Visit(OpenApiLink)

Visits OpenApiLink

(Inherited from OpenApiVisitorBase)
Visit(OpenApiMediaType)

Visits OpenApiMediaType

(Inherited from OpenApiVisitorBase)
Visit(OpenApiOAuthFlow)

Visits OpenApiOAuthFlow

(Inherited from OpenApiVisitorBase)
Visit(OpenApiOperation)

Visits OpenApiOperation

(Inherited from OpenApiVisitorBase)
Visit(OpenApiParameter)

Visits OpenApiParameter

(Inherited from OpenApiVisitorBase)
Visit(OpenApiPathItem)

Visits OpenApiPathItem

Visit(OpenApiPaths)

Visits OpenApiPaths

(Inherited from OpenApiVisitorBase)
Visit(OpenApiRequestBody)

Visits OpenApiRequestBody

(Inherited from OpenApiVisitorBase)
Visit(OpenApiResponse)

Visits OpenApiResponse

(Inherited from OpenApiVisitorBase)
Visit(OpenApiResponses)

Visits OpenApiResponses

(Inherited from OpenApiVisitorBase)
Visit(OpenApiSchema)

Visits OpenApiSchema

(Inherited from OpenApiVisitorBase)
Visit(OpenApiSecurityRequirement)

Visits OpenApiSecurityRequirement

(Inherited from OpenApiVisitorBase)
Visit(OpenApiSecurityScheme)

Visits OpenApiSecurityScheme

(Inherited from OpenApiVisitorBase)
Visit(OpenApiServer)

Visits OpenApiServer

(Inherited from OpenApiVisitorBase)
Visit(OpenApiServerVariable)

Visits OpenApiServerVariable

(Inherited from OpenApiVisitorBase)
Visit(OpenApiTag)

Visits OpenApiTag

(Inherited from OpenApiVisitorBase)

Applies to