swagger-api/swagger-ui
Swagger UI renders interactive API documentation from your OpenAPI/Swagger spec. Let developers and consumers explore endpoints, try requests, and see schemas without backend implementation. Available as npm modules (swagger-ui, swagger-ui-dist) and Docker image.
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?