Class Operation

java.lang.Object
io.vertx.reactivex.openapi.contract.Operation
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class Operation extends Object implements io.vertx.lang.rx.RxDelegate
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.

  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<Operation> __TYPE_ARG
  • Constructor Details

    • Operation

      public Operation(Operation delegate)
    • Operation

      public Operation(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public Operation getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • 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.
    • newInstance

      public static Operation newInstance(Operation arg)