fix: shows the proper mock error when no appsync api exists by ashphy · Pull Request #11976 · aws-amplify/amplify-cli

Description of changes When no AppSync API is added (REST API only), amplify mock api command shows the error because the mocking is available only for GraphQL API. However, the improper error sho...