openapi-tools / swagger-maven-plugin

Maven plugin to activate the Swagger Core library to generate OpenAPI documentation.
MIT License
70 stars 45 forks source link

Fix sorting of #/components/schemas/* #50

Closed hiddewie closed 4 years ago

hiddewie commented 4 years ago

There was a regression in e629216a3e8be40f1f8f237f8a15756b36af9d82 (#49) that caused the result of sortSchemas not to be used.

This regression made schemas non sorted.

A test has been added and the fix has been done.

langecode commented 4 years ago

Doh. Thanks. I think I have time to quickly create a new release now.

UnHumbleBen commented 3 years ago

@hiddewie Thanks for the PR's made for this! Just wondering if there are plans to handle schemas that are not embedded in components (schemas defined in parameters). Seems like this issue has been noted here: https://github.com/swagger-api/swagger-core/pull/3613#issuecomment-669911025