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

Support custom policy #72

Open matankila opened 11 months ago

matankila commented 11 months ago

I think there is a much needed feature, Use a custom policy for the diff with options like

this way an organization can use the product how he sees fit.

First I would like to see if this idea is approved,

file name: pb.yaml (shorthand for pb33f) Content:

ruleset:
  - “breaking-changes”:
      exclude_operations_with_extension: “x-foo”,
      include_operations_with_extension: “x-bar”
daveshanley commented 11 months ago

other than extensions, what else would you want to configure breaking changes for?