From Swagger Editor, there seems to be no option to save the generated HTML. Am I missing something?
No, we don't have this feature yet. you can use #/prevew to get the preview of the docs. But no static HTML yet
Jitin, Would you mind creating a github issue? Or better at adding this
feature if you can.
On Mon, Oct 20, 2014 at 9:44 AM, Mohsen Azimi [email protected]
wrote:
No, we don't have this feature yet. you can use #/prevew to get the
preview of the docs. But no static HTML yet—
Reply to this email directly or view it on GitHub
https://github.com/wordnik/swagger-editor/issues/210#issuecomment-59795597
.
Cheers,
Help spread www.eejot.org
Ignore my comment here about github issues. I had a brain fart :-(
On Oct 20, 2014 9:47 AM, "Prabhat Jha" [email protected] wrote:
Jitin, Would you mind creating a github issue? Or better at adding this
feature if you can.On Mon, Oct 20, 2014 at 9:44 AM, Mohsen Azimi [email protected]
wrote:No, we don't have this feature yet. you can use #/prevew to get the
preview of the docs. But no static HTML yet—
Reply to this email directly or view it on GitHub
https://github.com/wordnik/swagger-editor/issues/210#issuecomment-59795597
.
Cheers,
Prabhat
Help spread www.eejot.org
I 110% vote for this feature. The Codegen project doesn't work as well as this does. Would love to see this, as a _Download as HTML_ in the Nav Bar File Tab.
@SirWellington @jitin-sameer This feature has been added. Click File>Download HTML to get the docs as a stand-alone document
I don't see this option, just File > Download (JSON, YAML)
@rafaferreira Please use Swagger UI for rendering the UI.
Hey @mohsen1, thanks for your reply.
But what that means? I'm using http://editor.swagger.io
Swagger Editor can export your specs JSON. Use that JSON to render your UI using Swagger UI. Read swagger ui docs for more information
So the feature hasn't been added?
This feature was removed
Oh. That's a shame.
Swagger UI is the one for rendering the UI but if you you can "cheat" and serve entire Swagger Editor with a custom CSS that hides editor parts. Learn about configuring Swagger Editor in the configuration docs
Why was the feature removed?
EDIT: I guess because of this https://github.com/swagger-api/swagger-editor/issues/325
This feature should definitely be supported...why does it get removed....
:+1: on rendering HTML
CORS would be an issue on any exported HTML though.
What about using behind a firewall? Save as html seems like a necessary feature.
TBH - the UI is missing the aesthetics of the editor - wish I could just grab html from the editor instead ; )
Most helpful comment
TBH - the UI is missing the aesthetics of the editor - wish I could just grab html from the editor instead ; )