Class Operation
java.lang.Object
com.github.chhorz.openapi.common.domain.Operation
https://spec.openapis.org/oas/v3.1.0#operation-object
- Author:
- chhorz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameterObject
(Parameter parameterObject) void
addParameterObjects
(List<Parameter> parameterObjects) void
getTags()
void
putDefaultResponse
(Response response) void
putResponse
(String status, Response response) void
setDeprecated
(Boolean deprecated) void
setDescription
(String description) void
setOperationId
(String operationId) void
setRequestBodyObject
(RequestBody requestBodyObject) void
setResponses
(Map<String, Response> responses) void
void
setSummary
(String summary)
-
Constructor Details
-
Operation
public Operation()
-
-
Method Details
-
getTags
-
addTag
-
getSummary
-
setSummary
-
getDescription
-
setDescription
-
getOperationId
-
setOperationId
-
getParameterObjects
-
addParameterObject
-
addParameterObjects
-
getRequestBodyObject
-
setRequestBodyObject
-
getResponses
-
setResponses
-
putResponse
-
putDefaultResponse
-
getDeprecated
-
setDeprecated
-
getSecurity
-
setSecurity
-