Questions tagged [raml-java-parser]

RAML java parser compatible with version 0.8 of the RAML specification. The parser depends on SnakeYaml, a Java YAML parser.

raml-java-parser

12 questions
68
votes
1 answer

RAML 1.0 representation of Java Map

I have RAML schema which contains "javaType": "java.util.Map>" I have separate schema (employee.schema) available which represent class Employee. But as I have not used employee.schema in RAML so it is not…
Yogesh Prajapati
  • 4,770
  • 2
  • 36
  • 77
4
votes
2 answers

Auto generate REST api documentation into RAML from Spring MVC controllers

I am new to Spring-Boot. I want to auto generate my REST api documentation into RAML from my Spring MVC controllers. Is there anything to do that? or any guide that I could use it for generating my rest api into RAML?
user6941415
3
votes
2 answers

Raml validator throws an error in javax.xml.validation.SchemaFactory.newSchema

When trying to validate espn.raml I got the below error. Same code is working fine for gmail.raml. Why is this happening? For your reference I have included the results I found what are the jars that SchemaFactory includes. $ find *.jar | xargs…
tk_
  • 16,415
  • 8
  • 80
  • 90
2
votes
2 answers

Sample RAMLs available online

I would like to know if there are any publicly available APIs documented with RAML. I have these 2 which are working…
tk_
  • 16,415
  • 8
  • 80
  • 90
2
votes
1 answer

Getting java.lang.NoSuchFieldError: VALUE in RamlValidationService

I want to create a RAML validator that will get the RAML URLs resturn validation results. For that Im using raml-java-parser. As per its readme file I try to execute below line of code: String sourceUrl =…
tk_
  • 16,415
  • 8
  • 80
  • 90
1
vote
0 answers

How to access request type in RAML file (using webapi-parser)

Library used webapi-parser 0.5.0 Language library used with Java Describe the issue I am unable to find a method to access the type of request defined in the raml file Input you have issues with Below is the relavent section of RAML…
Purukitto
  • 177
  • 1
  • 2
  • 11
1
vote
1 answer

Does RAML support multiple response schemas for the same content type?

In my project all POJO class are extending parent class.As my controller has one method whose return type is parent class but actually it is returning child class here I am using a concept of polymorphism i.e. I am typecasting the child class to…
0
votes
1 answer

Spring @RequestBody from interface

I have classes generated from .raml file. In the generated interface for controller I have @RequestBody on my parameter. If I try to make request, mapping works correct but every time I have null fields in my Object annotated with @RequestBody from…
0
votes
2 answers

what is the easy way to manually parse the RAML file in mule?

In mule application I am trying to parse RAML file. I knew that APIKit is doing same as it creates flows after parsing the RAML file. But still, what if I want to parse it in middle of the flow manually? I have seen the raml parsers available but…
0
votes
0 answers

How to use InputStream data type in RAML

How to use InputStream data type as part of post request in RAML. And how to use Apache CXF MultipartBody in RAML post api Thanks in advance.
0
votes
1 answer

is there any java 2 RAML parser available

i am trying to solve the following problem: lets say i have some java interfaces that i need transfer to Restful API Modeling Language. is there any library that can help me to do that?
Happy Coder
  • 1,293
  • 1
  • 19
  • 35
0
votes
1 answer

RAML validation throws 'Invalid value type'

I try to validate linkedin.raml but I got below set of validation errors for some reason. [2015-10-07 00:09:46,776] ERROR {org.wso2.carbon.registry.custom.extensions.handlers.utils.RAMLProcessor} - Invalid value type [2015-10-07 00:09:46,778] …
tk_
  • 16,415
  • 8
  • 80
  • 90