Hi, referring back to my post and in reply to Lulx back in Oct of last year… I am running in to an issue with the jax-rs module when including xsd and json schema. I am running the build locally using their example java code to initiate the jax-rs generation. It works in that the raml file itself generates the source code. However, the includes are failing to find the schema files. I have a resource directory, let’s call it resource. In it I have test.raml and schemas/test.xsd. In my raml file I have at the top of the raml file:
- test: !include schemas/test.xsd
Further down I refer to it in the body of a resource:
It works in the API Designer…the help system shows the schema source. But when I try to get the jax-rs to generate the pojos (models), it can’t find the xsd.
I may be missing something, but the documentation is severely lacking on how to configure the use of say gson over jackson, as is any information on how to configure paths in the raml file to schemas. Does anyone have this working and can shed some light on the proper way to declare the schema locations outside of direct http:// locations? There should be some way to specify relative paths from the location of the raml file itself.