Changing API for amplify codegen
** Which Category is your question related to? ** Amplify codegen
** What AWS Services are you utilizing? ** AWS Appsync API
** Provide additional details e.g. code snippets **
With the command amplify add codegen --apiId xyz it is possible to set up codegen for an appsync api. Unfortunately, I found no way to change the api. Is that possible? If not, I would like to have such a functionality.
We don't have a provision to change the API but will add it as a feature request. For the time being you could delete .graphqlconfig.yml file in your project root and add the API again by running amplify add codegen --apiId #####
Thanks for the workaround :)
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.