SDK regeneration - #216
Open
fern-api[bot] wants to merge 5 commits into
Open
SDK regeneration#216fern-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
…155cd5e182b881c6 [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 c079fa6. 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 fields
Medium Severity
The stream-based uploadItem overloads always send only a file part and never include document, create, request_id, or id. The batch API requires exactly one of document or create, so these public methods cannot succeed. The file parameter is also unused.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit c079fa6. 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
Adds large new API areas (batch Lang2FHIR, profile/IG versioning) and removes OAuth
grantTypecustomization, which may break credential-based integrations that relied on a non-default grant type.Overview
Regenerates the Java SDK to 17.13.1 (Fern generator 4.19.2) against an updated API spec.
New surface area:
client.lang2FhirBatch()exposes async batch Lang2FHIR jobs (create, multipart item upload, finalize/cancel, list/get status, paginated results). Implementation guides gain canonical package versions (createVersion,getVersion). Custom profiles gain aprofiles().versions()sub-client (list/create/get/delete retained StructureDefinition versions).API / model updates reflected in clients and docs: FHIR→OMOP mapping docs and request types expand supported resources (e.g. Location, Organization, Practitioner) and tighten Observation/
droppedsemantics;mapping_statusis now the typed enumMappingEntryMappingStatus. Lang2FHIR adds document types (RTF, XML/C-CDA), moreCreateRequestResourcevalues, and wording shifts from “US Core only” to a broader default profile set.Client behavior changes: OAuth credential builders no longer expose configurable
grantType(tokens always useclient_credentials).instanceUrlonly overrides the base URL when environment is unset orDEFAULT. SDK headers usecom.phenoml.maven:phenoml-java-sdk; null header values are skipped.Reviewed by Cursor Bugbot for commit c079fa6. Bugbot is set up for automated code reviews on this repo. Configure here.