Repository navigation
SDK regeneration - #237
SDK regeneration#237fern-api[bot] wants to merge 5 commits into
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.21.1
🌿 Generated with Fern
🌿 Generated with Fern
…2a03a87058b280fa [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 8958c08. Configure here.
| } catch (IOException e) { | ||
| throw new PhenomlClientException("Network error executing HTTP request", e); | ||
| } | ||
| } |
There was a problem hiding this comment.
Stream uploads omit required multipart fields
High Severity
The stream-based uploadItem overloads send only a file part and ignore document, create, request_id, and id. They also take an unused file argument. Document items require a document JSON part, create items must not send a file, and retries need request_id, so these overloads cannot satisfy the API contract and will be rejected.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 8958c08. Configure here.


17.13.0 → 17.13.1
🌿 Generated with Fern
Note
Medium Risk
Large generated diff with new endpoints and FHIR2OMOP response shape changes; credential builders no longer expose grantType, which may break callers that customized OAuth grant types.
Overview
Regenerates the Java SDK to 17.13.1 (Fern CLI/generator bump) and wires new API surface from the updated OpenAPI spec.
New capabilities:
client.lang2FhirBatch()for async batch Lang2FHIR jobs (create, upload items, finalize/cancel, paginated status/results). Implementation guide version publish/get and custom profile version CRUD underprofiles().versions(). Lang2FHIR multi/document flows gain optionalprimaryPatient;patientReferenceis a deprecated alias and must not be combined with it. Document extraction types/docs now include RTF and XML/C-CDA (instance-specific).FHIR→OMOP:
CreateOmopRequestadds optionalvocabVersion; request/response models and reference docs expand for broader resource coverage, richertables/mappings/diagnostics, and stricter eligibility semantics.Client/runtime:
PhenomlClient/AsyncPhenomlClientandClientOptionsimplementclose()for owned OkHttp resources. Credential auth drops configurablegrantType(alwaysclient_credentials). CustominstanceUrlonly replaces the default URL template when environment is unset orDEFAULT.Minor/breaking-adjacent: Crosswalk error handling maps some former gateway/not-implemented statuses to
InternalServerError. SDK identity headers (User-Agent,X-Fern-SDK-Name) updated to the Maven artifact coordinates.Reviewed by Cursor Bugbot for commit 8958c08. Bugbot is set up for automated code reviews on this repo. Configure here.