swagger_engine icon indicating copy to clipboard operation
swagger_engine copied to clipboard

plans to track swagger-ui

Open bandtank opened this issue 9 years ago • 4 comments

@batdevis Do you plan to track swagger-ui at a specific cadence? The work you've done to integrate swagger-ui into rails is very valuable, but I don't want to become dependent on this repository if it's going to significantly lag swagger-ui. Could you please shed some light on this? Thanks.

bandtank avatar Jun 12 '15 17:06 bandtank

Hi @bandtank, you're right. I need to find the right way to keep swagger-ui repo in sync. Maybe a grunt task that transform the static index.html in rails template could be a solution. Or a rails generator.

Suggestions are welcome!

batdevis avatar Jun 12 '15 22:06 batdevis

@batdevis I don't have enough experience with rails (or ruby) to know how to automate this in a mostly fail-proof way. How hard is it currently to track swagger-ui?

bandtank avatar Jun 22 '15 21:06 bandtank

@batdevis How do you update swagger-ui currently? Is it as simple as copying and pasting the swagger-ui files in the dist folder into swagger_engine? If so, it's manual, but easy, right? I'd like to update swagger-ui as the version is pretty behind, but I don't know how. If you can tell me how to do it, I'll submit a pull request.

bandtank avatar Aug 21 '15 15:08 bandtank

I just update the file from swagger-ui: https://github.com/batdevis/swagger_engine/commit/140deccfa19035c4a2f61dfbde44d56b103d237a

batdevis avatar Sep 04 '15 15:09 batdevis