openapi
openapi copied to clipboard
Better Error location output
Hi...
First, great work...
I'm having a lot of trouble with parsing yaml files. But, it's really difficult to determine where the error lies. All I get is: error: Yaml(Message("data did not match any variant of untagged enum OpenApi", None)) I've trace'd it, I even created a Manual Deserializer. It parses the top level, but has problems with a sub-level parsing (in "components").
Is there a way to get it to generate a better error. At least the token it barfs on ?
Thanks JR
After some more digging it is the 'componeneet/securitySchemes' tag that fails some of the API's I'm trying to parse.... progress, but not there