is there any java 2 RAML parser available - raml

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?

Maybe one of these can help you:
RAML for JAX-RS
Spring MVC-RAML Synchronizer

Related

Using SpEL (or any expression language) in Quarkus for object transformation

I am trying to find out how to use SpEL (or any other expression language) in my Quarkus applications to handle basic object transformation via injected configuration (and run on Graal).
I am not sure if/what is possible here and I cant find much in the way of docs or how-tos.
I see that this can be possibly be used via the Apache Camel extension, but right now that would be overkill for this requirement.
Any pointers or guidance would be appreciated.
Thanks.
Not much - I cant find docs, examples or howtos for this anywhere.
This is not supported in core Quarkus

OpenAPIv2(Swagger2) + GraphQL

We have built a REST service which is documented using OpenAPIv2 specification. We do code generation using swagger-codegen and build service on JAX-RS.
We are looking to add GraphQL to our existing REST service. Looking for best possible way to integrate GraphQL into existing OpenAPI(Swagger)v2 spec. Any help or directions is greatly appreciated. Thanks
This tools should be able to generate GraphQL from your spec:
https://github.com/strongloop/oasgraph
or at least provide a good starting point.

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?
There is a Spring REST Docs to RAML extension for Spring REST Docs: https://github.com/ePages-de/restdocs-raml However, this project is not maintained anymore and the authors recommend to use their new project https://github.com/ePages-de/restdocs-openapi that converts to OpenAPI (Swagger) instead of RAML. They provide a guide on how to convert OpenAPI to RAML: https://github.com/ePages-de/restdocs-openapi#convert-to-raml There is an example project that demonstrates the conversion to OpenAPI and RAML https://github.com/ePages-de/restdocs-openapi/tree/master/samples/restdocs-openapi-sample One limitation of the extension is that it only works with Gradle at the moment.
I know, your Question is outdated, but there is something that might help.
You can use DocDog. From there it creates RAML from the existing source code. If it is SpringBoot you can run it easily with -lang=spring. If it is plain JAVA you can add comments to your code (see readme.md or examples), so DogDoc can understand.
May it helps you: https://github.com/skalski/docdog

Spring XD facebook data extraction

Is there anyway to extract Facebook data using Spring XD?
I am now able to extract Facebook data using Graph api, Json, Java Program, but the question is if could I integrate this this to be executed automatically through Spring XD.
You can create a custom source module.
If it is general enough, consider contributing it to spring-xd-modules. The README has information about contributing.

I`m looking for a equivalent in Spring of JavaAsync from Play Framework

I wondering is there an equivalent of this feature from play framework
http://www.playframework.org/documentation/2.0/JavaAsync
Basicly it helps to create more efective applications. Doesn anyone knows something like that for Spring Framework ?
Sure, Spring provides asynchronous processing via the #Async annotation. See http://static.springsource.org/spring/docs/current/spring-framework-reference/html/scheduling.html#scheduling-annotation-support
Not from Spring, but if you don't want/can't use Play, check Akka, it provides similar tools.

Resources