From 72ff8f558484df64bad8b830ef010f0f8a10d7ca Mon Sep 17 00:00:00 2001 From: Faith Moraa Ombongi Date: Wed, 6 Mar 2024 11:46:44 +0300 Subject: [PATCH 1/2] Fix #9217 - Generate code snippets --- .vscode/settings.json | 5 +++++ api-reference/beta/api/devicelocalcredentialinfo-get.md | 2 ++ .../beta/api/directory-list-devicelocalcredentials.md | 9 ++++----- api-reference/v1.0/api/devicelocalcredentialinfo-get.md | 2 ++ .../v1.0/api/directory-list-devicelocalcredentials.md | 3 ++- 5 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000000..a490b614a35 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "githubPullRequests.ignoredPullRequestBranches": [ + "main" + ] +} \ No newline at end of file diff --git a/api-reference/beta/api/devicelocalcredentialinfo-get.md b/api-reference/beta/api/devicelocalcredentialinfo-get.md index 0ba61991e3f..3ce5ff85b0b 100644 --- a/api-reference/beta/api/devicelocalcredentialinfo-get.md +++ b/api-reference/beta/api/devicelocalcredentialinfo-get.md @@ -69,6 +69,7 @@ The following example shows a request. This example doesn't return the **credent @@ -112,6 +113,7 @@ The following example shows a request. diff --git a/api-reference/beta/api/directory-list-devicelocalcredentials.md b/api-reference/beta/api/directory-list-devicelocalcredentials.md index 7bf7aeb363e..2d9d0b80a59 100644 --- a/api-reference/beta/api/directory-list-devicelocalcredentials.md +++ b/api-reference/beta/api/directory-list-devicelocalcredentials.md @@ -61,13 +61,12 @@ If successful, this method returns a `200 OK` response code and a collection of ## Examples -### Example 1: Retrieve a list of device local credentials in the tenant - -#### Request +### Request The following example shows a request. ``` http @@ -77,7 +76,7 @@ ocp-client-name: "My Friendly Client" ocp-client-version: "1.2" ``` -#### Response +### Response The following example shows the response. @@ -104,6 +105,7 @@ The following is an example of the request. diff --git a/api-reference/v1.0/api/directory-list-devicelocalcredentials.md b/api-reference/v1.0/api/directory-list-devicelocalcredentials.md index e4e939b8f7a..be9007222be 100644 --- a/api-reference/v1.0/api/directory-list-devicelocalcredentials.md +++ b/api-reference/v1.0/api/directory-list-devicelocalcredentials.md @@ -59,7 +59,8 @@ If successful, this method returns a `200 OK` response code and a collection of The following is an example of the request. ``` http From 112710996471b9ebb59c2b767752bda8d1662934 Mon Sep 17 00:00:00 2001 From: Faith Moraa Ombongi Date: Wed, 6 Mar 2024 11:51:26 +0300 Subject: [PATCH 2/2] Fix line endings --- .vscode/settings.json | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index a490b614a35..00000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "githubPullRequests.ignoredPullRequestBranches": [ - "main" - ] -} \ No newline at end of file