cancel
Showing results for 
Search instead for 
Did you mean: 

Want to host swaggerHub APIs on my own domain

Occasional Visitor

Want to host swaggerHub APIs on my own domain

Hi, 

   I have recently purchased a SwaggerHub account where I can create a swagger API definition. 

I want to host the swaggerhub APIs on my own domain like  www.myowndomain.com/myAPIs instead of the www.swaggerhub.com/v2/myapi

Can anyone suggest me the right direction to work in

1 REPLY 1
Highlighted
Moderator

Re: Want to host swaggerHub APIs on my own domain

Hi,

 

There is a feature request and you can vote for it: 

https://community.smartbear.com/t5/SwaggerHub-Feature-Request/Feature-Request-Use-own-domain-URL-for...

 

In the meantime, you can use one of the following workarounds:

1. Use the codegen -> client -> html2 and host the documentation on your own server.
2. Use SwaggerUI
• Setup GitHub Sync to push the JSON definition into a GitHub repo – this will make sure that the GitHub repo is always in sync
• Install Swagger-UI in your website and point to the JSON definition in the GitHub repo. Instructions to install are here: https://swagger.io/docs/open-source-tools/swagger-ui/usage/installation/ 

 


Anastasia
Customer Care Team


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

New Here?
Join us and watch the welcome video:
Top Kudoed Authors