Best practice: API first, maintenance and versioning
I'm looking for information on best practices on API-first approach.
It is well documented how to create your first API in SwaggerHub and generate the server stub initially.
But what is the workflow to maintain existing versions and to create new versions of your API, e.g. by adding new endpoints?
How to generate code for the new endpoints without overriding implementations or other changes already made in code?