Forum Discussion
Hi hegdes
I am not sure that swaggerHub has such capability to allow integration setting deployment when creating an API (or loading).
I know that integrations settings are copied when creating a new version but not when performing a fork.
I can suggest you to consider a Webhook service, that will deploy your integrations settings when saving or publishing your api. (or a kind of batch that will apply settings etc.)
chichepo "integrations settings are copied when creating a new version." How's this done ? Do I have to enable anything during creation of API on swaggerhub?
I have enabled Auto-mocking, still for some reason when I upload new version, integration settings are not being copied.
However, I resolved it by using swaggerhub-cli commands as a workaround. But I am interested in above point.
- chichepo2 years agoChampion Level 1
hegdes
You are right, the "Auto mocking" integration settings seem to not be tranfered during new version creation (Not sure why. May be a bug)
I did the following:I see only 2 integration settings that can be transfered
- hegdes2 years agoNew Contributor
chichepo yeah might be some bug. However, I basically used create, get and execute commands from swaggerhub-cli in my CI/CD workflow. ref: https://github.com/SmartBear/swaggerhub-cli
Thank you for your response 🙂- chichepo2 years agoChampion Level 1
hegdes
By the way, you can consider, as well, to use API Registry
https://app.swaggerhub.com/apis-docs/swagger-hub/registry-api/1.0.66#/
Related Content
- 10 years ago
- 5 years ago
Recent Discussions
- 10 days ago
- 2 months ago