Skip to content

Ability to filter output path and/or endpoint #279

@Mezatsong

Description

@Mezatsong

Use case

I am building a module of my api, and I just need few endpoint, about 10% of all api endpoint.
But now the swagger_parser generate all endpoint, which is not the the best case

Proposal

in the swagger_parser.yaml, add some kind of keys like this

...
          exclude_paths:
            - "/cars/get"
          include_paths:
            - "/auth/user"
            - "/balance"
            - "/balance/transactions"
            - "/balance/withdrawals"
            - "/balance/withdrawal/requests"
            - "/deposit-payment/request-payment-link"
            - "/deposit-payment/payment-status/{uuid}"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions