You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/includes/server-getting-started.adoc
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,17 +32,24 @@ WARNING: You probably already have this configuration if you created your applic
32
32
</plugin>
33
33
----
34
34
35
-
Now, create the directory `openapi` under your `src/main/resources` path and add the OpenAPI spec files there. We support JSON, YAML and YML extensions.
35
+
Now, create the directory `openapi` under your `src/main/resources` path and add the OpenAPI spec files there. We support JSON, YAML and YML extensions. You have to define the specification used for code generation with the following property:
36
36
37
-
If a base package name is not provided, it will be used the default `io.apicurio.api`.
You can customize the specification used for code generation with the following property:
42
+
43
+
If you want to change the directory where OpenAPI files must be found, use the property `quarkus.openapi.input-base-dir`.
44
+
IMPORTANT: it is relative to the project base directory. For example, if you have a project called `MyJavaProject` and decide to place them in `MyJavaProject/openapi-definitions`, use the following property:
0 commit comments