public interface OASFilter
Modifier and Type | Method and Description |
---|---|
default APIResponse |
filterAPIResponse(APIResponse apiResponse)
Allows filtering of a particular APIResponse.
|
default Callback |
filterCallback(Callback callback)
Allows filtering of a particular Callback.
|
default Header |
filterHeader(Header header)
Allows filtering of a particular Header.
|
default Link |
filterLink(Link link)
Allows filtering of a particular Link.
|
default void |
filterOpenAPI(OpenAPI openAPI)
Allows filtering of the singleton OpenAPI element.
|
default Operation |
filterOperation(Operation operation)
Allows filtering of a particular Operation.
|
default Parameter |
filterParameter(Parameter parameter)
Allows filtering of a particular Parameter.
|
default PathItem |
filterPathItem(PathItem pathItem)
Allows filtering of a particular PathItem.
|
default RequestBody |
filterRequestBody(RequestBody requestBody)
Allows filtering of a particular RequestBody.
|
default Schema |
filterSchema(Schema schema)
Allows filtering of a particular Schema.
|
default SecurityScheme |
filterSecurityScheme(SecurityScheme securityScheme)
Allows filtering of a particular SecurityScheme.
|
default Server |
filterServer(Server server)
Allows filtering of a particular Server.
|
default Tag |
filterTag(Tag tag)
Allows filtering of a particular Tag.
|
default PathItem filterPathItem(PathItem pathItem)
pathItem
- the current PathItem elementdefault Operation filterOperation(Operation operation)
operation
- the current Operation elementdefault Parameter filterParameter(Parameter parameter)
parameter
- the current Parameter elementdefault Header filterHeader(Header header)
header
- the current Header elementdefault RequestBody filterRequestBody(RequestBody requestBody)
requestBody
- the current RequestBody elementdefault APIResponse filterAPIResponse(APIResponse apiResponse)
apiResponse
- the current APIResponse elementdefault Schema filterSchema(Schema schema)
schema
- the current Schema elementdefault SecurityScheme filterSecurityScheme(SecurityScheme securityScheme)
securityScheme
- the current SecurityScheme elementdefault Server filterServer(Server server)
server
- the current Server elementdefault Tag filterTag(Tag tag)
tag
- the current Tag elementdefault Link filterLink(Link link)
link
- the current Link elementdefault Callback filterCallback(Callback callback)
callback
- the current Callback elementdefault void filterOpenAPI(OpenAPI openAPI)
openAPI
- the current OpenAPI element