Libs for building a RAML-validating API-proxy


#1

I’m building a beckend for a web app consisting of several micro-services and there will be a REST-api fronting them to serve the client. The REST-api will proxy requests to the micro-services. RAML seems like a great choice for describing my API. I would like to validate the requests against the RAML before proxying them further. For JavaScript, osprey seems to be perfect, but is there any corresponding Java-based library?

I found raml-tester, but that seems more like a component for building a test suite?

Any pointers?


#2

Yes, raml-tester was built with test suites in mind.
But I don’t see any reason why you couldn’t use it for your purposes.
raml-tester-proxy is a validating proxy that seems to do what you need.