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 #11

Closed
cbautista1002 opened this issue Oct 9, 2018 · 2 comments
Closed

Filter by Tags #11

cbautista1002 opened this issue Oct 9, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@cbautista1002
Copy link

Great project!

I'm wondering if there is a way or if there could be way to filter by tags when generating the output file? As in, only include docs that contains this tag?

oas generate --tags tag1,tag2 or oas generate --tag tag1 --tag tag2

Or if not by tag, then some other mechanism for filtering/including/excluding documentation.

Thanks!

@gkoberger
Copy link
Contributor

Hey! I do like this idea.

I didn't write it, however I do know there's some sort of scope filtering in swagger-inline (which this is built upon):

https://github.com/readmeio/swagger-inline

But alas, I'm not sure exactly how it works!

@gkoberger gkoberger reopened this Oct 13, 2018
@erunion erunion self-assigned this Sep 16, 2019
@erunion erunion added the enhancement New feature or request label Sep 16, 2019
@erunion erunion added the good first issue Good for newcomers label Aug 12, 2021
@erunion erunion removed the area:cli label Oct 28, 2022
@erunion
Copy link
Member

erunion commented Oct 28, 2022

With the release of v20 this library no longer has a CLI offering for creating OpenAPI definitions. If you'd like to still support the idea behind this ticket I recommend moving it over to swagger-inline1.

Footnotes

  1. The internal library that the oas CLI has always used for OpenAPI generation.

@erunion erunion closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Development

No branches or pull requests

3 participants