Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The limit of '0' for Top query has been exceeded error when setting a 'top' value in swagger #965

Christina005 started this conversation in General
Discussion options

I have tested the sample in your solution 'ODataOpenApiExample', when setting a 'top' value, version 2 get people for example, options.Validate( validationSettings ) throws an ODataException: The limit of '0' for Top query has been exceeded. The value from the incoming request is '1'

Is there a fix for this? I must resolve this issue in my own project which has the same problem

You must be logged in to vote

Replies: 1 comment

Comment options

#944 has a bit more of a succinct overview of the issue, but the problem is ultimately in OData. I've been asked this question a lot so I provided a comprehensive analysis in the OData/AspNetCoreOData#695 bug. There are some workarounds, but the real fix is in the hands of the OData team.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /