I'm using Serverless Framework to deploy functions in AWS Lambda, but I can't find where/how I can remove the stage specifier from the URL endpoints created. The documentation does not seem to cover this part.
For example, this is my serverless.yml (with irrelevant parts omitted):
After a serverless deploy, the following service information is returned:
GET - https://ab1cd2ef3g.execute-api.eu-west-1.amazonaws.com/dev/
Notice the /dev part in the URL endpoint, and also in the function. That dev is the default value for the stage parameter in the configuration file.
Specifying stage: something in the serverless.yml file will have that /something as a suffix in the URL and as part of the function.
Question: How can I remove the stage specification from the generated URL endpoints, or: how can I prevent that stage specification to become part of the generated URLs?
(That the stage is part of the function, is fine. That will be easy to separate staging and production functions in the AWS Lambda dashboard.)