SDK regeneration - #217
Open
fern-api[bot] wants to merge 5 commits into
Open
SDK regeneration#217fern-api[bot] wants to merge 5 commits into
fern-api[bot] wants to merge 5 commits into
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.19.2
🌿 Generated with Fern
🌿 Generated with Fern
…35c581e90cc6f79f [skip ci]
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c2ae009. Configure here.
| } catch (IOException e) { | ||
| throw new PhenomlClientException("Network error executing HTTP request", e); | ||
| } | ||
| } |
There was a problem hiding this comment.
Stream upload drops required fields
High Severity
The stream overloads of uploadItem never send the required document or create multipart parts (or request_id/id). They also ignore the file argument and only attach the stream. The API requires exactly one of document or create, so these overloads cannot complete a valid upload.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit c2ae009. Configure here.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


17.13.0 → 17.13.1
🌿 Generated with Fern
Note
Medium Risk
Mostly additive generated API surface, but credential-auth
grantTyperemoval and Lang2FHIR patient-field changes can break existing integrators without code updates.Overview
Regenerates the Phenoml Java SDK from an updated API spec (17.13.0 → 17.13.1), bumping Fern tooling and publishing metadata while wiring new and revised endpoints into
PhenomlClient/AsyncPhenomlClient.New capabilities:
client.lang2FhirBatch()exposes the full async batch Lang2FHIR workflow (create/list jobs, multipart item upload, finalize/cancel, paginated status and per-item results). Profiles gainsclient.profiles().versions()for listing, creating, fetching, and deleting retained StructureDefinition versions. Implementation guides addscreateVersion/getVersion, with updated delete semantics documented inreference.md.Lang2FHIR request model: Multi and document-multi requests now support optional
primaryPatient(identifier, name, birthDate, gender);patientReferenceremains as a deprecated alias and must not be combined withprimaryPatient. Docs and examples reflect additionalresourceenum values, RTF/XML/C-CDA document inputs (with size limits), and “default profiles” wording instead of US-Core-only detection.FHIR→OMOP: Javadoc and types align with broader mapping behavior (more resource types, observation routing, non-stable row IDs);
mapping_statusis now the typed enumMappingEntryMappingStatusinstead of a plain string.Client integration notes: OAuth client-credentials auth no longer exposes
grantTypeon the builder—the token supplier always sendsclient_credentials.instanceUrlonly rewrites the base URL when environment is unset orDEFAULT. Minor core tweaks include skipping null static headers, updated SDK User-Agent metadata, and console log handler level.Reviewed by Cursor Bugbot for commit c2ae009. Bugbot is set up for automated code reviews on this repo. Configure here.