What is the correct way to create custom API mapping? It looks like if I map the domain in AWS UI, sls remove will fail as it’s not able to remove APIG resource. I probably should define the custom domain in serverless.yml but how?
DELETE_FAILED AWS::ApiGateway::RestApi ApiGatewayRestApi Deleting RestApi xxx failed. Please remove all base path mappings related to the RestApi in your domains: xxx