Skip to content

Commit a7611b5

Browse files
committed
OpenAPI: doc and fix test
1 parent 6762ec6 commit a7611b5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/asciidoc/modules/openapi.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ class Pets {
180180
}
181181
----
182182

183+
The Maven plugin and Gradle task provide two filter properties `includes` and `excludes`. These
184+
properties filter routes by their path pattern. The filter is a regular expression.
185+
183186
=== Annotations
184187

185188
To produces a better documentation this plugin depends on some OpenAPI annotations. To use them, you

modules/jooby-openapi/src/test/java/io/jooby/openapi/OpenAPIGeneratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ public void noApp(RouteIterator iterator) {
13311331
.verify();
13321332
}
13331333

1334-
@OpenAPITest(value = KtAppWithMainKt.class, debug = DebugOption.ALL)
1334+
@OpenAPITest(value = KtAppWithMainKt.class)
13351335
public void ktAppWithMain(RouteIterator iterator) {
13361336
iterator
13371337
.next(route -> {

0 commit comments

Comments
 (0)