cagataygurturk / lambadaframework

Build serverless REST API's with JAVA. It implements the JAX-RS API and deploys your application easily to AWS Lambda and API Gateway
MIT License
244 stars 48 forks source link

Javax-rs annotations defined in interfaces doesn't work #50

Open imjksingh opened 6 years ago

imjksingh commented 6 years ago

I defined an interface for rest service and then implemented it . The Upload was successful however rest call was not successful because no annotations for handlerMethod was found in the ResourceMethodInvoker

imjksingh commented 6 years ago

I have declared a interface with all the rest functions declared along with the javax-rs annotation . Then it is being implemented in server handler class and client using apache cxf . Javax-rs annotation will work for the class which implements that interface.

cagataygurturk commented 6 years ago

Using JAX-RS annotations on interfaces are allowed by the specification, you are right but unfortunately at the moment they are not supported by Lambada framework.

I am planning a big refactor of the project, and I can add this feature to the roadmap also.