I have a simple Spring Boot Starter Web application. I want to serve several static html files.
I know that I could serve static files with Spring Boot just simply putting then to /static subdirectory of my src/main/resources.
When I create file (for example) /static/docs/index.html, then I could access it via http://localhost:8080/docs/index.html.
What I want to achieve is to access this file simply with http://localgost:8080/docs where index.html is implicitly added by Spring.
Summary:
I need to serve static files in /static/{path}/index.html in resources via localhost:8080/{path} path.
I know that I could manually create mappings in controllers, but when there is many files to serve it becomes annoying.