JVM Library (e.g., for Java and Kotlin) to support OpenAPI Overlay transformations.
Currently supporting Overlay specs 1.1.0, and schemas/overlays in either JSON or YAML.
Working for JDK 8 and above.
String openApi = ...
String overlay = ...
TransformationResult tr = Processor.applyOverlay(openApi, overlay);
tr.transformedSchema; // the result of the transformation
tr.warnings; // list of warning messages, if any
<dependency>
<groupId>com.webfuzzing</groupId>
<artifactId>overlay-jvm</artifactId>
<version>0.1.1</version>
</dependency>
This library has 2 main dependencies:
- Jackson: to be able to parse JSON/YAML files.
- SnackJson: for handling RFC 9535 JsonPath, and for DOM manipulation.
This is a small, relatively simple library. Apart from bug-fixing and supporting new Overlay specs when they come out, we do not expect much activity here in this project.
The main driver beyond supporting and maintaining this open-source project is its use in the REST API fuzzer EvoMaster. As long as we support EvoMaster (which has been around since 2016), we will keep supporting this library.