Skip to content

Commit 454656a

Browse files
committed
removed generated docs
1 parent 0ae015c commit 454656a

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

scripts/generate-sdk/languages/java.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ generate_java_sdk() {
112112
--git-host ${GIT_HOST} \
113113
--git-user-id ${GIT_USER_ID} \
114114
--git-repo-id ${GIT_REPO_ID} \
115-
--global-property apis,models,modelTests=false,apiTests=false,supportingFiles \
115+
--global-property apis,models,modelTests=false,modelDocs=false,apiDocs=false,apiTests=false,supportingFiles \
116116
--additional-properties=artifactId="stackit-sdk-${service}",artifactDescription="${SERVICE_DESCRIPTION}",invokerPackage="cloud.stackit.sdk.${service}",modelPackage="cloud.stackit.sdk.${service}.model",apiPackage="cloud.stackit.sdk.${service}.api" >/dev/null \
117117
--http-user-agent stackit-sdk-java/"${service}" \
118118
--config openapi-generator-config-java.yml

templates/java/README.mustache

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -174,20 +174,6 @@ public class {{{classname}}}Example {
174174
{{/-first}}{{/operation}}{{/operations}}{{/-first}}{{/apis}}{{/apiInfo}}
175175
```
176176

177-
## Documentation for API Endpoints
178-
179-
All URIs are relative to *{{basePath}}*
180-
181-
Class | Method | HTTP request | Description
182-
------------ | ------------- | ------------- | -------------
183-
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{commonPath}}{{path}} | {{summary}}
184-
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}
185-
186-
## Documentation for Models
187-
188-
{{#models}}{{#model}} - [{{classname}}]({{modelDocPath}}{{classname}}.md)
189-
{{/model}}{{/models}}
190-
191177
## Recommendation
192178

193179
It's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues.

0 commit comments

Comments
 (0)