Forum Discussion

Stoplight's avatar
Stoplight
Community Manager
9 months ago

lint examples according to their schemas ?

Originally posted by user 𝕳𝖊𝖆𝖗𝖙𝖋𝖎𝖑𝖎𝖆42 to the Stoplight Community on 10/20/2023 at 10:47 ET.

Hello everyone !

Is it possible, to lint examples according to their schema referenced ? I have examples with date but the field can be named as developers want. So I need to look to the referenced schema as the field should be referenced and I can check format. 

Is it possible ? I see that context have the whole document but not formated, still in raw yaml so I cannot parsed it ?

Thanks for any answers 😀