Skip to content

mgmt: Fern Regeneration -- April 13, 2026#976

Merged
kailash-b merged 2 commits intomasterfrom
fern-bot/2026-04-13T10-20Z
Apr 15, 2026
Merged

mgmt: Fern Regeneration -- April 13, 2026#976
kailash-b merged 2 commits intomasterfrom
fern-bot/2026-04-13T10-20Z

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api bot commented Apr 13, 2026

Changes

This PR updates request encoding and pagination metadata handling across the Management API SDK.

  • Endpoints changed (behavioral/internal request construction across generated clients):

    • Path parameter handling now uses path-segment-safe encoding via ValueConvert.ToPathParameterString(string) -> QueryStringBuilder.EncodePathSegment(...).
    • Query parameter encoding now distinguishes query key vs query value safe character sets, affecting all clients that build query strings.
  • Classes and methods added/changed:

    • Core/QueryStringBuilder
      • Added context-aware encoding sets (query key, query value, path segment).
      • Added EncodePathSegment(string value).
      • Updated Build(...) encoding behavior for reserved characters.
    • Core/ValueConvert
      • Updated string path parameter conversion to use EncodePathSegment.
    • Core/Page<TItem>
      • Added constructor with response metadata.
      • Added Response, StatusCode, and Headers properties.
    • Core/Pager (OffsetPager and CursorPager)
      • Updated request delegate flow to use WithRawResponse<TResponse>.
      • Pages now carry raw response metadata.
    • Multiple Management API clients updated to pass wrapped responses (.WithRawResponse()) into pager creation and align generated code.
    • DirectoryProvisioningClient and ScimConfigurationClient had additional generated-code consistency updates.

References

Testing

  • This change adds unit test coverage

  • This change adds integration test coverage

  • This change has been tested on the latest version of the platform/language or why not

Checklist

@fern-api fern-api bot requested a review from a team as a code owner April 13, 2026 10:20
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

❌ Patch coverage is 86.81818% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 35.24%. Comparing base (da6b81c) to head (e82d086).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
...rectoryProvisioning/DirectoryProvisioningClient.cs 42.50% 23 Missing ⚠️
src/Auth0.ManagementApi/Core/Page.cs 86.66% 2 Missing ⚠️
src/Auth0.ManagementApi/Core/Pager.cs 93.54% 0 Missing and 2 partials ⚠️
src/Auth0.ManagementApi/Core/QueryStringBuilder.cs 97.36% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #976      +/-   ##
==========================================
+ Coverage   35.20%   35.24%   +0.04%     
==========================================
  Files        2356     2356              
  Lines       94048    94169     +121     
  Branches     5463     5410      -53     
==========================================
+ Hits        33107    33193      +86     
- Misses      59197    59230      +33     
- Partials     1744     1746       +2     
Flag Coverage Δ
authIntTests 3.38% <11.81%> (+0.06%) ⬆️
mgmtIntTests 33.80% <86.81%> (+0.04%) ⬆️
unittests 0.35% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kailash-b kailash-b force-pushed the fern-bot/2026-04-13T10-20Z branch from f78a363 to e82d086 Compare April 13, 2026 11:11
@kailash-b kailash-b changed the title 🌿 Fern Regeneration -- April 13, 2026 mgmt: Fern Regeneration -- April 13, 2026 Apr 13, 2026
Copy link
Copy Markdown

@developerkunal developerkunal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kailash-b kailash-b merged commit a525727 into master Apr 15, 2026
8 checks passed
@kailash-b kailash-b deleted the fern-bot/2026-04-13T10-20Z branch April 15, 2026 06:48
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.

2 participants