0

I am evaluating Enunciate to produce the documentation for a java rest api built with resteasy. How can I change the resource class name with a custom String?

The annotation @ResourceLabel can only be applied to methods. Any idea?

Thanks, Fabrizio

Fabrizio Fortino
  • 1,479
  • 1
  • 14
  • 22

1 Answers1

0

In Enunciate 1, you should be able to use enunciate facets to get what you want. Instead of grouping the API by resource class name, group it by a custom facet.

In Enunciate 2, the @ResourceLabel annotation applies to types in addition to methods and you should be able to use that.

Ryan Heaton
  • 1,173
  • 7
  • 11