Skip to content

feat: add int32 format configuration for pagination parameters and count responses (#793)#796

Open
baywet wants to merge 1 commit intosupport/v2from
feat/int32-format-configuration-to-v2
Open

feat: add int32 format configuration for pagination parameters and count responses (#793)#796
baywet wants to merge 1 commit intosupport/v2from
feat/int32-format-configuration-to-v2

Conversation

@baywet
Copy link
Member

@baywet baywet commented Mar 18, 2026

port of #793 to v2

…unt responses (#793)

Add two new boolean settings to OpenApiConvertSettings:
- UseInt32ForPaginationParameters: when true, generates $top and $skip
  parameters with int32 format instead of the default int64
- UseInt32ForCountResponses: when true, generates $count response schema
  and @odata.count properties with int32 format instead of int64

Both settings default to false, preserving existing behavior. They are
configured via the HIDI settings config file under OpenApiConvertSettings.

Closes #792

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@baywet baywet requested a review from a team as a code owner March 18, 2026 16:45
@baywet baywet self-assigned this Mar 18, 2026
@baywet baywet enabled auto-merge March 18, 2026 16:45
@sonarqubecloud
Copy link

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