Swagger-UI includes a development server that provides hot module reloading and unminified stack traces, for easier development.
- Node.js
6.0.0
or greater - npm
3.0.0
or greater - git, any version
git clone [email protected]:swagger-api/swagger-ui.git
cd swagger-ui
npm install
npm run dev
- Wait a bit
- Open http://localhost:3200/
- Swagger-UI includes an ESLint rule definition. If you use a graphical editor, consider installing an ESLint plugin, which will point out syntax and style errors for you as you code.
- The linter runs as part of the PR test sequence, so don't think you can get away with not paying attention to it!