Open jmewes opened 3 years ago
To fix this issue swagger-diff.jar from https://github.com/Sayi/swagger-diff needs to be patched or replaced.
https://github.com/Sayi/swagger-diff seems to be an abandoned project and not moving forward to OA3: https://github.com/Sayi/swagger-diff/issues/31 https://github.com/Sayi/swagger-diff/issues/5
This diff generator might be worth to investigate: https://github.com/OpenAPITools/openapi-diff
Maybe this tool could be tried as alternative for the diff generation:
Observed result
Expected result
The Tech Writers also need the nested properties in the changelog.
Steps to reproduce
e.g.
Console output
``` linbook-jm:beyond-api-changelog (master) janux$ { > git show HEAD~1:openapi.yaml > ${SPEC_FILE_1} > git show HEAD:openapi.yaml > ${SPEC_FILE_2} > > ./diff.sh ${SPEC_FILE_1} ${SPEC_FILE_2} > } ### What's New ### What's Deprecated ### What's Changed * `GET` /orders/search/find-by-cart-id Show order by cart ID Return Type Add orderNote2 //The merchant comment or note on the order 2. * `POST` /orders/{id}/send-order-document Send order document Return Type Add orderNote2 //The merchant comment or note on the order 2. * `PUT` /orders/{orderId}/billing-address Update billing address Return Type Add orderNote2 //The merchant comment or note on the order 2. * `POST` /orders/{orderId}/cancel Cancel order Return Type Add orderNote2 //The merchant comment or note on the order 2. * `POST` /orders/{orderId}/create-invoice Create invoice Return Type Add orderNote2 //The merchant comment or note on the order 2. * `POST` /orders/{orderId}/mark-as-viewed Mark order as viewed Return Type Add orderNote2 //The merchant comment or note on the order 2. * `PUT` /orders/{orderId}/order-note Update order note Return Type Add orderNote2 //The merchant comment or note on the order 2. * `PUT` /orders/{orderId}/shipping-address Update shipping address Return Type Add orderNote2 //The merchant comment or note on the order 2. ```