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

make use of bean validation groups #943

Open
choichoice opened this issue Mar 13, 2019 · 2 comments
Open

make use of bean validation groups #943

choichoice opened this issue Mar 13, 2019 · 2 comments

Comments

@choichoice
Copy link

I want to create documentation for two different APIs (API1 and API2) that share big parts of the model. For validation purposes the APIs rely on bean validation groups.

For example: when property1 is only required for API1:

@NotNull(groups="API1.class")
public String getProperty1();

Is there a way to make use of bean validation groups when generating two separate enunciate docs?

@stoicflame
Copy link
Owner

Not currently, no. Seems like a reasonable enhancement request, though.

@stoicflame stoicflame added this to the 2.12.0 milestone Mar 13, 2019
@stoicflame stoicflame removed this from the 2.12.0 milestone Aug 8, 2019
@stoicflame
Copy link
Owner

This enhancement is currently seeking a sponsor. If anybody is willing to sponsor the work, reach out to me and I'd be happy to pick it up.

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