Validating schema using yaml file
albertogg99 opened this issue · 2 comments
albertogg99 commented
Hi, I have developed an openapi.yaml file which contains the schema that my API requests should follow. The schema is not small so I wouldn't like to hardcode it in JSON in my Python schema-validation application. Can I use that yaml file as reference in this schema validator?
p1c2u commented
@albertogg99
Use json.load or yaml.load
albertogg99 commented
Thanks!