I'm trying to customize Swagger + Swagger-ui + Jersey. I have a Tomcat web service .
Swagger + Swagger-ui + Jersey
I was able to integrate swagger with Jersey.
To integrate swagger-uibased swagger-ui documentation, I need to put the files under /dist/in my webapp directory and modify the file index.htmlto point to mine swagger.json. However, I want to use swagger-ui webjarfound here
swagger-ui
swagger-ui documentation
/dist/
index.html
swagger.json
swagger-ui webjar
https://mvnrepository.com/artifact/org.webjars/swagger-ui/2.2.6
I was not able to figure out how to do this.
I tried to use the same dependency on my project and did not find a solution to change it. I have done this:
1) "doc" "webapp"
2) Swagger-ui zip file
3) dist "webapp/doc"
4) index.html, "webapp/doc"
.
Source: https://habr.com/ru/post/1689839/More articles:The if if statement gives me the wrong output - javascriptIn reflex-dom, how to pass a value from a dynamic function to external javascript (FFI) - haskellHow to use Swagger with Jersey in Spring? - jerseyShould variables in Bayesian networks be Boolean? - artificial-intelligenceC, K & R Упражнение 1-6, застряло, смущено - cR programming - pmax with data frame - rWhat is a buffered, buffered, and unbuffered average in C? - cIncrease efficiency to remove duplicate values in a row and shift values in R - rHow to render NotFound Component response-router-config - reactjsReact.CloneElement returns an object instead of a function - cloneAll Articles