DEV Community

Discussion on: Json validation with OpenAPI Schema

Collapse
 
adzubla profile image
Eduardo Issao Ito • Edited

In my example, the json and yaml file are in standard Maven folders.

Try to use use the full path:
"file://c:/Users/MyUser/path_to_files/pets.yaml"

Collapse
 
adzubla profile image
Eduardo Issao Ito

The same program can parse both json and yaml files.