@@ -30,6 +30,22 @@ Unsupported Node.js LTS that should still work:
...
@@ -30,6 +30,22 @@ Unsupported Node.js LTS that should still work:
5. Wait a bit
5. Wait a bit
6. Open http://localhost:3200/
6. Open http://localhost:3200/
### Using your own local api definition with local dev build
You can specify a local file in `dev-helpers/index.html` by changing the `url` parameter. This local file MUST be located in the `dev-helpers` directory or a subdirectory. As a convenience and best practice, we recommend that you create a subdirectory, `dev-helpers/examples`, which is already specified in `.gitignore`.
Files in `dev-helpers` should NOT be committed to git. The exception is if you are fixing something in `index.html` or `oauth2-redirect.html`, or introducing a new support file.
## Bonus points
## Bonus points
- 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.
- 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.