Afadieiev
5 years agoOccasional Visitor
Swagger editor and OpenApi 3.0
I've installed Swagger editor locally due to guide https://medium.com/@mukulkatal/using-swagger-for-node-js-apis-d67e7b9f32a6 When i tried to run "npm run swagger:edit" swagger editor opens at http:...
- 5 years ago
That's an old version of Swagger Editor.
To run the latest Swagger Editor locally, use one of these options:
1) Clone the repository
git clone https://github.com/swagger-api/swagger-editor.git
then
npm start
This will start the editor on http://127.0.0.1:3001.
2) Run the Docker image:
https://github.com/swagger-api/swagger-editor/#running-the-image-from-dockerhub
3) Download the static assets (index.html and the dist folder) from the repository:
https://github.com/swagger-api/swagger-editor
Then open the index.html page in a browser, or put the assets onto a web server and load the page from there.