Skip to content

Conversation

leandrodamascena
Copy link
Contributor

Issue number: closes #7543

Summary

Changes

This PR removes the transformation that was incorrectly converting examples to example in response definitions. The OpenAPI spec supports both examples (multiple) and example (single) in the OpenAPI 3.0 schema, and users should be able to use either format as intended.

User experience

Please share what the user experience looks like before and after this change


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team as a code owner October 20, 2025 17:25
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 20, 2025
@github-actions github-actions bot added the bug Something isn't working label Oct 20, 2025
@leandrodamascena leandrodamascena self-assigned this Oct 20, 2025
@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.49%. Comparing base (ff994b5) to head (5a85aa3).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7561      +/-   ##
===========================================
+ Coverage    96.45%   96.49%   +0.03%     
===========================================
  Files          275      275              
  Lines        13115    13110       -5     
  Branches       987      985       -2     
===========================================
  Hits         12650    12650              
+ Misses         360      356       -4     
+ Partials       105      104       -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.

@sonarqubecloud
Copy link

@leandrodamascena leandrodamascena merged commit 7ebd820 into develop Oct 21, 2025
16 checks passed
@leandrodamascena leandrodamascena deleted the openapi/fix-examples branch October 21, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working event_handlers size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Can not use examples element in reponse of post or get method

3 participants