Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ public static List<CommentStatement> createClassHeaderComments(
classHeaderJavadocBuilder = classHeaderJavadocBuilder.addUnescapedComment(descriptionComment);
}

// Include google.api.api_version breadcrumb comment.
if (service.hasApiVersion()) {
classHeaderJavadocBuilder.addParagraph(
String.format("This client uses %s version %s.", service.name(), service.apiVersion()));
}

// Service introduction.
classHeaderJavadocBuilder.addParagraph(SERVICE_DESCRIPTION_INTRO_STRING);
classHeaderJavadocBuilder.addSampleCode(classMethodSampleCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* This class provides the ability to make remote calls to the backing service through method calls
* that map to API methods. Sample code to get started:
* This client uses Echo version foo_version_for_tests.
*
* <p>This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
* 'x-goog-request-params' metadata key on any method to have the values echoed in the response
* headers.
*
* <p>This client uses Echo version v1_20240408.
*
* <p>This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
*
Expand Down
Loading