pb33f / openapi-changes

The world's sexiest OpenAPI breaking changes detector. Discover what changed between two OpenAPI specs, or a single spec over time. Supports OpenAPI 3.1, 3.0 and Swagger
https://pb33f.io/openapi-changes/
Other
180 stars 16 forks source link

In HTML diff editor, displaying unchanged paths due to referenced schema changed #123

Closed Amitrei closed 6 months ago

Amitrei commented 6 months ago

Hello there! I've noticed a behavior in the HTML report, When an operation parameter includes a schema reference and the schema itself is modified, both the path, operation and parameters are rendered in the diff editor tree.

For example, consider the following operation parameter: image

If the schema is altered, the tree is displayed as follows: image

The paths, operations, and parameters are rendered, although they are not clickable or altered. While this behavior might not be problematic with small OpenAPI specs, it becomes cumbersome and confusing when a schema is referenced across multiple operation parameters.

Is this behavior expected? Thanks! :)

daveshanley commented 6 months ago

What behavior would you like to see?