Skip to content

Commit 08fad75

Browse files
committed
Quick little bit of doc.
1 parent 05012ea commit 08fad75

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pojo-to-raml/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,11 @@ import java.util.UUID;
8383
```
8484

8585
In this example, the UUID class is parsed by the NullClassParser class and it's type is changed to the basic "string" type.
86+
87+
# Writing your own plugin
88+
89+
The simplest way to do this is to package a jar with a META-INF/pojotoraml-plugin.properties file listing your plugins, as in
90+
this [example](src/main/resources/META-INF/pojotoraml-plugin.properties). In there you have one interface you have to
91+
[implement](src/main/java/org/raml/pojotoraml/RamlAdjuster.java). There is a helper interface in there should you not want to
92+
override all methods.
93+

0 commit comments

Comments
 (0)