How is REST api versioning implemented technically? : <p>I am working on a REST api which needs to be refactored. This will be a breaking change so the original api is to be made as v1 and the new refactored api will be known as v2. The versioning will be implemented at url level.</p>

<p>I want to understand technically how to approach this problem. Should I create a copy of the project and make the changes or should I make changes on the same project and then how do I expose the project as separate verisons?</p>
