Description
When generating a client library, the getters/setters for a field pId are getPId() and setPId().
As per naming conventions, this is wrong :
This should be getpId() and setpId()
openapi-generator version
4.0.0-SNAPSHOT
OpenAPI declaration file content or url
...
"xField" : {
"type" : "string"
},
...
Command line used for generation
Steps to reproduce
Here also the automated getter and setter generated by IntelliJ for this property :
public class TestClass {
String pId;
public String getpId() {
return pId;
}
public void setpId(String pId) {
this.pId = pId;
}
}
Related issues/PRs
swagger-api/swagger-codegen#8282
Suggest a fix
I will send a PR
Description
When generating a client library, the getters/setters for a field
pIdaregetPId()andsetPId().As per naming conventions, this is wrong :
This should be
getpId()andsetpId()openapi-generator version
4.0.0-SNAPSHOT
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Here also the automated getter and setter generated by IntelliJ for this property :
Related issues/PRs
swagger-api/swagger-codegen#8282
Suggest a fix
I will send a PR