I have been attempting to have APIM import our API which resides on app service. The app service has an open API specification on the endpoint /api-docs but when the API is imported to APIM the operations are not being created as expected. The operations have been wildcarded rather than created based on the specification.

Does the api specification need to be available on a different endpoint to /api-docs to be automatically picked up?
I have checked that the open api specification can be imported sucessfully if I edit the API in APIM, go to operations, go to add and edit the open api specification pasting in the json reponse from the /api-docs endpoint of the app service. This does work but is manual and I would like to be able to have APIM update each time the API changes with the corresponding operations.

