Skip to content

Commit 986a91e

Browse files
committed
documentation
1 parent 6f747c8 commit 986a91e

1 file changed

Lines changed: 40 additions & 2 deletions

File tree

README.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,42 @@
1-
# overlay-jvm
1+
# OVERLAY-JVM
22
JVM Library (e.g., for Java and Kotlin) to support [OpenAPI Overlay](https://github.com/OAI/Overlay-Specification) transformations.
33

4-
This project is inspired by [oas-overlay-java](https://github.com/IBM/oas-overlay-java).
4+
Currently supporting Overlay specs __1.1.0__, and schemas/overlays in either JSON or YAML.
5+
6+
7+
## Example Usage
8+
9+
```
10+
String openApi = ...
11+
String overlay = ...
12+
TransformationResult tr = Processor.applyOverlay(openApi, overlay);
13+
tr.transformedSchema; // the result of the transformation
14+
tr.warnings; // list of warning messages, if any
15+
```
16+
17+
## Use in Maven
18+
19+
```
20+
<dependency>
21+
<groupId>com.webfuzzing</groupId>
22+
<artifactId>overlay-jvm</artifactId>
23+
<version>LATEST</version>
24+
</dependency>
25+
```
26+
27+
See release info for latest version number (to replace `LATEST` placeholder).
28+
29+
## Dependencies
30+
31+
This library has 2 main dependencies:
32+
- [Jackson](https://github.com/FasterXML/jackson-core): to be able to parse JSON/YAML files.
33+
- [SnackJson](https://github.com/noear/snackjson): for handling RFC 9535 JsonPath, and for DOM manipulation.
34+
35+
36+
## Project Maintenance
37+
38+
This is a small, relatively simple library.
39+
Apart from bug-fixing and supporting new Overlay specs when they come out, we do not expect much activity here in this project.
40+
41+
The main driver beyond supporting and maintaining this open-source project is its use in the REST API fuzzer [EvoMaster](https://github.com/WebFuzzing/EvoMaster).
42+
As long as we support EvoMaster (which has been around since 2016), we will keep supporting this library.

0 commit comments

Comments
 (0)