Repository navigation
SDK regeneration - #235
Closed
fern-api[bot] wants to merge 5 commits into
Closed
SDK regeneration#235fern-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.21.1
🌿 Generated with Fern
🌿 Generated with Fern
…a1bf1619d1175b33 [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 aa3e491. Configure here.
| .addPathSegments("items"); | ||
| FileStream fs = new FileStream(stream, filename, mediaType); | ||
| MultipartBody.Builder multipartBodyBuilder = new MultipartBody.Builder().setType(MultipartBody.FORM); | ||
| multipartBodyBuilder.addFormDataPart("file", filename, fs.toRequestBody()); |
There was a problem hiding this comment.
Stream uploads omit required fields
High Severity
The stream-based uploadItem overloads only send the file multipart part and drop document, create, request_id, and id. The API requires exactly one of document or create, so these overloads cannot produce a valid upload. The unused file parameter is also ignored.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit aa3e491. 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 auto-generated surface area (new batch APIs, profile/IG versioning, expanded FHIR2OMOP types) plus breaking builder/auth changes (
grantTyperemoved,close()behavior) that consumers must adopt when upgrading.Overview
Regenerates the Java SDK to 17.13.1 (Fern CLI/generator bump) against a newer API spec, with version and publish metadata updated in
build.gradle, Fern lockfiles, and client headers.New and expanded API clients: adds
client.lang2FhirBatch()for asynchronous Lang2FHIR batch jobs (create/list, upload items, finalize/cancel, poll status, fetch results). Implementation guides gain canonical version publish/get endpoints; custom FHIR profiles gain aprofiles().versions()sub-client for retained StructureDefinition versions. Lang2FHIR requests add optionalprimaryPatient(withpatientReferencedocumented as a deprecated alias), more detectable resource types, and broader document upload types in docs/examples.FHIR→OMOP model growth:
CreateOmopResponseand related types now surfaceprovider_role_contexts,diagnostics, richermappings, and many new OMOP row/table types; supported FHIR resource coverage in request docs expands (e.g. Location, Organization, Practitioner/Role).Client/runtime tweaks:
PhenomlClient/AsyncPhenomlClientimplementAutoCloseableand delegate toClientOptions.close()(shuts down owned OkHttp only). Credential auth drops configurablegrantType(alwaysclient_credentials).instanceUrl+ custom environment handling is adjusted so non-default environments are not overwritten blindly.Docs/examples (
reference.md,code-examples.json,changelog.md) are refreshed to match the spec; construe crosswalk error mapping is simplified (502/503/501 → 500InternalServerErrorin generated clients).Reviewed by Cursor Bugbot for commit aa3e491. Bugbot is set up for automated code reviews on this repo. Configure here.