I have the following swagger config. now what would be my swagger path to open the swagger-ui in browser.
.select()
.apis(RequestHandlerSelectors.any())
.paths(PathSelectors.regex(".*/v2/accounts/.*"))
.build()
.securitySchemes(Collections.singletonList(apiKey()))
.securityContexts(Collections.singletonList(securityContext()));
You can use below approach:
npm install -g http-server
http-server --cors
after changing directories to where your.json
is located