Skip to content

$skip and $top parameters and $count responses are set to int64 format #792

Description

This change introduced as part of the support for OpenAPI 3.1 creates a binary breaking in Microsoft Graph SDKs if the latest versions of hidi are used to transform the source CSDL into OpenAPI 3.0

Assemblies affected

Microsoft.OpenApi.OData.Reader > 1.x

Steps to reproduce

Generate OpenAPI for a CSDL with a navigation property to a Collection with EnablePagination = true

Expected result

There is a way to force the OpenAPI document to use format of int32 to ensure backwards compatibility with existing implementations

Actual result

all of these use int64 as the format unconditionally

Activity

  1. added a commit that references this issue on Mar 18, 2026
    dcb11da
  2. added a commit that references this issue on Mar 18, 2026
    0dd9445
  3. added a commit that references this issue on Mar 18, 2026
    1054b7f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

metadataMetadata issues affecting accuracy of SDK snippets.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions