Skip to content

Commit 040da2f

Browse files
author
Michael Sonnleitner
committed
review#2
1 parent e80effd commit 040da2f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/modules/ROOT/pages/includes/use-gav-for-spec.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Add the dependency to your `pom.xml`:
3131
GAV scanning is activated by default. YAML, YML and JSON types are supported. The default artifact ID filter is `.\*openapi.*`,
3232
so the above dependency will be picked up automatically.
3333

34-
To configure the client generation process, add common options to your `application.properties` that reference to the GAV:
34+
To configure the client generation process, add common options to your `application.properties` that refer to the GAV:
3535

3636
e.g.
3737
[source,properties]
@@ -50,7 +50,7 @@ Add the dependency to your `pom.xml`:
5050
</dependency>
5151

5252
GAV scanning is activated by default. JAR and ZIP types are supported. The default artifact ID filter is `.\*openapi.*`. To add
53-
GAV scanning support for JAR and ZIP files, you also need to add each one explicitly in your `application.properties`:
53+
GAV scanning support for JAR and ZIP files, you also need to add each GAV explicitly in your `application.properties`:
5454
[source,properties]
5555
quarkus.openapi-generator.codegen.include-gavs=com.example:customer-openapi
5656

@@ -60,6 +60,11 @@ quarkus.openapi-generator.codegen.gav.com_example_customer_openapi.spec-files=cu
6060

6161
==== Note
6262
- You can also have multiple specification files inside the same archive
63+
* e-store.jar includes customer-openapi.yaml, billing-openapi.yaml
64+
* payment.jar includes payment-openapi.yaml
65+
* 3 MP-Rest Clients are created. MP-Rest Clients for customer-openapi.yaml + billing-openapi.yaml in e-store.jar
66+
*and* payment-openapi.yaml from payment.jar
67+
6368
- You can have splitted specifications across multiple files inside the same archive, you need to
6469
tell the extension the spec-files to use
6570

0 commit comments

Comments
 (0)