Skip to content

Regenerate v2 client library for API changes since 2026-08-04 - #202

Merged
amarcozzi merged 2 commits into
mainfrom
195-update-v2-client-library
Aug 26, 2026
Merged

Regenerate v2 client library for API changes since 2026-08-04#202
amarcozzi merged 2 commits into
mainfrom
195-update-v2-client-library

Conversation

@amarcozzi

Copy link
Copy Markdown
Contributor

Regenerates the generated v2 client (fastfuels_sdk/v2/client_library/) via generate_client.sh to pick up FastFuels-API-v2 contract changes merged since the last regen (3a85dda, 2026-08-04).

Generator / schema health

  • openapi-python-client 0.29.0 runs clean — zero warnings (verified with a full-output capture). No OpenAPI schema changes needed: the API-side title fixes (be8b854, 4c2f38c, 460c0d6) gave every schema a stable name, so generated model names are clean.

What's in the regen

  • 6 new endpoint wrappers: create_inventory_canopy_grid, create_fosberg_fuel_moisture_grid, create_leaflux_irradiance_grid, get_point_cloud_data_{metadata,json,binary}.
  • 44 new models (canopy CBD/CBH/CC methods, biomass equations, CHM aggregation, Fosberg, Leaflux, …). Model count 263 → 306.
  • Modified endpoints: seasonal FBFM40 (version enum + 2024/2025), configurable CHM aggregation + spike filter, fia_crown_class_code inventory column.

Breaking change handled here

  • 3DEP coverage response dropped point_budget / exceeds_point_budget. Updated tests/v2/test_point_clouds.py (removed the two stale assertions) and fastfuels_sdk/v2/v2_api_design.md.

Scope

Regenerated client + green tests only. Wrapping the new endpoints in the hand-written SDK surface is tracked separately: #196 (canopy from inventory), #197 (Fosberg fuel moisture), #198 (Leaflux irradiance), #199 (point-cloud data-out), #200 (seasonal FBFM40), #201 (CHM aggregation).

Closes #195

Regenerate fastfuels_sdk/v2/client_library/ via generate_client.sh
(openapi-python-client 0.29.0, clean run with no generator warnings).

Adds 6 endpoint wrappers (inventory canopy, Fosberg fuel moisture,
Leaflux irradiance, point-cloud data metadata/json/binary) and 44 models;
model count 263 -> 306. Also brings in seasonal FBFM40 versions,
configurable CHM aggregation + spike filter, and the fia_crown_class_code
inventory column.

The 3DEP coverage response dropped point_budget/exceeds_point_budget;
update the live test and the v2 API design note accordingly.

Closes #195
@amarcozzi
amarcozzi merged commit 164b05f into main Aug 26, 2026
@amarcozzi
amarcozzi deleted the 195-update-v2-client-library branch August 26, 2026 16:21
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.

Update v2 client library (regenerate for API changes since 2026-08-04)

1 participant