Class Operation

java.lang.Object
com.github.chhorz.openapi.common.domain.Operation

public class Operation extends Object
https://spec.openapis.org/oas/v3.1.0#operation-object
Author:
chhorz
  • Constructor Details

    • Operation

      public Operation()
  • Method Details

    • getTags

      public List<String> getTags()
    • addTag

      public void addTag(String tag)
    • getSummary

      public String getSummary()
    • setSummary

      public void setSummary(String summary)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getOperationId

      public String getOperationId()
    • setOperationId

      public void setOperationId(String operationId)
    • getParameterObjects

      public List<Parameter> getParameterObjects()
    • addParameterObject

      public void addParameterObject(Parameter parameterObject)
    • addParameterObjects

      public void addParameterObjects(List<Parameter> parameterObjects)
    • getRequestBodyObject

      public RequestBody getRequestBodyObject()
    • setRequestBodyObject

      public void setRequestBodyObject(RequestBody requestBodyObject)
    • getResponses

      public Map<String,Response> getResponses()
    • setResponses

      public void setResponses(Map<String,Response> responses)
    • putResponse

      public void putResponse(String status, Response response)
    • putDefaultResponse

      public void putDefaultResponse(Response response)
    • getDeprecated

      public Boolean getDeprecated()
    • setDeprecated

      public void setDeprecated(Boolean deprecated)
    • getSecurity

      public List<Map<String,List<String>>> getSecurity()
    • setSecurity

      public void setSecurity(List<Map<String,List<String>>> security)