Way to generate multiple contracts/api with single http-client with custom names programmatic using generateApi
              
              #909
            
            
              
                Unanswered
              
          
                  
                    
                      dylaginator
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to generate clients for multiple swagger files. I would like to have them custom named but keep
http-client.tsas a single file as it holds shared code. I managed to generate multiple<CustomName>-data-contracts.tsfiles, but I'm unable to set forApi.tsfile.Output of the operation is that I get set of files:
Api.ts, 'myServiceName-data-contracts.ts` and 'http-clients.ts'.Is it a bug or is there any solution?
I checked source code and added some props that are not mentioned in config and they works.
Below the config for
generateApiI'm using:If it is a bug or if I could contribute to it please let me know.
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions