Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow 'internal' visibility modifier on models and clients #308

Open
davidschreiber opened this issue Aug 19, 2024 · 1 comment
Open

Allow 'internal' visibility modifier on models and clients #308

davidschreiber opened this issue Aug 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@davidschreiber
Copy link

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.

@ulrikandersen
Copy link
Collaborator

Hi @davidschreiber,

I've heard that wish from others too.

Would you be up for opening a PR?

@ulrikandersen ulrikandersen added the enhancement New feature or request label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants