Skip to content
Open
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
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ java {

group = 'com.phenoml.maven'

version = '10.2.0'
version = '10.2.1'

jar {
dependsOn(":generatePomFileForMavenPublication")
Expand Down Expand Up @@ -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'
Expand Down
11 changes: 11 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
4 changes: 2 additions & 2 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1236,15 +1236,15 @@ client.authtoken().auth().generateToken(
<dl>
<dd>

**username:** `String` — The user's username or email
**username:** `String` — The API credential client ID

</dd>
</dl>

<dl>
<dd>

**password:** `String` — The user's password
**password:** `String` — The API credential client secret

</dd>
</dl>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/phenoml/api/core/ClientOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ private ClientOptions(
this.headers.putAll(headers);
this.headers.putAll(new HashMap<String, String>() {
{
put("User-Agent", "com.phenoml.maven:phenoml-java-sdk/10.2.0");
put("User-Agent", "com.phenoml.maven:phenoml-java-sdk/10.2.1");
put("X-Fern-Language", "JAVA");
put("X-Fern-SDK-Name", "com.phenoml.fern:api-sdk");
put("X-Fern-SDK-Version", "10.2.0");
put("X-Fern-SDK-Version", "10.2.1");
}
});
this.headerSuppliers = headerSuppliers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ private AuthGenerateTokenRequest(String username, String password, Map<String, O
}

/**
* @return The user's username or email
* @return The API credential client ID
*/
@JsonProperty("username")
public String getUsername() {
return username;
}

/**
* @return The user's password
* @return The API credential client secret
*/
@JsonProperty("password")
public String getPassword() {
Expand Down Expand Up @@ -78,7 +78,7 @@ public static UsernameStage builder() {

public interface UsernameStage {
/**
* <p>The user's username or email</p>
* <p>The API credential client ID</p>
*/
PasswordStage username(@NotNull String username);

Expand All @@ -87,7 +87,7 @@ public interface UsernameStage {

public interface PasswordStage {
/**
* <p>The user's password</p>
* <p>The API credential client secret</p>
*/
_FinalStage password(@NotNull String password);
}
Expand Down Expand Up @@ -115,8 +115,8 @@ public Builder from(AuthGenerateTokenRequest other) {
}

/**
* <p>The user's username or email</p>
* <p>The user's username or email</p>
* <p>The API credential client ID</p>
* <p>The API credential client ID</p>
* @return Reference to {@code this} so that method calls can be chained together.
*/
@java.lang.Override
Expand All @@ -127,8 +127,8 @@ public PasswordStage username(@NotNull String username) {
}

/**
* <p>The user's password</p>
* <p>The user's password</p>
* <p>The API credential client secret</p>
* <p>The API credential client secret</p>
* @return Reference to {@code this} so that method calls can be chained together.
*/
@java.lang.Override
Expand Down