cancel
Showing results for 
Search instead for 
Did you mean: 

change management for api implementation with swaggerhub codegen

Highlighted
Occasional Visitor

change management for api implementation with swaggerhub codegen

I love the codegen features in SwaggerHub.  I want to build my api implementation on top of the generated boilerplate (python/flask in my case).  

 

But how do I handle changes?  When I change the api and codegen the server stub do I need to cut and paste my existing implementation in to the new stub, and then adjust my implemenation?

 

It seems like there must be some way to deal with this intelligently so I don't have to cut and paste my implementation into the new server stub every time I rev the api.

 

Thanks for any advice!

 

Mark

 

Tags (1)
1 REPLY 1
Highlighted

Re: change management for api implementation with swaggerhub codegen

Hi Mark,

Thanks for asking this question.  We recently adding functionality to SwaggerHub where you can copy over your codegen configurations when creating a new version of an API.  To do this, create an integration with your git tool of choice and configure your code gen in the integration.  Then as the API changes or you version it, new stubs will be auto generated and pushed to git.

Full documentation is here:

https://app.swaggerhub.com/help/integrations/index

https://app.swaggerhub.com/help/integrations/copying

Hope that helps,

Tim

New Here?
Join us and watch the welcome video:
Announcements