File tree 2 files changed +3
-3
lines changed
client/rest-high-level/src/test/java/org/elasticsearch/client/documentation
docs/java-rest/high-level
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ public void testGetRoleMappings() throws Exception {
217
217
// tag::get-role-mappings-list-execute
218
218
final GetRoleMappingsRequest request = new GetRoleMappingsRequest ("mapping-example-1" , "mapping-example-2" );
219
219
final GetRoleMappingsResponse response = client .security ().getRoleMappings (request , RequestOptions .DEFAULT );
220
- // end::get-role-mappings-all -execute
220
+ // end::get-role-mappings-list -execute
221
221
List <ExpressionRoleMapping > mappings = response .getMappings ();
222
222
assertNotNull (mappings );
223
223
assertThat (mappings .size (), is (2 ));
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ The Java High Level REST Client supports the following Security APIs:
327
327
* <<{upid}-clear-roles-cache>>
328
328
* <<java-rest-high-security-get-certificates>>
329
329
* <<java-rest-high-security-put-role-mapping>>
330
- * <<java-rest-high-security-get-role-mapping >>
330
+ * <<java-rest-high-security-get-role-mappings >>
331
331
* <<java-rest-high-security-delete-role-mapping>>
332
332
333
333
include::security/put-user.asciidoc[]
@@ -338,7 +338,7 @@ include::security/delete-role.asciidoc[]
338
338
include::security/clear-roles-cache.asciidoc[]
339
339
include::security/get-certificates.asciidoc[]
340
340
include::security/put-role-mapping.asciidoc[]
341
- include::security/get-role-mapping .asciidoc[]
341
+ include::security/get-role-mappings .asciidoc[]
342
342
include::security/delete-role-mapping.asciidoc[]
343
343
344
344
== Watcher APIs
You can’t perform that action at this time.
0 commit comments