You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Some places in the parser throw exceptions which do not provide information about code position. For example:
java.lang.ClassCastException: org.yaml.snakeyaml.nodes.ScalarNode cannot be cast to org.yaml.snakeyaml.nodes.MappingNode
at org.raml.parser.visitor.TemplateResolver.loopTemplateSequence(TemplateResolver.java:145)
at org.raml.parser.visitor.TemplateResolver.init(TemplateResolver.java:129)
at org.raml.parser.visitor.RamlValidationService.preValidation(RamlValidationService.java:51)
at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:64)
at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:95)
at org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:77)
Being able to see positions and messages describing RAML nature of the error would be nice.
Initially the problem arose with RAML->JAX-RS generator. mulesoft-labs/raml-for-jax-rs#103
I post this issue as the generator makes use of the 0.9-SNAPSHOT parser.
Hi, guys.
Some places in the parser throw exceptions which do not provide information about code position. For example:
Being able to see positions and messages describing RAML nature of the error would be nice.
Initially the problem arose with RAML->JAX-RS generator.
mulesoft-labs/raml-for-jax-rs#103
I post this issue as the generator makes use of the 0.9-SNAPSHOT parser.
Regards, Konstantin.
Aha! Link: https://mulesoft-roadmap.aha.io/features/APIRAML-147
The text was updated successfully, but these errors were encountered: