I have over 5k lines long swagger.json file describing hundreds of paths and objects. I want to generate a TypeScript client (using swagger-codegen) using only a part of the end
I think you can do it, using task automation (grunt, gulp, shell, whatever). Basically it could be a 3 steps task:
java -jar swagger-codegen-cli-x.x.x.jar generate -i -l swagger -o GeneratedCodeSwagger
)java -jar swagger-codegen-cli-x.x.x.jar generate -i GeneratedCodeSwagger\swagger.json -l typescript-angular