raml-java-parser icon indicating copy to clipboard operation
raml-java-parser copied to clipboard

(deprecated) A RAML parser based on SnakeYAML written in Java

Results 101 raml-java-parser issues
Sort by recently updated
recently updated
newest added

Validating this RAML ``` #%RAML 1.0 title: Sample API version: v1 mediaType: application/json types: ValueListType: type: object properties: id: string label: string external: boolean discriminator: external KnowledgeValueListType: type: ValueListType discriminatorValue:...

v2
RAML 1.0

Following RAML definition produces the errors below using the java parser: ```raml #%RAML 1.0 --- title: Test baseUri: https://example.com version: v1 mediaType: application/json types: PagedQueryResponse: object resourceTypes: domainTemplate: get: responses:...

Following RAML definition: ```raml #%RAML 1.0 --- title: Test types: Reference: properties: typeId: string id: string FieldType: discriminator: name properties: name: type: string ReferenceFieldType: type: FieldType discriminatorValue: Reference properties: referenceTypeId:...

With the following example: ``` #%RAML 1.0 title: DiagnosticReport version: 1.0 #baseUri: http://xxx/y baseUri: https://mocksvc.mulesoft.com/mocks/592ebe1d-1922-4439-8520-4395febfd2b6/y types: qPatient: properties: patient: additionalProperties: false qCategory: properties: category: enum: [LAB, xxx] additionalProperties: false qCode:...

raml-java-parser just can parser raml spec file to object, and validate it. Why don't use these raml objects and interfaces to implement another feature. what parse an idea or some...

**Issue** When I import a RAML with an attribute (uriParameter, data type, property, ...) name which only contains digits, parsing fails. **Stack trace** ``` java.lang.ClassCastException: org.raml.yagi.framework.nodes.snakeyaml.SYIntegerNode cannot be cast to...

In the following example I get the following exception. Code: `RamlModelResult ramlModelResult = new RamlModelBuilder().buildApi(new File("test.raml"));` Exception: ``` Exception in thread "main" java.lang.NullPointerException at java.io.File.(File.java:277) at org.raml.v2.api.loader.FileResourceLoader.(FileResourceLoader.java:36) at org.raml.v2.api.RamlModelBuilder.getRamlContent(RamlModelBuilder.java:252) at...

Apache Commons IO 2.4 contains a vulnerability https://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/ https://issues.apache.org/jira/browse/IO-487 Aha! Link: https://mulesoft-roadmap.aha.io/features/APIRAML-72

I have installed Version 2.1.0.17 and its dependencies. When the following code runs, the output is: unrecognized RAML version I expected that isVersion10() would return true. Have I done something...

```java RamlModelResult ramlModelResult = new RamlModelBuilder().buildApi(input); if (ramlModelResult.hasErrors()) { for (ValidationResult validationResult : ramlModelResult.getValidationResults()) { System.out.println(validationResult.getMessage()); } } else { Api api = ramlModelResult.getApiV10(); } ``` If it's true? What...