In the latest VS 2022 it's moved to (right-click on your project) Add > New REST API Client > Generate ...