# Filters the synced REST API spec (spec/openapi.yml) down to the endpoint # tags each SDK exposes; everything else (admin, access-tokens, api-keys, # untagged endpoints like /health) is dropped. The SDK generate pipelines run # `redocly bundle -o spec/openapi_generated..yml` before invoking # their client generators. The js-sdk list additionally keeps `auth` because # the CLI reaches /teams through the js-sdk's generated schema. # # filter-out drops any node (operation or component schema) the upstream # specs mark `x-not-implemented: true`. It has no applyTo on purpose: the # flag must work on schemas as well as operations. A kept operation that # still references a dropped schema loses that media-type entry rather # than keeping a dangling $ref. apis: js-sdk: root: spec/openapi.yml decorators: filter-in: property: tags value: [sandboxes, snapshots, templates, tags, auth, volumes] matchStrategy: any applyTo: Operation filter-out: property: x-not-implemented value: [true] python-sdk: root: spec/openapi.yml decorators: filter-in: property: tags value: [sandboxes, snapshots, templates, tags, volumes] matchStrategy: any applyTo: Operation filter-out: property: x-not-implemented value: [true]