Ask a Question

GitHub sync on Domain projects does not work

SOLVED
gjtest
New Contributor

GitHub sync on Domain projects does not work

Hello,

 

I am working with several "Domain" projects on SwaggerHub. Those are different from "API" projects in that they don't have the "Integrations" button available

Here's an example of a "Domain" project:

gjtest_0-1664882319237.png

This project does have another button called "GitHub Push Sync settings", here:

gjtest_1-1664882439824.png

However, when clicking on Save, even after filling in all the information, nothing happens, and the following error is thrown in the console:

gjtest_2-1664882505207.png

 

Has anyone succeeded in adding GitHub Push integration into a Domain project, and how did you do it?

 

Is it even possible?

 

Thanks a lot in advance!

 

4 REPLIES 4
KJans
Staff

Hi @gjtest,

 

Github Push is an older, deprecated functionality. (Here is the documentation) . It's currently not going anywhere but it might not work for everyone. It also lacks many of the options GitHub Sync has.

 

At this point there is no support for integrations with domains (likely because the domains are a swaggerhub feature more than an OpenAPI one) - but if you are handy you could use our registry API to make such a sync yourself. If you'd like to add this as a feature request, please contact your account manager at SmartBear.

gjtest
New Contributor

Thanks for the quick response! I guess switching to a regular "API" project is the easiest solution

HenrikHL
Contributor

I have pointed this out before also - I think it is quite a "down-grade" to remove the functionality to sync with GitHub from Domains without offering an alternative...

Every time I have made a change to a Domain now - I need to copy the entire content (CTRL + A, CTRL + C) - then go to GitHib, find the repository and make a PR 😞

HenrikHL
Contributor

The SmartBear team has previously encouraged people to use Domains - which I agree is a good idea. We heavily rely on reuse of Objects, definitions, headers, etc between APIs

cancel
Showing results for 
Search instead for 
Did you mean: