Run to simulate the error:
mvn spring-boot:run
then run:
curl GET -v -g 'http://localhost:8080/cidade/?q[]=5b9cfd0170607a2e968b0a2d'
Will return an 400 error
Run to fix the error:
change in pom.xml to version 2.0.1.RELEASE
mvn spring-boot:run
curl GET -v -g 'http://localhost:8080/cidade/?q[]=5b9cfd0170607a2e968b0a2d'