Can I generate documentation from the validator? #272
-
Hello, currently, I am building a rather complex validator with this library and I am thinking about how I will document those validations, so users of the API can see what values are needed for what conditions etc. Is there any possibility to generate some sort of documentation from a validator which will list all constraints? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
At this time, YAVI does not have such a feature. I think it is technically possible. |
Beta Was this translation helpful? Give feedback.
At this time, YAVI does not have such a feature. I think it is technically possible.
Actually, investigating whether it can work with OpenAPI is one of the Todo lists in my head. I haven't got enough time so I haven't started yet ...