loic911 / Rest-api-doc

MIT License
21 stars 32 forks source link

Support no-domain classes #14

Closed anthony-foulfoin closed 10 years ago

anthony-foulfoin commented 10 years ago

Hi,

Actually, a @RestApiObject can only be defined on a domain class. But it would be great if we could use this annotation with any pojo, by specifying a package-to-scan in the config. For instance, in my application my webservices must return pojos stored in a package of the src/groovy folder.

anthony-foulfoin commented 10 years ago

I created a pull request :https://github.com/loic911/restapidoc/pull/20