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

API Docs are published under categories with the same name #31

Open
roby71 opened this issue Aug 13, 2021 · 3 comments
Open

API Docs are published under categories with the same name #31

roby71 opened this issue Aug 13, 2021 · 3 comments

Comments

@roby71
Copy link

roby71 commented Aug 13, 2021

If the name of an API Category term is the same in different groups (terms grouped under parent terms) the API Doc is configured for all categories with that name.
We would need a way to specify in which exact group the API Doc should be configured.

@ssvaidyanathan
Copy link
Collaborator

@roby71 - can you please give an example? You can have different config files and have the mvn command point to them so that it picks that category. Have you tried that?

@roby71
Copy link
Author

roby71 commented Aug 18, 2021

Consider for example a case in which E-commerce category is, at the same time, a parent term and a term under Payment/Transaction category.

image

With a config file like the following, the API Doc is published under both "E-commerce" categories

...
"taxonomy_terms":[
{
"vocabulary":"api_category",
"field":"field_categories",
"data":[
"E-commerce"
]
}
]
...

Is there the possibility to select only one of the two categories even if they have the same name?

@ssvaidyanathan
Copy link
Collaborator

Ooh.. This is an edge case
@giteshk - FYI

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

No branches or pull requests

2 participants