Skip to content

Commit 941370d

Browse files
correction_document_and_imports
1 parent 234d6ca commit 941370d

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

client/deployment/src/main/java/io/quarkiverse/openapi/generator/deployment/codegen/OpenApiGeneratorCodeGenBase.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@
55
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.getGlobalConfigName;
66
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.getSanitizedFileName;
77
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.getSpecConfigName;
8-
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.*;
9-
8+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.BASE_PACKAGE;
9+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.DEFAULT_SECURITY_SCHEME;
10+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.EXCLUDE;
11+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.INCLUDE;
12+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.INPUT_BASE_DIR;
13+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.MODEL_NAME_PREFIX;
14+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.MODEL_NAME_SUFFIX;
15+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.TEMPLATE_BASE_DIR;
16+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.VALIDATE_SPEC;
17+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.API_NAME_SUFFIX;
18+
import static io.quarkiverse.openapi.generator.deployment.CodegenConfig.ConfigName.REMOVE_OPERATION_ID_PREFIX;
1019
import java.io.IOException;
1120
import java.nio.file.Files;
1221
import java.nio.file.Path;

docs/modules/ROOT/pages/includes/getting-started.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ quarkus.openapi-generator.codegen.spec.petstore_json.model-name-suffix=CustomMod
8888
quarkus.openapi-generator.codegen.spec.petstore_json.model-name-prefix=CustomModelPrefix
8989
----
9090

91-
You can customize the name of generated method. To do that, you must define the following properties:
91+
You can remove operationId prefix (e.g. User_findAll=> findAll). To do that, you must define the following properties:
9292

9393
[source,properties]
9494
----

0 commit comments

Comments
 (0)