Skip to content

Commit 65a5859

Browse files
Dewey joseDewey jose
authored andcommitted
fix javadoc
1 parent 3c9ac29 commit 65a5859

File tree

4 files changed

+15
-33
lines changed

4 files changed

+15
-33
lines changed

graphqlcodegen-maven-plugin/src/main/java/io/github/deweyjose/graphqlcodegen/parameters/IntrospectionRequest.java

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,22 @@
44
import lombok.Getter;
55
import lombok.Setter;
66

7-
/**
8-
* Represents a request for introspection of a GraphQL schema.
9-
*/
7+
/** Represents a request for introspection of a GraphQL schema. */
108
@Getter
119
@Setter
1210
public class IntrospectionRequest {
13-
/**
14-
* The URL of the GraphQL endpoint to introspect.
15-
*/
11+
/** The URL of the GraphQL endpoint to introspect. */
1612
private String url;
1713

18-
/**
19-
* The query to use for the introspection.
20-
*/
14+
/** The query to use for the introspection. */
2115
private String query;
22-
/**
23-
* The operation name for the introspection query.
24-
*/
16+
17+
/** The operation name for the introspection query. */
2518
private String operationName;
2619

27-
/**
28-
* Additional HTTP headers to include in the introspection request.
29-
*/
20+
/** Additional HTTP headers to include in the introspection request. */
3021
private Map<String, String> headers;
3122

32-
/**
33-
* Constructs a new IntrospectionRequest.
34-
*/
35-
public IntrospectionRequest() {}
23+
/** Constructs a new IntrospectionRequest. */
24+
public IntrospectionRequest() {}
3625
}

graphqlcodegen-maven-plugin/src/main/java/io/github/deweyjose/graphqlcodegen/services/Constants.java

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
package io.github.deweyjose.graphqlcodegen.services;
22

3-
/**
4-
* Constants for the GraphQL code generator.
5-
*/
3+
/** Constants for the GraphQL code generator. */
64
public class Constants {
7-
/**
8-
* The default operation name for the introspection query.
9-
*/
5+
/** The default operation name for the introspection query. */
106
public static final String DEFAULT_OPERATION_NAME = "IntrospectionQuery";
117

12-
/**
13-
* The default query for the introspection query.
14-
*/
8+
/** The default query for the introspection query. */
159
public static final String DEFAULT_QUERY =
1610
"""
1711
query IntrospectionQuery {

graphqlcodegen-maven-plugin/src/main/java/io/github/deweyjose/graphqlcodegen/services/SchemaFileService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ public SchemaFileService(File outputDir, SchemaManifestService manifest) {
4141
}
4242

4343
/**
44-
* Constructs a new SchemaFileService with the given output directory, manifest, and remote schema service.
44+
* Constructs a new SchemaFileService with the given output directory, manifest, and remote schema
45+
* service.
4546
*
4647
* @param outputDir the output directory to save the schema files
4748
* @param manifest the manifest service to use

graphqlcodegen-maven-plugin/src/main/java/io/github/deweyjose/graphqlcodegen/services/SchemaManifestService.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public SchemaManifestService(File manifestDir, File projectPath) {
4949
* Generates an MD5 checksum for the given file.
5050
*
5151
* @param path the file to checksum
52-
* @return the checksum as a hex string
52+
* @return the checksum as a hex string
5353
*/
5454
@SneakyThrows
5555
public static String generateChecksum(File path) {
@@ -91,9 +91,7 @@ public Set<File> getChangedFiles() {
9191
return changed;
9292
}
9393

94-
/**
95-
* Syncs the manifest with the files.
96-
*/
94+
/** Syncs the manifest with the files. */
9795
@SneakyThrows
9896
public void syncManifest() {
9997
OrderedProperties manifest =

0 commit comments

Comments
 (0)