├── .eslintrc ├── .gitignore ├── LICENSE.txt ├── README.md ├── index.html ├── manifest.json ├── package.json ├── public ├── icon128.png ├── icon16.png ├── icon32.png └── icon48.png ├── resources ├── circle-logo.png ├── demo-img.png ├── demo.gif ├── logo.png └── logo.svg ├── src ├── App.tsx ├── assets │ ├── gear.png │ ├── gear.svg │ └── logo.png ├── lib │ ├── RequestStore.test.ts │ ├── RequestStore.ts │ ├── __fixtures__ │ │ ├── apikey.ts │ │ ├── basic.ts │ │ ├── bearer.ts │ │ ├── digest.ts │ │ ├── post-application-json.ts │ │ ├── post-application-x-www-form-urlencoded.ts │ │ └── simple-request.ts │ ├── __snapshots__ │ │ └── leafmap-to-endpoints.test.ts.snap │ ├── endpoints-to-oai31.helpers.ts │ ├── endpoints-to-oai31.test.ts │ ├── endpoints-to-oai31.ts │ ├── leafmap-to-endpoints.test.ts │ ├── leafmap-to-endpoints.ts │ └── store-helpers │ │ ├── __snapshots__ │ │ ├── create-leaf.test.ts.snap │ │ ├── leafmap-to-endpoints.test.ts.snap │ │ └── merge.test.ts.snap │ │ ├── authentication-headers.test.ts │ │ ├── authentication-headers.ts │ │ ├── authentication-http.test.ts │ │ ├── authentication-http.ts │ │ ├── authentication.ts │ │ ├── automatic-parameterisation.test.ts │ │ ├── automatic-parameterisation.ts │ │ ├── create-leaf.test.ts │ │ ├── create-leaf.ts │ │ ├── find-pathnames-in-router.ts │ │ ├── helpers.ts │ │ ├── index.ts │ │ ├── leafmap-to-routermap.ts │ │ ├── merge.test.ts │ │ ├── merge.ts │ │ ├── parameterise.ts │ │ ├── persist-options.ts │ │ ├── prune-router.ts │ │ ├── remove.ts │ │ └── upsert.ts ├── loadPanel.js ├── main.tsx ├── panel.html ├── ui │ ├── Control.tsx │ ├── ControlButtons.tsx │ ├── ControlConfig.tsx │ ├── ControlConfigActions.tsx │ ├── ControlConfigImportExport.tsx │ ├── ControlDrawer.tsx │ ├── ControlDynamic.tsx │ ├── ControlDynamicDelete.tsx │ ├── Main.tsx │ ├── Start.tsx │ ├── context.ts │ ├── control.module.css │ ├── controlConfig.module.css │ ├── controlDynamic.module.css │ ├── controlDynamicDelete.module.css │ ├── helpers │ │ ├── endpoints-by-host.ts │ │ └── request-store.ts │ ├── main.module.css │ └── start.module.css ├── utils │ ├── constants.ts │ ├── headers.ts │ ├── helpers.ts │ └── types.ts └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json ├── vite-env.d.ts └── vite.config.ts /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | web-ext-artifacts 4 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/index.html -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/manifest.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/package.json -------------------------------------------------------------------------------- /public/icon128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/public/icon128.png -------------------------------------------------------------------------------- /public/icon16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/public/icon16.png -------------------------------------------------------------------------------- /public/icon32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/public/icon32.png -------------------------------------------------------------------------------- /public/icon48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/public/icon48.png -------------------------------------------------------------------------------- /resources/circle-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/resources/circle-logo.png -------------------------------------------------------------------------------- /resources/demo-img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/resources/demo-img.png -------------------------------------------------------------------------------- /resources/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/resources/demo.gif -------------------------------------------------------------------------------- /resources/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/resources/logo.png -------------------------------------------------------------------------------- /resources/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/resources/logo.svg -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/assets/gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/assets/gear.png -------------------------------------------------------------------------------- /src/assets/gear.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/assets/gear.svg -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /src/lib/RequestStore.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/RequestStore.test.ts -------------------------------------------------------------------------------- /src/lib/RequestStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/RequestStore.ts -------------------------------------------------------------------------------- /src/lib/__fixtures__/apikey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/__fixtures__/apikey.ts -------------------------------------------------------------------------------- /src/lib/__fixtures__/basic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/__fixtures__/basic.ts -------------------------------------------------------------------------------- /src/lib/__fixtures__/bearer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/__fixtures__/bearer.ts -------------------------------------------------------------------------------- /src/lib/__fixtures__/digest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/__fixtures__/digest.ts -------------------------------------------------------------------------------- /src/lib/__fixtures__/post-application-json.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/__fixtures__/post-application-json.ts -------------------------------------------------------------------------------- /src/lib/__fixtures__/post-application-x-www-form-urlencoded.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/__fixtures__/post-application-x-www-form-urlencoded.ts -------------------------------------------------------------------------------- /src/lib/__fixtures__/simple-request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/__fixtures__/simple-request.ts -------------------------------------------------------------------------------- /src/lib/__snapshots__/leafmap-to-endpoints.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/__snapshots__/leafmap-to-endpoints.test.ts.snap -------------------------------------------------------------------------------- /src/lib/endpoints-to-oai31.helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/endpoints-to-oai31.helpers.ts -------------------------------------------------------------------------------- /src/lib/endpoints-to-oai31.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/endpoints-to-oai31.test.ts -------------------------------------------------------------------------------- /src/lib/endpoints-to-oai31.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/endpoints-to-oai31.ts -------------------------------------------------------------------------------- /src/lib/leafmap-to-endpoints.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/leafmap-to-endpoints.test.ts -------------------------------------------------------------------------------- /src/lib/leafmap-to-endpoints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/leafmap-to-endpoints.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/__snapshots__/create-leaf.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/__snapshots__/create-leaf.test.ts.snap -------------------------------------------------------------------------------- /src/lib/store-helpers/__snapshots__/leafmap-to-endpoints.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/__snapshots__/leafmap-to-endpoints.test.ts.snap -------------------------------------------------------------------------------- /src/lib/store-helpers/__snapshots__/merge.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/__snapshots__/merge.test.ts.snap -------------------------------------------------------------------------------- /src/lib/store-helpers/authentication-headers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/authentication-headers.test.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/authentication-headers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/authentication-headers.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/authentication-http.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/authentication-http.test.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/authentication-http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/authentication-http.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/authentication.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/authentication.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/automatic-parameterisation.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/automatic-parameterisation.test.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/automatic-parameterisation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/automatic-parameterisation.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/create-leaf.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/create-leaf.test.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/create-leaf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/create-leaf.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/find-pathnames-in-router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/find-pathnames-in-router.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/helpers.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/index.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/leafmap-to-routermap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/leafmap-to-routermap.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/merge.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/merge.test.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/merge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/merge.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/parameterise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/parameterise.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/persist-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/persist-options.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/prune-router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/prune-router.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/remove.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/remove.ts -------------------------------------------------------------------------------- /src/lib/store-helpers/upsert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/lib/store-helpers/upsert.ts -------------------------------------------------------------------------------- /src/loadPanel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/loadPanel.js -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/panel.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/panel.html -------------------------------------------------------------------------------- /src/ui/Control.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/Control.tsx -------------------------------------------------------------------------------- /src/ui/ControlButtons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/ControlButtons.tsx -------------------------------------------------------------------------------- /src/ui/ControlConfig.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/ControlConfig.tsx -------------------------------------------------------------------------------- /src/ui/ControlConfigActions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/ControlConfigActions.tsx -------------------------------------------------------------------------------- /src/ui/ControlConfigImportExport.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/ControlConfigImportExport.tsx -------------------------------------------------------------------------------- /src/ui/ControlDrawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/ControlDrawer.tsx -------------------------------------------------------------------------------- /src/ui/ControlDynamic.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/ControlDynamic.tsx -------------------------------------------------------------------------------- /src/ui/ControlDynamicDelete.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/ControlDynamicDelete.tsx -------------------------------------------------------------------------------- /src/ui/Main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/Main.tsx -------------------------------------------------------------------------------- /src/ui/Start.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/Start.tsx -------------------------------------------------------------------------------- /src/ui/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/context.ts -------------------------------------------------------------------------------- /src/ui/control.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/control.module.css -------------------------------------------------------------------------------- /src/ui/controlConfig.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/controlConfig.module.css -------------------------------------------------------------------------------- /src/ui/controlDynamic.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/controlDynamic.module.css -------------------------------------------------------------------------------- /src/ui/controlDynamicDelete.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/controlDynamicDelete.module.css -------------------------------------------------------------------------------- /src/ui/helpers/endpoints-by-host.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/helpers/endpoints-by-host.ts -------------------------------------------------------------------------------- /src/ui/helpers/request-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/helpers/request-store.ts -------------------------------------------------------------------------------- /src/ui/main.module.css: -------------------------------------------------------------------------------- 1 | .wrapper { 2 | position: relative; 3 | } 4 | -------------------------------------------------------------------------------- /src/ui/start.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/ui/start.module.css -------------------------------------------------------------------------------- /src/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/utils/constants.ts -------------------------------------------------------------------------------- /src/utils/headers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/utils/headers.ts -------------------------------------------------------------------------------- /src/utils/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/utils/helpers.ts -------------------------------------------------------------------------------- /src/utils/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/src/utils/types.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/vite-env.d.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewWalsh/openapi-devtools/HEAD/vite.config.ts --------------------------------------------------------------------------------