Nicolas Masse published a great article on the Red Hat Developer titled “5 principals for deploying your API from a CI/CD pipeline”.
In short they are:
- Use a contract-first approach
- Ensure the testability of your API
- Adhere to the semantic versioning
- Be idempotent
- Apply the API-Managment-as-Code principals
Read the article in full at https://developers.redhat.com/blog/2019/07/26/5-principles-for-deploying-your-api-from-a-ci-cd-pipeline/