Skip to content

Commit 5887983

Browse files
committed
DEVDOCS-10336 - adding codeDepot markers
1 parent 11f5c70 commit 5887983

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/main/java/com/docusign/controller/eSignature/examples/EG028ControllerCreateBrand.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ protected Object doWork(WorkArguments args, ModelMap model, HttpServletResponse
4747
AccountsApi accountsApi = createAccountsApi(session.getBasePath(), user.getAccessToken());
4848

4949
// Step 3: Construct your brand JSON body
50+
//ds-snippet-start:eSign28Step3
5051
String language = args.getLanguage();
5152

5253
BrandsResponse brandsResponse = CreateBrandService.createBrand(
@@ -55,6 +56,7 @@ protected Object doWork(WorkArguments args, ModelMap model, HttpServletResponse
5556
language,
5657
session.getAccountId()
5758
);
59+
//ds-snippet-end:eSign28Step3
5860

5961
DoneExample.createDefault(getTextForCodeExampleByApiType().ExampleName)
6062
.withJsonObject(brandsResponse)

src/main/java/com/docusign/controller/eSignature/services/CreateBrandService.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ public static BrandsResponse createBrand(
1919
.defaultBrandLanguage(language)
2020
.brandLanguages(List.of(language));
2121

22-
// Step 5: Call the eSignature REST API
22+
// Step 4. Call the eSignature REST API
23+
//ds-snippet-start:eSign28Step4
2324
return accountsApi.createBrand(accountId, brand);
25+
//ds-snippet-end:eSign28Step4
2426
}
2527
}

0 commit comments

Comments
 (0)