Skip to content

v6.6.60

Choose a tag to compare

@github-actions github-actions released this 18 Feb 13:19
114a9bf

Bug fixes

Fix: Examples not displaying in Exchange for OAS 3.0.1 requestBodies with allOf inheritance

Fixed an issue where examples defined under requestBodies with inherited properties via allOf in OpenAPI 3.0.1 specifications were not displaying in Exchange. The problem was caused by conditional rendering that removed the examples section from the DOM when shouldRenderExamples was false, and a complex mediaType calculation that could result in undefined. The fix ensures the examples section always exists in the DOM (using ?hidden attribute for visibility control) and directly uses this.mediaType without additional calculations, ensuring examples render correctly for OAS 3.0.1 specs with allOf inheritance and multiple examples.