Polish "Separate endpoint concerns"

* Fix the endpoint prefix for generated metadata.
* Polish and improve configuration key descriptions.

Closes gh-10176
This commit is contained in:
Stephane Nicoll
2017-11-16 09:44:50 +01:00
parent 9411d17649
commit bcab23e538
7 changed files with 139 additions and 71 deletions

View File

@@ -429,7 +429,7 @@ public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor
}
private String endpointKey(String suffix) {
return "endpoints." + suffix;
return "management.endpoint." + suffix;
}
private boolean isNested(Element returnType, VariableElement field,