I’d like to validate this structure:
paths: random_key_one: get: description: 'Hello' random_key_2: put: description: 'World'
I want to check, for each value of the
paths hash (so, for any key of the hash) that it has a
get or a
put nested object with a
I didn’t find any way to apply a nested schema in this situation. Does somebody have a hint for me?
Thanks a lot, and sorry for my trivial question.