Repository navigation
SDK regeneration - #230
Closed
fern-api[bot] wants to merge 6 commits into
Closed
SDK regeneration#230fern-api[bot] wants to merge 6 commits into
fern-api[bot] wants to merge 6 commits into
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.21.1
🌿 Generated with Fern
🌿 Generated with Fern
fern-api
Bot
force-pushed
the
fern-bot/2026-10-01_17-51-40_649
branch
from
October 1, 2026 17:52
1f580c0 to
333bf85
Compare
…8ecf2d0eb50bbc0f [skip ci]
…ac5c2980b7cda595 [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 1b0e3bb. Configure here.
| .addPathSegments("items"); | ||
| FileStream fs = new FileStream(stream, filename, null); | ||
| MultipartBody.Builder multipartBodyBuilder = new MultipartBody.Builder().setType(MultipartBody.FORM); | ||
| multipartBodyBuilder.addFormDataPart("file", filename, fs.toRequestBody()); |
There was a problem hiding this comment.
Stream upload omits required parts
Medium Severity
The InputStream uploadItem overloads send only the file multipart part and ignore both the unused file argument and any document/create/request_id fields. The API requires exactly one of document or create, so these helpers cannot produce a valid upload.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 1b0e3bb. Configure here.
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
Large generated API expansion plus removal of OAuth
grantTypecustomization may break callers; FHIR2OMOP and lang2fhir contract changes affect clinical integration behavior on the server side.Overview
Regenerates the Phenoml Java SDK from 17.13.0 to 17.13.1 (Fern CLI/generator bump) and wires new API surface into sync/async clients.
New capabilities: a
lang2FhirBatch()client for create/list/upload/finalize/cancel/get batch jobs and per-item results; profile version CRUD underprofiles().versions(); implementation guidecreateVersion/getVersion(withConflictErroron 409). Lang2fhir multi/document flows gain optionalPrimaryPatient;patientReferenceis documented as a deprecated alias forprimary_patient.identifierand must not be combined withprimary_patient. Create resource enums addfamilymemberhistory,medicationadministration,medicationstatement.FHIR→OMOP: request docs and generated javadoc expand supported resources (admin/linkage tables, derived
observation_period, etc.) and response shapes (e.g.omop_field,selected,provider_role_contexts,diagnostics) per the updated spec—not a local logic change in this repo.Client/runtime tweaks:
PhenomlClient/AsyncPhenomlClientimplementAutoCloseableand delegateclose()toClientOptions(shuts down owned OkHttp only). Credentials auth drops configurablegrantType; OAuth always usesclient_credentials.instanceUrlno longer overwrites a non-default customEnvironment. Headers skip null values; User-Agent/SDK name strings updated.Reviewed by Cursor Bugbot for commit 1b0e3bb. Bugbot is set up for automated code reviews on this repo. Configure here.