Bug Report Checklist
Description
Via openapi-generator-cli author template it is not possible to extract jaxrs-spec templates.
openapi-generator version
5.1.1
OpenAPI declaration file content or url
None
Generation Details
openapi-generator-cli author template --verbose -g jaxrs-spec --library quarkus
[main] INFO o.o.codegen.cmd.AuthorTemplate - Requesting 'jaxrs-spec' from embedded resource directory 'JavaJaxRS\spec'
Exception in thread "main" java.lang.NullPointerException
at java.base/java.util.Objects.requireNonNull(Objects.java:221)
at org.openapitools.codegen.cmd.AuthorTemplate.execute(AuthorTemplate.java:54)
at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
Steps to reproduce
openapi-generator-cli author template -g jaxrs-spec --library quarkus
Related issues/PRs
Non found
Suggest a fix
I assume, it is intended that extracting also works for the jaxrs-spec generator.
Bug Report Checklist
Description
Via
openapi-generator-cli author templateit is not possible to extract jaxrs-spec templates.openapi-generator version
5.1.1
OpenAPI declaration file content or url
None
Generation Details
Steps to reproduce
Related issues/PRs
Non found
Suggest a fix
I assume, it is intended that extracting also works for the jaxrs-spec generator.