I hit this issue as well. ( TMF638 v5 )
I solved this by making teh following change in the generated code :
public String getAtType() {
return atType.getValue() ;
}
However, I got stuck at a seemingly unrelated place :
private AtTypeEnum atType = GeographicLocation;
[ERROR] /home/sony/swaggertest/tt/src/main/java/org/openapitools/model/GeographicLocationFVO.java:[83,31] cannot find symbol
[ERROR] symbol: variable GeographicLocation
[ERROR] location: class org.openapitools.model.GeographicLocationFVO
Im still working on it
Note that, both the code generators I used to compile the yaml created spring boot 2.x ( swaggerhub.com and openapitools/openapi-generator-cli:latest ) and not spring 3.x
------------------------------
Sony Antony
TO BE VERIFIED
------------------------------