Back to Blog
Swagger editor save to readme.md6/29/2023 This is just so you can navigate the tabs easier. We use our swagger-inline library to create the API description, then upload it to our hosted documentation with the rdme Node package. Small code changes to the editor to set the document.title to the filename last imported or saved. ReadMe handles this internally by first generating an OpenAPI file from code with every deploy. Nativefier (latest version) also provides for tab support (As of this writing, only on the Mac platform). Using nativefier package to create a native application wrapper lets you run the editor outside of a browser, and because the 'browser' window is privileged, it allows for a "Save As" dialog when you download the document. ![]() You then have to rename/move to the desired location. ![]() The "save" mechanism in the editor only lets you download the document as "~/Downloads/openapi.yaml".
0 Comments
Read More
Leave a Reply. |