I have the following RAML file:
#%RAML 1.0
---
title: e-BookMobile API
baseUri: http://api.e-bookmobile.com/{version}
version: v1
types:
song: {
"type": "object",
"properties": {
"songTitle": {
"type": "any",
}
}
}
which supposedly should return something like this
class Song {
protected Object songTitle;
}
Instead, a generated class for that type is:
public class Song implements Serializable
{
final static long serialVersionUID = 8991256900525939275L;
protected Void songTitle;
...
Are there any workarounds to receive songTitle with Object type?
I have the following RAML file:
which supposedly should return something like this
Instead, a generated class for that type is:
Are there any workarounds to receive songTitle with Object type?