Generate openapi client from postman API definition

Hi,

I’m currently using swaggerhub to host my api definition and generate a javascript client using

To do that I need an endpoint with the yaml file containing the api definition. Once I create a team and add an API, is there a way to create a secure endpoint to fetch that file on demand?

Thanks
Vincent