The following is an example of using the APIM DevOps Resource kit to deploy an api using the Creator tool
The api.yaml file contains the API definition, this uses the creator tool to convert that to ARM templates which are then deployed to an APIM instance using github actions.