Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter by Tags #54

Open
cbautista1002 opened this issue Oct 9, 2018 · 0 comments
Open

Filter by Tags #54

cbautista1002 opened this issue Oct 9, 2018 · 0 comments

Comments

@cbautista1002
Copy link

Great project!

I'm wondering if there could be a way to filter by tags when generating the output file? As in, only include paths (and their methods) that contain a specific tag?

  apis: [
    {
      url: 'http://petstore.swagger.io/v2/swagger.json',
      tags: {
        include: ['myPetTag'],
      }
    }
  ]
  ...

I need to be able to make multiple versions of combined swagger files based on tags. So given 2 or more swagger files, create a combined file that contains only paths with these tags.

I started looking through the source, so perhaps I can contribute.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants