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

Reflect model state validation attributes in resource object schemas #1055

Closed
maurei opened this issue Sep 1, 2021 · 1 comment
Closed

Comments

@maurei
Copy link
Member

maurei commented Sep 1, 2021

The usage of RequiredAttribute on a resource field translates to a property needing to be listed as required, see required properties. This is currently already supported in the OpenApi integration, but requires more thorough testing.

Further investigation is required to see whether other model state validation attributes are associated to similar options in an OAS.

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

No branches or pull requests

2 participants