0

I have successfully created a Client class for my API using NSwag generator.

But how do I create another Client class for my second API using NSwag generator

I use NSwag as it generators an Interface for the Client class and other great things

GregJF
  • 456
  • 4
  • 14

1 Answers1

1

NSwag supports more than one configuration.

api1.json api2.json api3.json

If running CLI, call each one.

Jason Foglia
  • 2,414
  • 3
  • 27
  • 48
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Nov 19 '21 at 20:13