I am using openapi-generator to generate api client from swagger json using command similar to below
openapi-generator generate -i http://localhost:5001/swagger/v1/swagger.json -g csharp-netcore -c config.json
Is it possible to generate single client using open api generator for multiple version of Api.
http://localhost:5001/swagger/v1/swagger.json
http://localhost:5001/swagger/v2/swagger.json
I looked at the documentation but couldn't find any reference for the same. Any help on the same or other alternatives. I am creating my api using .net core framework - doesn't really matter for generating clients but as an information if it helps in any way.