Class Operation


  • public class Operation
    extends Object
    This interface represents the most important attributes of an OpenAPI Operation.
    Operation V3.1
    Operation V3.0

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • Operation

        public Operation​(Operation delegate)
      • Operation

        public Operation​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public Operation getDelegate()
      • getOperationId

        public String getOperationId()
        Returns:
        operationId of this operation
      • getHttpMethod

        public HttpMethod getHttpMethod()
        Returns:
        http method of this operation
      • getOpenAPIPath

        public String getOpenAPIPath()
        Returns:
        path in OpenAPI style
      • getAbsoluteOpenAPIPath

        public String getAbsoluteOpenAPIPath()
        Returns:
        absolute path in OpenAPI style
      • getTags

        public List<String> getTags()
        Returns:
        tags of this operation
      • getParameters

        public List<Parameter> getParameters()
        Returns:
        parameters of this operation
      • getRequestBody

        public RequestBody getRequestBody()
        Returns:
        request body of the operation, or null if no request body is defined
      • getDefaultResponse

        public Response getDefaultResponse()
        Returns:
        the default response, or null if no default response is defined.
      • getResponse

        public Response getResponse​(int responseCode)
        Returns the response to the passed response code or null.
        Parameters:
        responseCode - The related response code
        Returns:
        The related response, or null.
      • getSecurityRequirements

        public List<SecurityRequirement> getSecurityRequirements()
        Returns the applicable list of security requirements (scopes) or empty list.
        Returns:
        The related security requirement.