arangari's avatar
arangari
Regular Visitor
6 years ago
Status:
Implemented

Changing prefix for generated files on Client SDK generation

[Please redirect to right 'location' if this is not the correct one = thanx in advance]

 

When I download the client SDK for integrating with the API. However all the class names are named with prefix as 'Swag'. If I have to integrate with multiple APIs, I would like the API name to be reflected.

Example CufxClient instead of SwagClient or CufxSwagClient instead of SwagClient. 

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)

    You can change the class prefixes and other code generation options in the Export > Codegen Options menu. For example, to generate an Apex client SDK with the CufxClient class instead of SwagClient, set the classPrefix to Cufx: