This directory contains swagger-ui assets that serve as a hosted API Explorer for LoopBack 4 applications. The UI will be available at https://loopback.io/api-explorer?url=*your-openapi-or-swagger-spec-url*.
To upgrade swagger-ui to a newer version:
-
Update the
swagger-ui-distversion in package.json. You can usenpm update swagger-ui-dist. -
Run
npm installwhich in turn executes./update-swagger-ui.shto copy files intoapi-explorer. -
Create a pull request to merge changes in
./api-explorerdirectory to `gh-pages1 branch.
