-
Notifications
You must be signed in to change notification settings - Fork 132
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
Supporting x-tagGroups
in join
command
#1314
Comments
Seems it is related to @redocly/cli. |
Thanks for the suggestion @unional! |
Hey @unional, could you check if using this option covers your case? |
Nope. That changes the tags not the tag groups. |
It's very difficult to pick a prefix solution here that works for everyone - although we do have the option to not create the groups which I think is important. I agree that Also we'll need to make it very clear in the changelog that this behaviour is changing - minor version bump at a minimum. I know the join command is still marked experimental but we do see quite a bit of usage! |
I observe another issue related to this. Able to filter out tags are especially important as we can add the next version of API to the documentation during development while they are not exposed in the final doc. |
Thanks for your comment @unional , but in general it's better to open a new issue than to comment on a closed one where additional conversation might not be seen. For this additional issue, perhaps you can use the filter-out decorator after joining to produce the output of the combined API descriptions without the tagged endpoints? There's more information about the filter-out decorator in the docs: https://redocly.com/docs/cli/decorators/filter-out/ |
Describe the problem to be solved
Currently, the
join
command creates a spec that uses the filename as thex-tagGroups
.This cause all tags are added to the same
openapespec
group for the following:Describe the solution you'd like
Use
info.title
of each file as the group nameDescribe alternatives you've considered
add a flag to specify which prop to use.
Additional context
The text was updated successfully, but these errors were encountered: