Is it worth considering utilizing the providers Property in your Modules when integrating the NSWAG Generated Clients?
Here's an illustration:
ModuleA
providers: [
{
provide: API_BASE_URL, useValue: 'your-desired-value',
},
CustomerQueryClient, // Client from NSWAG Generated File
CustomerCommandClient // Client from NSWAG Generated File
]
ModuleB
providers: [
{
provide: API_BASE_URL, useValue: 'your-desired-value',
},
CustomerQueryClient, // Client from NSWAG Generated File
CustomerCommandClient // Client from NSWAG Generated File
]