Skip to content

OpenAPI: Add support for DisableQueryString/DisablePagination and fix links#1924

Merged
bkoelman merged 1 commit intomasterfrom
fix-openapi-query-string
Feb 16, 2026
Merged

OpenAPI: Add support for DisableQueryString/DisablePagination and fix links#1924
bkoelman merged 1 commit intomasterfrom
fix-openapi-query-string

Conversation

@bkoelman
Copy link
Copy Markdown
Member

@bkoelman bkoelman commented Feb 16, 2026

This PR adds support for [DisableQueryString] and HasManyAttribute.DisablePagination.
Bugfix: Do not generate links for filter/page/sort when an endpoint does not return a collection.

{B48CB356-D79C-4F4F-9614-E80D989AE4D7}

Closes #1461.

QUALITY CHECKLIST

@bkoelman bkoelman changed the title OpenAPI: Add support for [DisableQueryString] and fix query string links OpenAPI: Add support for DisableQueryString/DisablePagination and fix links Feb 16, 2026
…sablePagination

Fixed: Do not generate links for filter/page/sort when endpoint does not return collection
@bkoelman bkoelman force-pushed the fix-openapi-query-string branch from b73c0ba to 583eb6e Compare February 16, 2026 02:51
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 16, 2026

Codecov Report

❌ Patch coverage is 97.14286% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.21%. Comparing base (e5a7ced) to head (583eb6e).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...rComponents/DocumentationOpenApiOperationFilter.cs 97.14% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1924      +/-   ##
==========================================
- Coverage   92.21%   92.21%   -0.01%     
==========================================
  Files         437      437              
  Lines       14883    14927      +44     
  Branches     2464     2477      +13     
==========================================
+ Hits        13725    13765      +40     
- Misses        711      714       +3     
- Partials      447      448       +1     

☔ 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.

@bkoelman bkoelman marked this pull request as ready for review February 16, 2026 04:55
@bkoelman bkoelman merged commit 436b232 into master Feb 16, 2026
15 checks passed
@bkoelman bkoelman deleted the fix-openapi-query-string branch February 16, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

OpenAPI: Support [DisableQueryString]

1 participant