swagger-api/swagger-ui
Swagger UI renders interactive API docs from your OpenAPI (Swagger) spec, letting teams and consumers explore endpoints without implementation details. Available as npm packages (swagger-ui, swagger-ui-dist) and Docker for easy hosting and bundling.
SwaggerUI includes a development server that provides hot module reloading and unminified stack traces, for easier development.
git clone https://github.com/swagger-api/swagger-ui.gitcd swagger-uinpm installnpx husky init (optional)npm run devYou 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
url: "https://petstore.swagger.io/v2/swagger.json",
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, dev-helper-initializer.js, or introducing a new support file.
How can I help you explore Laravel packages today?