How to set vlaidaterc file of input.validation field #1693
Unanswered
tatsuya-asami
asked this question in
Q&A
Replies: 1 comment
-
I actually didn't know this feature even existed @anymaniax ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to this document, we should create
.validaterc
file to change open api validation rule.However,
.validaterc
file might not be read if I create file.validaterc
in the root of my repository.I would like to get some example to modify validation rule.
I read the code of this file, but could not understand how to modify it.
https://github.com/orval-labs/orval/blob/852dce7746b33a246e408b4284a1f5f71caf4390/packages/core/src/utils/validator.ts
Beta Was this translation helpful? Give feedback.
All reactions