Interface ApiGatewayMapper

  • All Superinterfaces:
    OpenApiMapper
    All Known Implementing Classes:
    CorsHttpIntegration

    public interface ApiGatewayMapper
    extends OpenApiMapper
    An API Gateway mapper that only applies when the type of API being converted matches the types of APIs handled by the mapper.
    • Method Detail

      • getApiTypes

        java.util.List<ApiGatewayConfig.ApiType> getApiTypes()
        Gets the types of API Gateway APIs that this mapper applies to.

        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.

        Returns:
        Returns the list of API Gateway API types to apply to.