Skip to content

馃悰 (415): Handle missing campsite response pages - #422

Merged
juftin merged 1 commit into
juftin:mainfrom
jufty-bot:fix/issue-415-empty-campsite-page
Oct 14, 2026
Merged

juftin merged 1 commit into
juftin:mainfrom
jufty-bot:fix/issue-415-empty-campsite-page

Conversation

@jufty-bot

Copy link
Copy Markdown
Collaborator

Summary

Allow Recreation.gov campsite responses to omit campsites by treating the missing field as an empty list.

Context

Fixes #415. Recreation.gov can return a response without the campsites key, which currently raises a Pydantic validation error before pagination can complete.

Test Plan

  • git diff --check passed.
  • Local lint was not run because task is not installed; PR CI will run the configured checks.

@juftin
juftin self-requested a review October 14, 2026 13:49
@juftin
juftin merged commit 62a694e into juftin:main Oct 14, 2026
8 checks passed
juftin pushed a commit that referenced this pull request Oct 14, 2026
# [v0.34.4](v0.34.3...v0.34.4) (2026-10-14)

## 馃悰 Bug Fixes
- [`62a694e`](62a694e)  (415): Handle missing campsite response pages (#422) (Issues: [`#422`](#422))

[skip ci]
@juftin

juftin commented Oct 14, 2026

Copy link
Copy Markdown
Owner

馃帀 This PR is included in version 0.34.4 馃帀

The release is available on GitHub release

Your semantic-release bot 馃摝馃殌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValidationError: 1 validation error for RecDotGovCampsiteResponse campsites field required (type=value_error.missing)

2 participants