I have created a resource in anypoint api designer.
#%RAML 1.0 . . . . . . . . /test-test: post: body: application/xml: type: myLib.grade