maxdome / swagger-combine

Combines multiple Swagger schemas into one dereferenced schema.
MIT License
132 stars 36 forks source link

Exclude & include deprecated paths #102

Open olereidar opened 4 years ago

olereidar commented 4 years ago

Hello! I can see that it is possible to filter by operation (get, post, put, delete). It would be a great feature to be able to exclude (or include) paths that are deprecated.

Example

"apis": [
    {
      "url": "blarh url",
      "paths": {
        "exclude": [
          "/endpoint/something.get.deprecated"
        ]
      }
    }]

The key deprecated exists in the OpenApi v2 standard.