Package com.github.elibracha.compare
Class OperationDiff
- java.lang.Object
-
- com.github.elibracha.compare.OperationDiff
-
public class OperationDiff extends Object
Created by adarsh.sharma on 04/01/18.
-
-
Constructor Summary
Constructors Constructor Description OperationDiff(OpenApiDiff openApiDiff)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<com.github.elibracha.model.ChangedOperation>diff(io.swagger.v3.oas.models.Operation oldOperation, io.swagger.v3.oas.models.Operation newOperation, com.github.elibracha.model.DiffContext context)voidremovePathParameter(String name, List<io.swagger.v3.oas.models.parameters.Parameter> parameters)voidremovePathParameters(Map<String,String> pathParameters, com.github.elibracha.model.ChangedParameters params)
-
-
-
Constructor Detail
-
OperationDiff
public OperationDiff(OpenApiDiff openApiDiff)
-
-
Method Detail
-
diff
public Optional<com.github.elibracha.model.ChangedOperation> diff(io.swagger.v3.oas.models.Operation oldOperation, io.swagger.v3.oas.models.Operation newOperation, com.github.elibracha.model.DiffContext context)
-
removePathParameters
public void removePathParameters(Map<String,String> pathParameters, com.github.elibracha.model.ChangedParameters params)
-
-