You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to do API-first design for a REST web service. I'd like to simply drop in an npm like yours, and do editor.swagger.io-ish UI on my code base. https://github.com/fweiss/mocha-store
The swagger-editor-server docs seem a bit weak, in my opinion. I did create a two-line server.js, containing the two lines and pointing to my swagger source code. When I run it with node, a browser opens to /#/edit and displays "Cannot GET /". I suppose the static swagger-ui needs to be served statically? A working example would help.
The text was updated successfully, but these errors were encountered:
I made some progress. The swagger-editor UI comes up when I git clone swagger-editor into node_modules. The swagger-editor npm package is missing index.html.
Doesn't seem like a good solution. Any suggestions?
I'm trying to do API-first design for a REST web service. I'd like to simply drop in an npm like yours, and do editor.swagger.io-ish UI on my code base. https://github.com/fweiss/mocha-store
The swagger-editor-server docs seem a bit weak, in my opinion. I did create a two-line server.js, containing the two lines and pointing to my swagger source code. When I run it with node, a browser opens to /#/edit and displays "Cannot GET /". I suppose the static swagger-ui needs to be served statically? A working example would help.
The text was updated successfully, but these errors were encountered: