Skip to content

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

@gavinbarron

Description

@gavinbarron

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

Metadata

Metadata

Assignees

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