Skip to content

Commit 489dff0

Browse files
committed
move annotations below javadocs
1 parent a179217 commit 489dff0

10 files changed

Lines changed: 11 additions & 17 deletions

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/CSharpClientCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@
4444
import static org.openapitools.codegen.utils.StringUtils.camelize;
4545
import static org.openapitools.codegen.utils.StringUtils.underscore;
4646

47-
@SuppressWarnings("Duplicates")
4847
/**
4948
* <p>Mustache templates are located in
5049
* {@code src/main/resources/csharp/} (root templates shared across all libraries) and
5150
* {@code src/main/resources/csharp/libraries/} (library-specific overrides).
5251
* A library-specific template shadows a root-level template of the same name.
5352
*/
53+
@SuppressWarnings("Duplicates")
5454
public class CSharpClientCodegen extends AbstractCSharpCodegen {
5555
protected String apiName = "Api";
5656

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautClientCodegen.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@
1616
* <a href="https://github.com/micronaut-projects/micronaut-openapi">micronaut-openapi</a> with the help of the plugin for
1717
* <a href="https://github.com/micronaut-projects/micronaut-gradle-plugin">Gradle</a> and
1818
* <a href="https://github.com/micronaut-projects/micronaut-maven-plugin">Maven</a>.
19+
* <p>Mustache templates are located in {@code src/main/resources/java-micronaut/}.
1920
*/
2021
@SuppressWarnings("removal")
2122
@Deprecated(forRemoval = true)
22-
/**
23-
* <p>Mustache templates are located in {@code src/main/resources/java-micronaut/}.
24-
*/
2523
public class JavaMicronautClientCodegen extends JavaMicronautAbstractCodegen {
2624

2725
public static final String OPT_CONFIGURE_AUTH = "configureAuth";

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaMicronautServerCodegen.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818
* <a href="https://github.com/micronaut-projects/micronaut-openapi">micronaut-openapi</a> with the help of the plugin for
1919
* <a href="https://github.com/micronaut-projects/micronaut-gradle-plugin">Gradle</a> and
2020
* <a href="https://github.com/micronaut-projects/micronaut-maven-plugin">Maven</a>.
21+
* <p>Mustache templates are located in {@code src/main/resources/java-micronaut/}.
2122
*/
2223
@SuppressWarnings("removal")
2324
@Deprecated(forRemoval = true)
24-
/**
25-
* <p>Mustache templates are located in {@code src/main/resources/java-micronaut/}.
26-
*/
2725
public class JavaMicronautServerCodegen extends JavaMicronautAbstractCodegen {
2826
public static final String OPT_CONTROLLER_PACKAGE = "controllerPackage";
2927
public static final String OPT_GENERATE_CONTROLLER_FROM_EXAMPLES = "generateControllerFromExamples";

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaPKMSTServerCodegen.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,9 @@
4040

4141
/**
4242
* Created by prokarma on 04/09/17.
43-
*/
44-
@Setter
45-
/**
4643
* <p>Mustache templates are located in {@code src/main/resources/java-pkmst/}.
4744
*/
45+
@Setter
4846
public class JavaPKMSTServerCodegen extends AbstractJavaCodegen {
4947

5048
public static final String CONFIG_PACKAGE = "configPackage";

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaResteasyEapServerCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
import java.util.List;
3434
import java.util.Map;
3535

36-
@Setter
3736
/**
3837
* <p>Mustache templates are located in {@code src/main/resources/JavaJaxRS/resteasy/eap/}.
3938
*/
39+
@Setter
4040
public class JavaResteasyEapServerCodegen extends AbstractJavaJAXRSServerCodegen
4141
implements JbossFeature, BeanValidationFeatures, SwaggerFeatures {
4242

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavascriptFlowtypedClientCodegen.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434

3535
import static org.openapitools.codegen.utils.StringUtils.dashize;
3636

37-
@Getter
38-
@Setter
3937
/**
4038
* <p>Mustache templates are located in {@code src/main/resources/Javascript-Flowtyped/}.
4139
*/
40+
@Getter
41+
@Setter
4242
public class JavascriptFlowtypedClientCodegen extends AbstractTypeScriptClientCodegen {
4343
public static final String NPM_REPOSITORY = "npmRepository";
4444

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KtormSchemaCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040

4141
// This code was almost entirely based on MySqlSchemaCodegen.
4242

43-
@SuppressWarnings("unchecked")
4443
/**
4544
* <p>Mustache templates are located in {@code src/main/resources/ktorm-schema/}.
4645
*/
46+
@SuppressWarnings("unchecked")
4747
public class KtormSchemaCodegen extends AbstractKotlinCodegen {
4848
private final Logger LOGGER = LoggerFactory.getLogger(KtormSchemaCodegen.class);
4949

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/MysqlSchemaCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333

3434
import static org.openapitools.codegen.utils.StringUtils.underscore;
3535

36-
@SuppressWarnings("unchecked")
3736
/**
3837
* <p>Mustache templates are located in {@code src/main/resources/mysql-schema/}.
3938
*/
39+
@SuppressWarnings("unchecked")
4040
public class MysqlSchemaCodegen extends DefaultCodegen implements CodegenConfig {
4141
private final Logger LOGGER = LoggerFactory.getLogger(MysqlSchemaCodegen.class);
4242

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PostgresqlSchemaCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535

3636
import static org.openapitools.codegen.utils.StringUtils.underscore;
3737

38-
@SuppressWarnings("unchecked")
3938
/**
4039
* <p>Mustache templates are located in {@code src/main/resources/postgresql-schema/}.
4140
*/
41+
@SuppressWarnings("unchecked")
4242
public class PostgresqlSchemaCodegen extends DefaultCodegen {
4343
private final Logger LOGGER = LoggerFactory.getLogger(PostgresqlSchemaCodegen.class);
4444

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/WsdlSchemaCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
import java.text.Normalizer;
3131
import java.util.*;
3232

33-
@Setter
3433
/**
3534
* <p>Mustache templates are located in {@code src/main/resources/wsdl-schema/}.
3635
*/
36+
@Setter
3737
public class WsdlSchemaCodegen extends DefaultCodegen implements CodegenConfig {
3838
public static final String PROJECT_NAME = "projectName";
3939

0 commit comments

Comments
 (0)