Mermade / openapi-filter

Filter internal paths, operations, parameters, schemas etc from OpenAPI/Swagger/AsyncAPI definitions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

x-internal does not filter the referenced properties from object

djoshi0 opened this issue · comments

User.yaml

type: object
properties:
  name: 
    type: string
  userSecret:
    x-internal: true
    $ref: 'UserSecretInfo.yaml'

The user secret is not removed from target yaml after applying the filter

Is that the entirety of the input file or a snippet?

Closing due to inactivity - but please feel free to reopen the issue if necessary.