Swagger doesn't change standards values as ApiInfo/GlobalResponse
Posted this on StackOverflow, then after that, i saw this community, sorry for that! So I’m reposting here 🙂
First of all, in advance, thanks for all the replies.
Now let's move on to the problem. Today, i installed all the 3.0.0 Swagger dependencies for a Spring Boot project (boot-starter, swagger2 and swagger-ui). Everything is working as it should, but i can't change the apiInfo informantion in the Docket builder.
Re: Swagger doesn't change standards values as ApiInfo/GlobalResponse
Just found the answer for my problem. Actually, at the beginning, I forgot to mention that my project was a multimodule spring project. I didn't thought this would change anything on the problem, but I was wrong. The problem was that my SpringApplication wasn't scanning the class SwaggerConfiguration.
If you're having any problem like that, you should insert this annotations into your SpringBootApplication: