@hhariri the way I use swagger is
- browse publics apis from
https://apis.guru/browse-apis/
- download the one I'm interested in, let say github
- import the swagger file inside
https://www.getpostman.com/
So very handy to get started testing an api much quicker.
I don't generate my code from it.