obtenerDatosEncuestaDecesos(final Pageable pageable);
not obtenerDatosEncuestaDecesos(, final Pageable pageable);
When using generator spring/spring-cloud and delegatePattern is active:
<generatorName>spring</generatorName>
<library>spring-cloud</library>
<configOptions>
<delegatePattern>true</delegatePattern>
</configOptions>
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 objectobtenerDatosEncuestaDecesos(, final Pageable pageable);
The problem seems to came from this point at apiDelegate.mustache where the "," is introduced always
openapi-generator versionAll 6.x versions up to 6.5.0 included
OpenAPI declaration file content or url Generation Details <generatorName>spring</generatorName>
<library>spring-cloud</library>
<configOptions>
<delegatePattern>true</delegatePattern>
</configOptions>
Steps to reproduce Related issues/PRs
N/A
Suggest a fixcheck if no params is defined, and remove "," in this cases.
Problem came from this line in apiDelegate.mustache where the "," is introduced always
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4