Description
I would like be to able to configure the access modifiers on all generated classes. In my case I am using the c# client, but this is may be applicable to many of the generators.
The reason is that I want to include the generated code into an existing project which exposes a public API. The generated code is completely hidden and should not be part of the exposed API. I believe this should just be an option of the codegen process like the packageName option, and not tied to the specification itself. It may be applicable even in use cases where the person consuming the API is not the author of the specification, but may still want to generate the client as internal
Swagger-codegen version
Tested with version 2.2.1. I've also confirmed in master that nothing has changed around this.
Related issues
This one is somewhat similar, but is tied to the specification and is a bit more broad: #1467
Description
I would like be to able to configure the access modifiers on all generated classes. In my case I am using the c# client, but this is may be applicable to many of the generators.
The reason is that I want to include the generated code into an existing project which exposes a public API. The generated code is completely hidden and should not be part of the exposed API. I believe this should just be an option of the codegen process like the packageName option, and not tied to the specification itself. It may be applicable even in use cases where the person consuming the API is not the author of the specification, but may still want to generate the client as internal
Swagger-codegen version
Tested with version 2.2.1. I've also confirmed in master that nothing has changed around this.
Related issues
This one is somewhat similar, but is tied to the specification and is a bit more broad: #1467