From 2ff620011ad4499c3933932ea280eade8df0a3c4 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:10:35 +0000 Subject: [PATCH] docs: update AuthGenerateTokenRequest field documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clarify the purpose of username and password fields in AuthGenerateTokenRequest to better reflect their actual usage as API credential client ID and secret rather than user credentials. Key changes: - Update username field documentation to indicate it represents API credential client ID - Update password field documentation to indicate it represents API credential client secret - Clarify builder method documentation for both fields 🌿 Generated with Fern --- build.gradle | 4 ++-- changelog.md | 11 +++++++++++ reference.md | 4 ++-- .../java/com/phenoml/api/core/ClientOptions.java | 4 ++-- .../auth/requests/AuthGenerateTokenRequest.java | 16 ++++++++-------- 5 files changed, 25 insertions(+), 14 deletions(-) diff --git a/build.gradle b/build.gradle index b74d985..e02552e 100644 --- a/build.gradle +++ b/build.gradle @@ -47,7 +47,7 @@ java { group = 'com.phenoml.maven' -version = '10.2.0' +version = '10.2.1' jar { dependsOn(":generatePomFileForMavenPublication") @@ -78,7 +78,7 @@ publishing { maven(MavenPublication) { groupId = 'com.phenoml.maven' artifactId = 'phenoml-java-sdk' - version = '10.2.0' + version = '10.2.1' from components.java pom { name = 'phenoml' diff --git a/changelog.md b/changelog.md index 9a2aa62..41b1c02 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,14 @@ +## 10.2.1 - 2026-03-23 +* docs: update AuthGenerateTokenRequest field documentation +* Clarify the purpose of username and password fields in AuthGenerateTokenRequest +* to better reflect their actual usage as API credential client ID and secret +* rather than user credentials. +* Key changes: +* Update username field documentation to indicate it represents API credential client ID +* Update password field documentation to indicate it represents API credential client secret +* Clarify builder method documentation for both fields +* 🌿 Generated with Fern + ## 10.2.0 - 2026-03-17 * The SDK now supports MEDITECH as a new FHIR provider option. Use `Provider.MEDITECH` to configure MEDITECH provider integrations. diff --git a/reference.md b/reference.md index 944c1a1..77a8f53 100644 --- a/reference.md +++ b/reference.md @@ -1236,7 +1236,7 @@ client.authtoken().auth().generateToken(
The API credential client ID
*/ PasswordStage username(@NotNull String username); @@ -87,7 +87,7 @@ public interface UsernameStage { public interface PasswordStage { /** - *The user's password
+ *The API credential client secret
*/ _FinalStage password(@NotNull String password); } @@ -115,8 +115,8 @@ public Builder from(AuthGenerateTokenRequest other) { } /** - *The user's username or email
- *The user's username or email
+ *The API credential client ID
+ *The API credential client ID
* @return Reference to {@code this} so that method calls can be chained together. */ @java.lang.Override @@ -127,8 +127,8 @@ public PasswordStage username(@NotNull String username) { } /** - *The user's password
- *The user's password
+ *The API credential client secret
+ *The API credential client secret
* @return Reference to {@code this} so that method calls can be chained together. */ @java.lang.Override