public class DefaultServiceIdResolver extends Object implements ServiceIdResolver
ServiceIdResolver which generates service ID by concatenating HTTP verb and endpoint path.
Example:
Endpoint for the operation
POST /withGeneratedServiceId/{param1}/and/path
is converted to service ID
POST_withGeneratedServiceId_param1_and_path
| Constructor and Description |
|---|
DefaultServiceIdResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
resolve(io.swagger.models.HttpMethod httpMethod,
String pathname,
io.swagger.models.Operation operation) |
public String resolve(io.swagger.models.HttpMethod httpMethod, String pathname, io.swagger.models.Operation operation)
resolve in interface ServiceIdResolverCopyright © 2018. All rights reserved.