Giter Site home page Giter Site logo

swagger-editor-live's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

swagger-editor-live's Issues

Swagger Editor version 3.0.11

Hi,

Could you please update the dependencies to work with the Swagger editor 3.0.11 please?

When I update it manually it says "Cannot GET /" so there might be additional changes to do.

Thanks!

v2.2.1 on npm?

Hello,

First of all, thanks for your package. That saves me a lot of time in editing the swagger file locally.

Yesterday, I installed your package again and found that it is not working. Checking the source code, the support of arguments like --port was gone and the version is 2.2.1, but the latest version on npm should be 2.1.8.

That 2.2.1 version is still available to download on npm:

https://registry.npmjs.org/swagger-editor-live/-/swagger-editor-live-2.2.1.tgz

Out of curiosity, that is a package published accidentally, or ?

Editor 3.1.4

Could we bump the editor dependencie to 3.1.4 ? or do u see any blocking issues there ?

[BUG][Safari] Clears out whole file for no reason

It seems like at some point with a reload or something it simply clears my file.. Just open this here as im investigating

EDIT:

  • First load works but if I reload the editor it clears my file and shows the petstore example
  • Safari 10.1.1, with Chrome it works

It seems like swagger would empty the file and as soon as I change something in my editor it PUT these changes to the file

Live reload?

Great tool, thank you. What about live-reloading?

local npm install: "no such file or directory node_modules/swagger-editor-dist/"

I started to use swagger-editor-live and it does exactly what I was looking for swagger-editor version 3. It works but I had a strange issue that I wanted to report. Sorry if the issue is related to my environment but I don't think it is.

  • I installed swagger-editor-live locally to my project:
    npm install swagger-editor-live --save-dev
  • Then declared this script in my own package.json:
    "swagger:edit": "swagger-editor-live swagger/swagger.yaml --port=8000"
  • Then run it:
    npm run swagger:edit
  • And it complained about missing swagger-editor-dist dependcy in the swagger-editor-dist/node_modules:
Error: ENOENT: no such file or directory, stat '/home/me/myproject/node_modules/swagger-editor-live/node_modules/swagger-editor-dist/swagger-editor.css'
Error: ENOENT: no such file or directory, stat '/home/me/myproject/node_modules/swagger-editor-live/node_modules/swagger-editor-dist/swagger-editor-bundle.js'
Error: ENOENT: no such file or directory, stat '/home/me/myproject/node_modules/swagger-editor-live/node_modules/swagger-editor-dist/swagger-editor-standalone-preset.js'

Actually the only dependency that was existing in /home/me/myproject/node_modules/swagger-editor-live/node_modules/ was commander (weird).
So I did that:

cd /home/me/myproject/node_modules/swagger-editor-live
npm install

And now everything's fine. I just wanted to let you know in case something would be wrong uin the npm released package of swagger-editor-live. If not then please forgive me and thanks for this useful module.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.