Class Operation

java.lang.Object
io.vertx.mutiny.openapi.contract.Operation
All Implemented Interfaces:
MutinyDelegate

public class Operation extends Object implements MutinyDelegate
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 Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • Operation

      public Operation(io.vertx.openapi.contract.Operation delegate)
    • Operation

      public Operation(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.openapi.contract.Operation getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • 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
    • getOperationId

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

      public io.vertx.core.http.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)
      Parameters:
      responseCode - The related response code
      Returns:
      The related response, or null.
    • getSecurityRequirements

      public List<SecurityRequirement> getSecurityRequirements()
      Returns:
      The related security requirement.
    • newInstance

      public static Operation newInstance(io.vertx.openapi.contract.Operation arg)