Skip to content

Commit

Permalink
Added OpenAPI generator options generateApis and generateModels (#…
Browse files Browse the repository at this point in the history
…1953)

* Added OpenAPI generator options `generateApis` and `generateModels`

* Updated PR template
  • Loading branch information
CharlesDuboisSAP authored Jan 3, 2025
1 parent 37ebc4f commit 76df6e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
## What Has Changed?

Explain what you are changing and why, if it isn't obvious from the diff.

**If you are working on the Java v4 docs, remember to also apply the changes to v5**
2 changes: 2 additions & 0 deletions docs-java/features/rest/generate-rest-client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ The complete list of available parameters with their description is as follows:
| `<outputDirectory>` | - | Yes | Output directory for generated sources |
| `<apiPackage>` | - | Yes | Package name for the generated API classes |
| `<modelPackage>` | - | Yes | Package name for the generated Model classes |
| `<generateApis>` | `True` | No | Determines whether to generate API classes |
| `<generateModels>` | `True` | No | Determines whether to generate Model classes |
| `<deleteOutputDirectory>` | `False` | No | Determines whether to delete the output directory before running the generator |
| `<apiMaturity>` | `released` | No | Defines the maturity of the OpenAPI for which Java classes are generated. Possible values are `released` and `beta`. Please note if you define it as `beta` then [@Beta annotations](https://www.javadoc.io/doc/com.google.guava/guava/latest/com/google/common/annotations/Beta.html) are added to the generated classes which indicate that they are in an experimental state |
| `<compileScope>` | `NONE` | No | Adds the generated sources to the compilation or test phase. Respective values are `COMPILE` and `TEST_COMPILE` |
Expand Down

0 comments on commit 76df6e3

Please sign in to comment.