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
This folder contains only our customized Java templates. Beside these customized templates,
4
+
the original templates of openapi-generator for Java are used. These can be found in the
5
+
official GitHub repo of the [openapi-generator](https://github.com/OpenAPITools/openapi-generator/tree/v7.14.0/modules/openapi-generator/src/main/resources/Java).
6
+
7
+
If you need to change something in the Java Generator, try always first to add
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
11
+
{{/infoUrl}}
12
+
13
+
This package is part of the STACKIT Java SDK. For additional information, please visit the [GitHub repository](https://{{gitHost}}/{{{gitUserId}}}/{{{gitRepoId}}}) of the SDK.
14
+
15
+
16
+
## Requirements
17
+
18
+
Building the API client library requires:
19
+
20
+
1. Java 1.8+
21
+
{{#jersey2}}
22
+
2. Maven (3.8.3+)/Gradle (7.2+)
23
+
{{/jersey2}}
24
+
{{^jersey2}}
25
+
2. Maven/Gradle
26
+
{{/jersey2}}
27
+
28
+
## Installation
29
+
30
+
To install the API client library to your local Maven repository, simply execute:
31
+
32
+
```shell
33
+
mvn clean install
34
+
```
35
+
36
+
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
37
+
38
+
```shell
39
+
mvn clean deploy
40
+
```
41
+
42
+
Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information.
43
+
44
+
### Maven users
45
+
46
+
Add this dependency to your project's POM:
47
+
48
+
```xml
49
+
<dependency>
50
+
<groupId>{{{groupId}}}</groupId>
51
+
<artifactId>{{{artifactId}}}</artifactId>
52
+
<version>{{{artifactVersion}}}</version>
53
+
<scope>compile</scope>
54
+
</dependency>
55
+
```
56
+
57
+
### Gradle users
58
+
59
+
Add this dependency to your project's build file:
60
+
61
+
```groovy
62
+
repositories {
63
+
mavenCentral() // Needed if the '{{{artifactId}}}' jar has been published to maven central.
64
+
mavenLocal() // Needed if the '{{{artifactId}}}' jar has been published to the local maven repo.
{{#returnType}}{{{.}}} result = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}}
170
+
System.out.println(result);{{/returnType}}
171
+
} catch (ApiException e) {
172
+
System.err.println("Exception when calling {{{classname}}}#{{{operationId}}}");
0 commit comments