Skip to content

Commit f14d2e7

Browse files
committed
mention multiple "processor" lines
1 parent 169f2b5 commit f14d2e7

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

docs/modules/ROOT/pages/index.adoc

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,20 @@ or like this to use an un-published processor:
116116
spring {
117117
processor files('... path to processor jar')
118118
}
119-
119+
+
120+
[.badge .badge-since]+since 2021.2+
121+
+
122+
It is possible to use multiple `processor` entries to update dependencies of the openapi-processor.
123+
+
124+
For example, the java generating processors depend on `openapi-processor-core`. The `core` library provides most of the logic of a processor and it is usually enough to update the `core` library to get bugfixes or new features.
125+
+
126+
[source,groovy]
127+
----
128+
spring {
129+
processor 'io.openapiprocessor:openapi-processor-core:2021.3-SNAPSHOT'
130+
processor 'io.openapiprocessor:openapi-processor-spring:2021.1'
131+
}
132+
----
120133

121134
* `apiPath` (optional): the path to the open api yaml file. If set inside a processor configuration it overrides the parent `apiPath`.
122135

0 commit comments

Comments
 (0)