From 62abd787aa60dc8a46f23d6c61bb25847f29e214 Mon Sep 17 00:00:00 2001 From: Adam Davis Date: Mon, 24 Jul 2023 04:06:30 -0400 Subject: [PATCH] docs(setting-up): fix dev-helper-initializer.js file name (#9024) --- docs/development/setting-up.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/development/setting-up.md b/docs/development/setting-up.md index eafbddf7..087b8f81 100644 --- a/docs/development/setting-up.md +++ b/docs/development/setting-up.md @@ -17,7 +17,7 @@ Swagger UI includes a development server that provides hot module reloading and ### Using your own local api definition with local dev build -You can specify a local file in `dev-helpers/swagger-initializer.js` 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`. +You can specify a local file in `dev-helpers/dev-helper-initializer.js` 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`. replace ``` @@ -29,7 +29,7 @@ with url: "./examples/your-local-api-definition.yaml", ``` -Files in `dev-helpers` should NOT be committed to git. The exception is if you are fixing something in `index.html`, `oauth2-redirect.html`, `swagger-initializer.js`, or introducing a new support file. +Files in `dev-helpers` should NOT be committed to git. The exception is if you are fixing something in `index.html`, `oauth2-redirect.html`, `dev-helper-initializer.js`, or introducing a new support file. ## Bonus points