Skip to content

Allow excluding schemas and operations from all APIs during extraction #316

Description

@nithinjamespallicka

Problem or use case

we are using apiops-cli 1.0.4 to extract all APIs with this filter:

apis: ['*']
schemas: []

The extraction also uses --no-transitive. It still produces schema and operation artifacts inside individual API folders:

apis/<api>/schemas/<schema>/schemaInformation.json
apis/<api>/operations/<operation>/operationInformation.json

From what we can see, the top-level schemas: [] applies to service-level schemas. Excluding schemas and operations within APIs requires a separate nested filter entry for each API.

Proposed solution

Add a filter option to exclude schemas and operations from all APIs, without requiring a separate entry for each API .

Affected command

apiops extract

Activity

  1. github-actions commented on Nov 6, 2026

    @github-actions

    ⚠️ Stale issue notice — This issue has had no activity for 30 day(s).

    It will be automatically closed after 60 days of inactivity.

    To keep this issue open:

    • Leave a comment describing the current status, or
    • Remove the stale label.

    This notice was posted automatically by the stale issue workflow.

  2. added
    staleNo activity for 30+ days — will be closed if no further activity
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleNo activity for 30+ days — will be closed if no further activitytype:featureNew capability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions