Repository navigation
SDK regeneration - #229
Closed
fern-api[bot] wants to merge 5 commits into
Closed
SDK regeneration#229fern-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
…48021c6dc22ceff4 [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 c5256b4. 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 fields
High Severity
The InputStream uploadItem overloads send only a file part and never attach document, create, request_id, or id. They also ignore the file argument. The batch API requires exactly one of document (with a file) or create, so stream uploads fail at the server instead of accepting a streamed document item.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit c5256b4. 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 surface area plus auth builder and FHIR2OMOP response semantics changes can break integrators who relied on old OAuth grantType configuration or prior OMOP field shapes.
Overview
Regenerates the Java SDK from the updated API spec (17.13.0 → 17.13.1), including Fern generator/cli bumps and refreshed docs, examples, and wire metadata.
New capabilities:
client.lang2FhirBatch()exposes batch job lifecycle (create, upload items, finalize, cancel, list/get status, fetch results). Implementation guide and profile clients gain versioned package/StructureDefinition endpoints (createVersion,getVersion, list/create/get/delete profile versions). Lang2FHIR adds optionalPrimaryPatienton multi/create flows (withpatientReferencedocumented as a deprecated alias), moreCreateRequestResourcevalues, and document ingestion for RTF/XML-C-CDA (plus stricter size/format rules in docs).FHIR→OMOP: Response models and javadoc expand materially—extra tables/roles (location, care_site, provider, observation_period, death),
diagnostics,provider_role_contexts, richermappings(e.g.omop_field,selected), and documented changes to source-value and type-concept semantics.Client/runtime tweaks:
PhenomlClient/AsyncPhenomlClientimplementAutoCloseableviaClientOptions.close()(OkHttp shutdown when the SDK owns the client). Credential auth no longer exposes a configurablegrantType(fixed toclient_credentials). CustominstanceUrlis applied only when environment is unset/default, preserving an explicitly chosen environment.Reviewed by Cursor Bugbot for commit c5256b4. Bugbot is set up for automated code reviews on this repo. Configure here.