porta icon indicating copy to clipboard operation
porta copied to clipboard

THREESCALE-10883: Fix OAS document order

Open ernaniaz opened this issue 11 months ago • 0 comments

When the "components" section of a Swagger document is placed before the "paths", the rendering of schemas with $ref fails to display.

This patch just make sure to move "components" to latest element in hash if they exist, fixing the issue.

fixes #THREESCALE-10883

ernaniaz avatar Mar 26 '24 01:03 ernaniaz