Forum Discussion
ponelat
Staff
3 years agoHi ghenrard ,
Yeah, a valid use-case for sure. I'm not sure if it's required by the spec, so we'd have to introduce it as a warning. It would fall under the parser/validator, which is https://github.com/swagger-api/apidom.
- ghenrard3 years agoNew Contributor
Indeed, warning when an example is not valid is good enough. Even better if it says where (line number, etc.) it's not valid, like it's usually done in the editor 😉