Skip to content

fix: correct query parameter serialization for request objects - #25

Closed
fern-api[bot] wants to merge 1 commit into
mainfrom
fern-bot/2026-05-19T08-42-54Z
Closed

fern-api[bot] wants to merge 1 commit into
mainfrom
fern-bot/2026-05-19T08-42-54Z

Conversation

@fern-api

@fern-api fern-api Bot commented May 19, 2026

Copy link
Copy Markdown
Contributor

1.5.0 → 1.6.0

Changed

  • Request query parameter serialization — optional fields on all list/filter request types (ListDatasetsRequest, ListEntitiesRequest, ListEntitiesInDatasetRequest, GetJobResultsRequest, GetUserJobsRequest, ListMonitorJobsRequest, ListMonitorsRequest) were previously annotated with @JsonIgnore and silently dropped during serialization; they are now correctly annotated with @JsonProperty and transmitted as query parameters. Pagination (page, page_size), filtering (search, status, ownership, etc.), and sorting (sort_by, sort_order) fields now work as expected.

See full changelog

Replace `@JsonIgnore` with `@JsonProperty` on all getter methods across
request classes so that optional query parameters are correctly
serialized and sent to the server. Previously, fields annotated with
`@JsonIgnore` were silently dropped during serialization, meaning
pagination, filtering, and sorting parameters were never transmitted
in API requests.

Key changes:
- `ListDatasetsRequest`: fix serialization of `page`, `page_size`, `search`, `latest_status`, `sort_by`, `sort_order`, `ownership`
- `ListEntitiesInDatasetRequest` / `ListEntitiesRequest`: fix serialization of `page`, `page_size`, `search`, `status`, `entity_type`, `sort_by`, `sort_order`
- `GetJobResultsRequest` / `GetUserJobsRequest`: fix serialization of `page`, `page_size`, `search`, `ownership`
- `ListMonitorJobsRequest` / `ListMonitorsRequest`: fix serialization of `sort`, `page`, `page_size`, `search`, `ownership`

🌿 Generated with Fern
@oscatcher

Copy link
Copy Markdown
Contributor

closed as changes included in #26

@oscatcher oscatcher closed this May 19, 2026
@oscatcher
oscatcher deleted the fern-bot/2026-05-19T08-42-54Z branch May 19, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant