C# client generation: exclude types by namespace #4567
TipluTillR
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be great to have a feature in NSwag similar to the excludedTypeNames setting in nswag.json, but for all files that are within a certain namespace, maybe even with a wildcard character.
For example, "excludedNamespaces": [ "my.namespace.*" ] would exclude all types from client generation which are in that namespace or any child namespace.
This would greatly reduce the effort for maintaining the excludedTypeNames list especially if you have shared data types across multiple services.
Beta Was this translation helpful? Give feedback.
All reactions