Code Branding
These CodeGen settings allow white-labeling and personalization of SDKs.
Brand Label
This setting is used to specify the company name that the code generator should associate with your SDK. The brand name provided is utilized within the copyright notice included in every SDK package.
If you're creating a fully white-labeled SDK where all attribution to APIMatic should be omitted from the source files, this setting isn't applicable as the attribution information is already removed.
Configuring this option will add the specified brand label to the header of the generated files.
Usage
To use this feature, you need to specify a String
value to be used as a label.
"info": {
...,
"x-codegen-settings": {
"BrandLabel": "Tech Corp"
}
}
Language Support
C# | Java | PHP | Python | Ruby | TS | Go |
---|---|---|---|---|---|---|
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Change in SDK
This setting controls the appended message that appears at the start of every file.
- C#
- Java
- PHP
- Python
- TypeScript
- Go
Value | Change |
Default |
|
Configured |
|
Value | Change |
Default |
|
Configured |
|
Value | Change |
Default |
|
Configured |
|
Value | Change |
Default |
|
Configured |
|
Value | Change |
Default |
|
Configured |
|
Value | Change |
Default |
|
Configured |
|
Short Copyright Notice
Use this setting to set a copyright notice to prepend to all code files.
This setting is only applicable to white labelled SDKs.
Usage
To use this feature, you need to specify a String
value. If no value is provided, APIMatic CodeGen will use the MIT copyright notice instead.
"info": {
...,
"x-codegen-settings": {
"ShortCopyrightNotice": "Copyright text here..."
}
}
Language Support
C# | Java | PHP | Python | Ruby | TS | Go |
---|---|---|---|---|---|---|
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |