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
@balzmo@wing328
I created a pull request to catch the null (nullApi) and write "DefaultApi" instead. The pull request uses the above yaml as a test:
Its my first pull request on github - please forgive me if I am doing it wrong.
Cheers
Ben
Description
When using generatorName="jaxrs-spec" and the first path fragement in a declaration is a query parameter, the API class is given the name "nullApi".
It happens also in cases where tags are present.
This does not occur e.g. with generatorName="jaxrs-cxf". In this case the tag name or the query parameter name are taken to build the class name.
openapi-generator version
Version 3.3.1
OpenAPI declaration file content or url
Command line used for generation
Maven build:
Steps to reproduce
The effect is reproducible with the given Maven build and all OpenAPI declarations where the first path fragment is a query parameter.
The text was updated successfully, but these errors were encountered: