SDK regeneration - #215
Closed
fern-api[bot] wants to merge 5 commits into
Closed
SDK regeneration#215fern-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
…f06fd54484fc8ef9 [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 71ad2c7. Configure here.
| } catch (IOException e) { | ||
| throw new PhenomlClientException("Network error executing HTTP request", e); | ||
| } | ||
| } |
There was a problem hiding this comment.
Stream upload omits required fields
High Severity
The stream-based uploadItem overloads only send the file part and never attach document, create, request_id, or id. The unused file argument is ignored. Because the API requires exactly one of document or create, these public methods cannot succeed and will fail with 400.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 71ad2c7. 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 surfaces (batch jobs, profile/IG versioning) and removes configurable OAuth grant type; FHIR2OMOP mapping semantics documented as broader, which may surprise integrators relying on prior behavior.
Overview
Regenerates the Java SDK to 17.13.1 (Fern CLI/generator bump) against a newer API spec.
The main surface-area additions are
client.lang2FhirBatch()for asynchronous batch Lang2FHIR jobs (create/list jobs, multipart item upload, finalize/cancel, paginated status and per-item results) and versioned FHIR metadata: implementation-guide package versions (createVersion/getVersion) plus a newprofiles().versions()client to list, create, get, and delete retained StructureDefinition versions. Profile and implementation-guide delete/update/list behavior is documented to match immutable versioning and stricter canonical URL rules.FHIR→OMOP clients and types pick up expanded coverage and semantics in Javadoc/request docs (additional reference/admin mappings, observation routing, non-stable row IDs).
mapping_statusis now typed asMappingEntryMappingStatusinstead of a plain string.Smaller client changes: OAuth client-credentials auth always sends
grant_type=client_credentialsand_CredentialsAuth.grantType()is removed;instanceUrlonly overrides the base URL when the environment is unset orDEFAULT; document Lang2FHIR docs add RTF/XML-C-CDA and size limits.Reviewed by Cursor Bugbot for commit 71ad2c7. Bugbot is set up for automated code reviews on this repo. Configure here.