Skip to content

Add OpenAPI tests for the presence of meta#1996

Merged
bkoelman merged 2 commits intomasterfrom
openapi-meta
May 5, 2026
Merged

Add OpenAPI tests for the presence of meta#1996
bkoelman merged 2 commits intomasterfrom
openapi-meta

Conversation

@bkoelman
Copy link
Copy Markdown
Member

@bkoelman bkoelman commented May 5, 2026

Adds test coverage for meta in OpenAPI schemas. Because it is a free-format dictionary, we can't generate statically typed properties for built-in keys such as total, requestBody, and stackTrace.

Closes #1063.

QUALITY CHECKLIST

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.10%. Comparing base (78e25fb) to head (263a848).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1996   +/-   ##
=======================================
  Coverage   92.10%   92.10%           
=======================================
  Files         438      438           
  Lines       15005    15005           
  Branches     2488     2488           
=======================================
  Hits        13821    13821           
  Misses        730      730           
  Partials      454      454           

☔ 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 May 5, 2026 14:05
@bkoelman bkoelman merged commit b1008fe into master May 5, 2026
24 of 25 checks passed
@bkoelman bkoelman deleted the openapi-meta branch May 5, 2026 14:05
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.

Generalized handling of meta object

1 participant