public interface ApiGatewayMapper extends OpenApiMapper
Modifier and Type | Method and Description |
---|---|
java.util.List<ApiGatewayConfig.ApiType> |
getApiTypes()
Gets the types of API Gateway APIs that this mapper applies to.
|
static OpenApiMapper |
wrap(ApiGatewayMapper delegate)
Wraps and delegates to an
ApiGatewayMapper IFF the configured
ApiGatewayConfig.ApiType matches the types of APIs that the
wrapped mapper applies to. |
after, before, compose, getOrder, postProcessOperation, updateDefaultSettings, updateNode, updateOperation, updateParameter, updatePathItem, updateRequestBody, updateResponse, updateSecurity, updateSecurityScheme
java.util.List<ApiGatewayConfig.ApiType> getApiTypes()
Return an empty list or null to apply to all possible API types
other than ApiGatewayConfig.ApiType.DISABLED
. However, note
that it's typically safer to specify the exact API types that the
mapper supports.
static OpenApiMapper wrap(ApiGatewayMapper delegate)
ApiGatewayMapper
IFF the configured
ApiGatewayConfig.ApiType
matches the types of APIs that the
wrapped mapper applies to.delegate
- Mapper to delegate to when it applies to the configured API type.