I don’t think there’s a way to do it. Keep in mind that if you’re looking for the try it out functionality, then it’s not really just HTML and in that case you just go with swagger-ui.
If you’re looking for something more static to be generated in your build process, then yeah, you can use swagger-codegen (where you can customize the template to fit the looks of swagger-editor) or use tools like swagger2markup. From: <[email protected]> on behalf of Michal Bubnár <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, 28 July 2016 at 03:04 To: Swagger <[email protected]> Subject: Swagger YAML to HTML like in swagger-editor Hi, I have created pretty long swagger definition file for the REST API of the company I work at, and now my task is to convert it to HTML. I was able to do this using either Swagger Codegen or using bootprint-swagger and using command line, which is also required, because this generation is supposed to be automated during build of our products. Now here's what I couldn't find anywhere. I really like the live preview created in Swagger Editor, I think it's the most beautiful of all HTMLs generated and somehow I would like to generate exactly same HTML here for the company. Is this somehow possible? I would really like to have this, since it also has Try This Operation, color theme is really nice and basically that would be the way to go and everyone here would be satisfied. Can somebody help me with this? Thank you in advance :) -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
