raml-java-parser
raml-java-parser copied to clipboard
(deprecated) A RAML parser based on SnakeYAML written in Java
### Affects: [1.0.0](https://github.com/raml-org/raml-java-parser/tree/1.0.0) ### Issue URI parameters should never contain slashes. The parser could check that this rule in enforced in URI parameters attributes: - default - example(s) - enum...
### Affects: [1.0.0](https://github.com/raml-org/raml-java-parser/tree/1.0.0) ### Issue It is currently possible to describe web forms with nested properties (e.g. the form defining a parameter org that itself has a name and an...
### Affects: [1.0.0](https://github.com/raml-org/raml-java-parser/tree/1.0.0) ### Issue As far as I know, web forms always contain named parameters. Having a web form with a primitive type does not seem to make sense...
## Affects [1.0.0](https://github.com/raml-org/raml-java-parser/tree/1.0.0) **Issue** When using the example below, the parser fails with an `"Invalid element {\ntype: myBody\n}` error, because no mediaType is defined in the lib.raml file. If the...
## Affects [1.0.0](https://github.com/raml-org/raml-java-parser/tree/1.0.0) **Issue** When I use the syntactic sugar [ ], I expect it to be equivalent to using the type facet (as stated in the spec). In both...
**Affects**: [1.0.0](https://github.com/raml-org/raml-java-parser/tree/1.0.0) **Issue**: I'm trying to use `ValidationResult` returned by the parser when there are errors, but can't handle start & end positions arguments (situated in `RamlValidationResult` which is the...
If i wanted to define a proprietary API using http status code outside of 100-599, I m out of luck as the BaseRamlGrammar.java limits the range to be 100-599. The...
Using version 0.8.16 ``` java List results = RamlValidationService.createDefault().validate(...); ``` Example: api.raml ``` yaml #%RAML 0.8 title: Sample API resourceTypes: - readonly: !include resourcetypes/readonly-resource.yaml /songs: type: readonly get: ``` resourcetypes/readonly-resource.yaml...
Running `mvn clean install` fails when the system locale is not English, e.g. ``` Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.096 sec
Hi, as clarified in http://www.yaml.org/spec/1.2/spec.html#id2788859 it is allows to use ':' in side of plain scalars in such cases. ``` raml uses: foo: foo.raml bar: /bar.raml baz: http://acme.com/raml/baz.raml ``` This...