Class ApiOperation
java.lang.Object
com.atlassian.oai.validator.model.ApiOperation
A container representing a single API operation.
This includes the path, method and operation components from the OAI spec object. Used as a convenience to hold related information in one place.
-
Constructor Summary
ConstructorsConstructorDescriptionApiOperation(ApiPath apiPath, NormalisedPath requestPath, io.swagger.v3.oas.models.PathItem.HttpMethod method, io.swagger.v3.oas.models.Operation operation) -
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.PathItem.HttpMethodio.swagger.v3.oas.models.Operation
-
Constructor Details
-
ApiOperation
-
-
Method Details
-
getApiPath
- Returns:
- The path the operation is on
-
getRequestPath
- Returns:
- The normalised path from original request
-
getMethod
- Returns:
- The method the operation is on
-
getOperation
- Returns:
- The operation object from the OAI specification
-