public class OperationService extends Object
Constructor and Description |
---|
OperationService(GenericParameterService parameterBuilder,
RequestBodyService requestBodyService,
SecurityService securityParser,
PropertyResolverUtils propertyResolverUtils)
Instantiates a new Operation builder.
|
Modifier and Type | Method and Description |
---|---|
Optional<Map<String,io.swagger.v3.oas.models.callbacks.Callback>> |
buildCallbacks(Set<io.swagger.v3.oas.annotations.callbacks.Callback> apiCallbacks,
io.swagger.v3.oas.models.OpenAPI openAPI,
MethodAttributes methodAttributes)
Build callbacks optional.
|
JavadocProvider |
getJavadocProvider()
Gets javadoc provider.
|
String |
getOperationId(String operationId,
io.swagger.v3.oas.models.OpenAPI openAPI)
Gets operation id.
|
String |
getOperationId(String operationId,
String oldOperationId,
io.swagger.v3.oas.models.OpenAPI openAPI)
Gets operation id.
|
boolean |
isHidden(Method method)
Is hidden boolean.
|
io.swagger.v3.oas.models.Operation |
mergeOperation(io.swagger.v3.oas.models.Operation operation,
io.swagger.v3.oas.models.Operation operationModel)
Merge operation operation.
|
io.swagger.v3.oas.models.OpenAPI |
parse(io.swagger.v3.oas.annotations.Operation apiOperation,
io.swagger.v3.oas.models.Operation operation,
io.swagger.v3.oas.models.OpenAPI openAPI,
MethodAttributes methodAttributes)
Parse open api.
|
public OperationService(GenericParameterService parameterBuilder, RequestBodyService requestBodyService, SecurityService securityParser, PropertyResolverUtils propertyResolverUtils)
parameterBuilder
- the parameter builderrequestBodyService
- the request body buildersecurityParser
- the security parserpropertyResolverUtils
- the property resolver utilspublic io.swagger.v3.oas.models.OpenAPI parse(io.swagger.v3.oas.annotations.Operation apiOperation, io.swagger.v3.oas.models.Operation operation, io.swagger.v3.oas.models.OpenAPI openAPI, MethodAttributes methodAttributes)
apiOperation
- the api operationoperation
- the operationopenAPI
- the open apimethodAttributes
- the method attributespublic boolean isHidden(Method method)
method
- the methodpublic Optional<Map<String,io.swagger.v3.oas.models.callbacks.Callback>> buildCallbacks(Set<io.swagger.v3.oas.annotations.callbacks.Callback> apiCallbacks, io.swagger.v3.oas.models.OpenAPI openAPI, MethodAttributes methodAttributes)
apiCallbacks
- the api callbacksopenAPI
- the open apimethodAttributes
- the method attributespublic String getOperationId(String operationId, io.swagger.v3.oas.models.OpenAPI openAPI)
operationId
- the operation idopenAPI
- the open apipublic String getOperationId(String operationId, String oldOperationId, io.swagger.v3.oas.models.OpenAPI openAPI)
operationId
- the operation idoldOperationId
- the old operation idopenAPI
- the open apipublic io.swagger.v3.oas.models.Operation mergeOperation(io.swagger.v3.oas.models.Operation operation, io.swagger.v3.oas.models.Operation operationModel)
operation
- the operationoperationModel
- the operation modelpublic JavadocProvider getJavadocProvider()
Copyright © 2024. All rights reserved.