I want to add styles and colors to the example values, just like the one Swagger has as example here:
Asked
Active
Viewed 508 times
1
-
How its displaying right now on your app? – gtiwari333 Nov 10 '20 at 18:54
-
The colors are defined in the swagger-ui.css. Can you confirm if `http://localhost:8080/swagger-ui/swagger-ui.css` is loaded on your swagger-ui html page? – gtiwari333 Nov 10 '20 at 18:56
-
Also, see this example on how to use swagger-ui v3 https://stackoverflow.com/a/64778462/607637 – gtiwari333 Nov 11 '20 at 00:28
-
Thanks for replying, I have configured Swagger 3 successfully, I can see the UI and the CSS file there, I managed to setup custom example values and defined field data types but still no colors... – Hugo Lezama Nov 11 '20 at 14:30
-
can you share a reproducible example? – gtiwari333 Nov 11 '20 at 14:36