For multi-modular projects, it would be desireable to reduce the visibility of generated classes (i.e. models and clients) to only the module in which they are used, by applying the internal visibility modifier to generated types. By making the visbility of generated types configurable (e.g. public as it is now, but also internal) projects could decide whether they want to expose the REST types to other modules, or hide the implementation from other parts of the project.
For multi-modular projects, it would be desireable to reduce the visibility of generated classes (i.e. models and clients) to only the module in which they are used, by applying the
internal
visibility modifier to generated types. By making the visbility of generated types configurable (e.g.public
as it is now, but alsointernal
) projects could decide whether they want to expose the REST types to other modules, or hide the implementation from other parts of the project.