You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In class PrestacionesApiDelegate interface methods should be : obtenerDatosEncuestaDecesos(final Pageable pageable); not obtenerDatosEncuestaDecesos(, final Pageable pageable);
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
When using generator spring/spring-cloud and delegatePattern is active:
And try to compile an oas2/oas3 spec with x-spring-paginated: true and no params, generator fails due to the template is introducing a "," prior to Pageable object obtenerDatosEncuestaDecesos(, final Pageable pageable);
The problem seems to came from this point at apiDelegate.mustache where the "," is introduced always
Bug Report Checklist
obtenerDatosEncuestaDecesos(final Pageable pageable);
notobtenerDatosEncuestaDecesos(, final Pageable pageable);
Description
When using generator spring/spring-cloud and delegatePattern is active:
And try to compile an oas2/oas3 spec with x-spring-paginated: true and no params, generator fails due to the template is introducing a "," prior to Pageable object
obtenerDatosEncuestaDecesos(, final Pageable pageable);
The problem seems to came from this point at apiDelegate.mustache where the "," is introduced always
openapi-generator version
All 6.x versions up to 6.5.0 included
OpenAPI declaration file content or url
swagger.txt
Generation Details
Steps to reproduce
Related issues/PRs
N/A
Suggest a fix
check if no params is defined, and remove "," in this cases.
Problem came from this line in apiDelegate.mustache where the "," is introduced always
The text was updated successfully, but these errors were encountered: