Skip to content
Advertisement

.antMatchers(“/swagger-ui/**”).permitAll() error 405

I am impemeting swagger 3 in my APIREST but wne I try to access to this link http://localhost:8080/swagger-ui/, a 405 error shows up.

This is the code in my ConfigClass:

JavaScript

And this is the dependency in the POM.XML:

JavaScript

Can someboyde help me, please?

Advertisement

Answer

You might be doing a PUT call for GET operation Please check once.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement