Skip to content

Conversation

@facu-01
Copy link

@facu-01 facu-01 commented Dec 27, 2025

Issue number: closes #7860

Summary

This fix the openapi_examples missing on Body when generating the openapi schema.

Changes

The class Body, and the class Route, now handles the openapi_examples on body.

User experience

Now the schema includes the examples properly, strengthening the openapi documentation.


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.

@facu-01 facu-01 requested a review from a team as a code owner December 27, 2025 15:37
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 27, 2025
@boring-cyborg
Copy link

boring-cyborg bot commented Dec 27, 2025

Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

event_handlers size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Body openapi_examples should be included in openapi schema

1 participant