Looks like passing formData with "application/x-www-form-urlencoded" never work. As per documentation https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/bind/annotation/RequestPart.html ```@RequestParam``` should be used instead of @RequestPart if not file. https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/JavaSpring/formParams.mustache