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

[Feature request] Use fluent validation rules to define swagger schema #104

Closed
fmendez89 opened this issue Apr 10, 2020 · 1 comment
Closed

Comments

@fmendez89
Copy link

fmendez89 commented Apr 10, 2020

It is not a problem, but using the fluent validation rules, the swagger schema definition would be much more detailed. Also the generated clients definitions could benefit from this.

It would be great if the solution could use the fluent validation rules to define the swagger schema using the nswag fluent validation extension

Another solution could be use data annotation in dtos and commands, but would be redundant

@jasontaylordev
Copy link
Owner

So, after all this time, this feature is now in place. Thanks, @Lanz86. 😀

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